https://github.com/activeinferenceinstitute/biofirm
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: ActiveInferenceInstitute
- License: mit
- Language: Python
- Default Branch: main
- Size: 378 MB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Biofirm
A framework for ecological system control using Active Inference agents.
Overview
Biofirm consists of two main components:
Ecosystem Control System
- Active Inference-based multi-agent control framework
- Homeostatic regulation of ecological parameters
- Comparative analysis between random and controlled dynamics
BioPerplexity Analysis
- California county-level bioregion research using Perplexity.ai API
- Business case generation and pitch development
- Cross-document visualization and analysis
System Architecture
Active Inference Framework
- Multi-agent POMDP (Partially Observable Markov Decision Process) implementation
- Each agent controls one ecological modality through free energy minimization
- Collective homeostatic regulation through distributed control
Key Components:
- Ecosystem_Simulation.py: Main simulator comparing random vs. active inference control
- Biofirm_Agent.py: PyMDP-based active inference agent implementation
- POMDP_ABCD.py: Generative model matrix generation (A,B,C,D matrices)
- utils/: Ecological configuration files and parameters
Analysis Tools
Free_Energy_Minimization.py: Analysis of control performanceNoise_Control_ActiveInference_Sweep.py: Parameter sweep across noise and control levels
BioPerplexity Pipeline
1_Research_Bioregions.py: County-level data collection2_Biofirm_Business_Pitch.py: Business case generation3_Biofirm_Visualization.py: Data visualization
Getting Started
Environment Setup:
bash python Startup.py # Creates PyMDP virtual environment source venv/bin/activateConfiguration:
Adjust ecological parameters in
utils/ecosystem_config.jsonConfigure agent parameters in generative model files
Run Simulations:
bash python Scripts/Ecosystem_Simulation.py
Technical Details
See Biofirm_Generative_Model.md for comprehensive documentation of:
- POMDP framework implementation
- Generative model architecture
- Free energy minimization approach
- Control system dynamics
Project Structure
Bio_Perplexity/ # Business analysis tools
Scripts/ # Core simulation code
utils/ # Configuration files
Outputs/ # Simulation results
Stream/ # Documentation
Owner
- Name: Active Inference Institute
- Login: ActiveInferenceInstitute
- Kind: user
- Location: Online
- Company: Active Inference Institute
- Website: http://activeinference.org/
- Twitter: InferenceActive
- Repositories: 3
- Profile: https://github.com/ActiveInferenceInstitute
http://activeinference.org/
GitHub Events
Total
- Watch event: 4
- Public event: 1
- Push event: 38
- Commit comment event: 1
Last Year
- Watch event: 4
- Public event: 1
- Push event: 38
- Commit comment event: 1