Implementing Active Inference principles for ecological, civic, and commercial applications
๐ Quick Start โข ๐ฆ Modules โข ๐ฏ Use Cases โข ๐ Docs โข ๐ฅ Contribute
GEO-INFER is a comprehensive geospatial inference framework that implements Active Inference principles for complex spatial-temporal problems. The framework provides 41 specialized modules organized into clear categories with well-defined dependencies and data flow patterns.
- ๐บ๏ธ Advanced Spatial Analysis: H3 v4 spatial indexing and geospatial processing
- ๐ง Active Inference: Mathematical foundations for perception-action loops
- ๐ Data Processing Pipelines: Validation, quality control, and ETL workflows
- ๐งฉ Modular Architecture: 41 specialized modules with clear dependencies
- ๐งช Comprehensive Testing: Unified test suite across all modules
- ๐ Professional Documentation: Standardized documentation with integration guides
# 1. Clone and enter the repository
git clone https://github.com/geo-infer/geo-infer.git
cd GEO-INFER
# 2. Install core modules (choose what you need)
uv pip install -e ./GEO-INFER-MATH # Mathematical foundations
uv pip install -e ./GEO-INFER-SPACE # Spatial analysis (H3 v4)
uv pip install -e ./GEO-INFER-ACT # Active inference
# 3. Run your first analysis
python -c "
from geo_infer_space import SpatialAnalyzer
from geo_infer_act import ActiveInferenceModel
# Create your first spatial analysis
analyzer = SpatialAnalyzer()
model = ActiveInferenceModel()
print('๐ GEO-INFER is ready!')
print('๐ Check GEO-INFER-INTRA/docs/ for comprehensive documentation')
"- Python: 3.9+ (3.11+ recommended)
- Package Manager: uv (fast, reliable Python package installer)
- Git: For cloning and version control
- Optional: Docker for containerized deployment
| I want to... | Start with these modules | Example command |
|---|---|---|
| Analyze spatial data | MATH, SPACE |
uv pip install -e ./GEO-INFER-MATH ./GEO-INFER-SPACE |
| Build AI models | MATH, AI, DATA |
uv pip install -e ./GEO-INFER-MATH ./GEO-INFER-AI ./GEO-INFER-DATA |
| Process sensor data | IOT, DATA, TIME |
uv pip install -e ./GEO-INFER-IOT ./GEO-INFER-DATA ./GEO-INFER-TIME |
| Design governance systems | METAGOV, ORG, NORMS |
uv pip install -e ./GEO-INFER-METAGOV ./GEO-INFER-ORG ./GEO-INFER-NORMS |
| Create web applications | API, APP, SPACE |
uv pip install -e ./GEO-INFER-API ./GEO-INFER-APP ./GEO-INFER-SPACE |
GEO-INFER provides 41 specialized modules organized into clear categories. Each module follows standardized documentation with working examples and integration guides.
| Module | Purpose | Status |
|---|---|---|
| MATH | Mathematical foundations, statistics, optimization | โ Beta |
| ACT | Active Inference modeling and belief updates | โ Beta |
| BAYES | Bayesian inference and uncertainty quantification | โ Beta |
| AI | Machine learning and neural networks | ๐ก Alpha |
| COG | Cognitive modeling and spatial cognition | ๐ก Alpha |
| AGENT | Intelligent agents and autonomous systems | โ Beta |
| SPM | Statistical mapping and spatial statistics | ๐ก Alpha |
| Module | Purpose | Status |
|---|---|---|
| SPACE | H3 v4 spatial indexing and geospatial analysis | โ FULLY MIGRATED |
| TIME | Temporal methods and time series analysis | ๐ก Alpha |
| IOT | IoT sensor networks and real-time data | โ Beta |
| Module | Purpose | Status |
|---|---|---|
| DATA | ETL processes and data pipeline management | ๐ก Alpha |
| API | REST/GraphQL services and external integration | โ Beta |
| SEC | Security frameworks and access control | ๐ก Alpha |
| OPS | System orchestration and monitoring | ๐ก Alpha |
| METAGOV | Meta-governance and organizational governance methods | ๐ Planning |
| Category | Key Modules | Status |
|---|---|---|
| Agriculture | AG (precision farming, crop monitoring) | โ Beta |
| Health | HEALTH (epidemiology, healthcare access) | โ Beta |
| Economics | ECON (market analysis, policy modeling) | ๐ก Alpha |
| Risk | RISK (insurance, hazard assessment) | ๐ก Alpha |
| Logistics | LOG (supply chains, route optimization) | โ Beta |
| Biology | BIO (spatial omics, ecological modeling) | โ Beta |
| Module | Purpose | Priority | Dependencies |
|---|---|---|---|
| CLIMATE | Climate modeling, weather analysis, climate change impact | โญโญโญโญโญ | SPACE, TIME, BAYES, ACT |
| ENERGY | Energy systems, renewable optimization, grid management | โญโญโญโญโญ | SPACE, TIME, ECON, RISK |
| WATER | Water resources, hydrology, water quality monitoring | โญโญโญโญ | SPACE, TIME, DATA, RISK |
| TRANSPORT | Transportation systems, urban mobility, traffic optimization | โญโญโญโญ | SPACE, TIME, LOG, AGENT |
| EDU | Educational systems, school accessibility, resource allocation | โญโญโญ | SPACE, TIME, CIV, HEALTH |
| EMERGENCY | Emergency management, disaster response, evacuation planning | โญโญโญ | SPACE, TIME, RISK, AGENT, IOT |
Note: See New Module Proposals for detailed analysis and development guidelines. See Additional Module Proposals for additional module opportunities including MARINE, FOREST, WASTE, TELECOM, SOIL, AIR, WILDLIFE, and others.
| Module | Purpose | Status |
|---|---|---|
| CIV | Civic engagement and participatory mapping | ๐ก Alpha |
| APP | User interfaces and dashboards | โ Beta |
| ART | Artistic expression and visualization | โ Beta |
| PLACE | Place-based analysis and regional insights | โ FULLY MIGRATED |
| Resource | Description | Location |
|---|---|---|
| Quick Start Tutorial | 15-minute introduction to GEO-INFER | GEO-INFER-EXAMPLES/examples/basic_tutorial.md |
| Module Integration Guide | Cross-module integration patterns | GEO-INFER-INTRA/docs/guides/MODULE_INTEGRATION_GUIDE.md |
| Environmental Monitoring | Specialized environmental workflows | GEO-INFER-INTRA/docs/guides/ENVIRONMENTAL_MONITORING_INTEGRATION.md |
| API Documentation | Complete API reference | GEO-INFER-INTRA/docs/api/ |
| Resource | Description | Status |
|---|---|---|
| Documentation Standards | Comprehensive contribution guidelines | โ COMPLETE |
| Module Templates | Standardized YAML front matter templates | โ AVAILABLE |
| Integration Guides | Cross-module workflow tutorials | โ ESTABLISHED |
| Code Examples | Working, tested code samples | โ VERIFIED |
| Resource | Description | Command |
|---|---|---|
| Unified Test Suite | Run all tests across modules | uv run python GEO-INFER-TEST/run_unified_tests.py |
| Module-Specific Tests | Test individual modules | uv run python GEO-INFER-TEST/run_unified_tests.py --module MATH |
| Integration Tests | Cross-module integration testing | uv run python GEO-INFER-TEST/run_unified_tests.py --category integration |
| Performance Benchmarks | Performance validation | uv run python GEO-INFER-TEST/run_unified_tests.py --category performance |
- ๐ Module Index: Complete module overview with status and dependencies
- ๐จ Integration Examples: Real-world integration patterns and use cases
- ๐ API Documentation: Comprehensive API references and schemas
- ๐ง Development Standards: Coding guidelines and best practices
- ๐งช Quality Assurance: Testing frameworks and validation procedures
| Category | Modules |
|---|---|
| ๐ง Analytical Core | ACT, BAYES, AI, MATH, COG, AGENT, SPM |
| ๐บ๏ธ Spatial-Temporal | SPACE, TIME, IOT |
| ๐พ Data Management | DATA, API |
| ๐ Security & Governance | SEC, NORMS, REQ |
| ๐งช Simulation & Modeling | SIM, ANT |
| ๐ฅ People & Community | CIV, PEP, ORG, COMMS |
| ๐ฅ๏ธ Applications | APP, ART |
| ๐ข Domain-Specific | AG, ECON, RISK, LOG, BIO, HEALTH |
| ๐ Place-Based | PLACE |
| โ๏ธ Operations | OPS, INTRA, GIT, TEST, EXAMPLES |
graph TB
classDef coreNode fill:#ff9e80,stroke:#d50000,stroke-width:3px
classDef spatialNode fill:#80d8ff,stroke:#0091ea,stroke-width:2px
classDef dataNode fill:#b9f6ca,stroke:#00c853,stroke-width:2px
classDef domainNode fill:#e1bee7,stroke:#8e24aa,stroke-width:2px
classDef opsNode fill:#fff59d,stroke:#f57f17,stroke-width:2px
classDef appNode fill:#f8bbd9,stroke:#c2185b,stroke-width:2px
%% Core Analytical Layer
MATH["GEO-INFER-MATH<br/>Mathematical Foundations"]:::coreNode
BAYES["GEO-INFER-BAYES<br/>Bayesian Inference"]:::coreNode
ACT["GEO-INFER-ACT<br/>Active Inference"]:::coreNode
AI["GEO-INFER-AI<br/>Artificial Intelligence"]:::coreNode
COG["GEO-INFER-COG<br/>Cognitive Modeling"]:::coreNode
AGENT["GEO-INFER-AGENT<br/>Intelligent Agents"]:::coreNode
SPM["GEO-INFER-SPM<br/>Statistical Mapping"]:::coreNode
%% Spatial-Temporal Layer
SPACE["GEO-INFER-SPACE<br/>Spatial Methods H3 v4"]:::spatialNode
TIME["GEO-INFER-TIME<br/>Temporal Methods"]:::spatialNode
IOT["GEO-INFER-IOT<br/>IoT Integration"]:::spatialNode
%% Data Management Layer
DATA["GEO-INFER-DATA<br/>Data Management"]:::dataNode
API["GEO-INFER-API<br/>API Services"]:::dataNode
%% Operations Layer
OPS["GEO-INFER-OPS<br/>Orchestration"]:::opsNode
SEC["GEO-INFER-SEC<br/>Security"]:::opsNode
INTRA["GEO-INFER-INTRA<br/>Documentation"]:::opsNode
GIT["GEO-INFER-GIT<br/>Version Control"]:::opsNode
TEST["GEO-INFER-TEST<br/>Quality Assurance"]:::opsNode
%% Domain-Specific Layer
AG["GEO-INFER-AG<br/>Agriculture"]:::domainNode
HEALTH["GEO-INFER-HEALTH<br/>Health Applications"]:::domainNode
ECON["GEO-INFER-ECON<br/>Economics"]:::domainNode
RISK["GEO-INFER-RISK<br/>Risk Management"]:::domainNode
LOG["GEO-INFER-LOG<br/>Logistics"]:::domainNode
BIO["GEO-INFER-BIO<br/>Bioinformatics"]:::domainNode
%% Application Layer
APP["GEO-INFER-APP<br/>User Interfaces"]:::appNode
ART["GEO-INFER-ART<br/>Artistic Expression"]:::appNode
PLACE["GEO-INFER-PLACE<br/>Place-Based Analysis"]:::appNode
%% Simulation Layer
SIM["GEO-INFER-SIM<br/>Simulation"]:::domainNode
ANT["GEO-INFER-ANT<br/>Complex Systems"]:::domainNode
%% People & Community Layer
CIV["GEO-INFER-CIV<br/>Civic Engagement"]:::domainNode
PEP["GEO-INFER-PEP<br/>People Management"]:::domainNode
ORG["GEO-INFER-ORG<br/>Organizations"]:::domainNode
COMMS["GEO-INFER-COMMS<br/>Communications"]:::domainNode
%% Governance Layer
NORMS["GEO-INFER-NORMS<br/>Compliance"]:::opsNode
REQ["GEO-INFER-REQ<br/>Requirements"]:::opsNode
METAGOV["GEO-INFER-METAGOV<br/>Meta-Governance"]:::opsNode
%% Examples Layer
EXAMPLES["GEO-INFER-EXAMPLES<br/>Cross-Module Demos"]:::opsNode
%% Core Dependencies
MATH --> BAYES
MATH --> ACT
MATH --> AI
MATH --> SPM
BAYES --> ACT
AI --> AGENT
ACT --> AGENT
COG --> AGENT
%% Spatial Dependencies
SPACE --> AG
SPACE --> HEALTH
SPACE --> ECON
SPACE --> RISK
SPACE --> LOG
SPACE --> BIO
SPACE --> PLACE
TIME --> AG
TIME --> HEALTH
TIME --> ECON
TIME --> SIM
IOT --> SPACE
IOT --> TIME
%% Data Dependencies
DATA --> SPACE
DATA --> TIME
DATA --> AI
DATA --> AG
DATA --> HEALTH
DATA --> ECON
API --> APP
API --> ART
%% Operations Dependencies
OPS --> DATA
OPS --> SEC
SEC --> DATA
SEC --> API
INTRA --> COMMS
GIT --> OPS
TEST --> OPS
%% Domain Dependencies
AG --> APP
HEALTH --> APP
ECON --> APP
RISK --> APP
LOG --> ECON
BIO --> HEALTH
%% Simulation Dependencies
SIM --> SPACE
SIM --> TIME
SIM --> AI
ANT --> ACT
ANT --> SIM
%% People Dependencies
CIV --> APP
PEP --> ORG
ORG --> COMMS
COMMS --> INTRA
%% Governance Dependencies
NORMS --> SEC
REQ --> NORMS
REQ --> SEC
%% Examples Dependencies
EXAMPLES --> APP
EXAMPLES --> SPACE
EXAMPLES --> TIME
| Module | Core Dependencies | Optional Dependencies | Provides Services To | Data Flow Direction | Status | H3 v4 Status |
|---|---|---|---|---|---|---|
| OPS | - | SEC | ALL modules | โ All | Beta | โ Updated |
| DATA | OPS, SEC | - | ALL modules | โ All | Alpha | โ Updated |
| SPACE | DATA, MATH | TIME, AI, IOT | AG, HEALTH, SIM, APP, ART, PLACE, LOG, RISK, BIO, ECON | โ Domain/App | Beta | โ FULLY MIGRATED |
| TIME | DATA, MATH | SPACE, AI, IOT | AG, HEALTH, ECON, SIM, LOG, RISK, BIO | โ Domain/Analytics | Alpha | โณ Not Applicable |
| IOT | SPACE, DATA | BAYES, TIME, AI | All sensor-based modules | โ Sensor/Real-time | Beta | โ Updated |
| AI | DATA, SPACE | TIME, AGENT | All analytical modules | โ Analytics/Prediction | Gamma | โณ Planned |
| ACT | MATH, BAYES | AI, AGENT, SIM | AGENT, SIM, decision systems | โ Inference/Decision | Beta | โ Updated |
| BAYES | MATH | SPACE, TIME | ACT, AI, statistical modules | โ Statistical/Inference | Beta | โ Updated |
| MATH | - | - | ALL analytical modules | โ All analytics | Beta | โ Updated |
| API | All modules | - | External systems, APP | โ External | Beta | โ Updated |
| APP | API, SPACE | All modules | End users | โ All modules | Beta | โ Updated |
| AGENT | ACT, AI | SPACE, TIME, SIM | SIM, autonomous systems | โ Agent systems | Beta | โ Updated |
| SIM | SPACE, TIME | AI, AGENT, ACT | Domain modules, decision support | โ Simulation systems | Alpha | โณ Planned |
| AG | SPACE, TIME, DATA | AI, ECON, SIM | APP, ECON, food systems | โ Agricultural systems | Beta | โ Updated |
| HEALTH | SPACE, TIME, DATA | AI, RISK, BIO, SPM | APP, policy makers | โ Health systems | Beta | โ Updated |
| ECON | SPACE, TIME, DATA | AI, AG, SIM | Policy makers, RISK | โ Economic systems | Beta | โ Updated |
| ANT | ACT, SIM | AI, AGENT | SIM, complex systems | โ Complex systems | Alpha | โณ Planned |
| ART | SPACE, APP | AI, TIME | APP, visualization | โ Artistic/Creative | Beta | โ Updated |
| BIO | SPACE, TIME, DATA | AI, HEALTH | HEALTH, research | โ Biological systems | Beta | โ Updated |
| COG | SPACE, AI | ACT, AGENT | AGENT, human factors | โ Cognitive modeling | Beta | โ Updated |
| COMMS | INTRA, APP | ALL modules | External stakeholders | โ All modules | Beta | โ Updated |
| GIT | OPS | - | All development | โ Version control | Beta | โ Updated |
| INTRA | - | ALL modules | Documentation, standards | โ All modules | Beta | โ Updated |
| LOG | SPACE, TIME, DATA | AI, SIM | ECON, operations | โ Logistics systems | Beta | โ Updated |
| NORMS | SPACE, DATA | REQ, SEC | All compliance | โ Regulatory/Ethics | Beta | โ Updated |
| ORG | PEP, COMMS | CIV, NORMS | Governance systems | โ Organizational | Beta | โ Updated |
| PEP | ORG, COMMS | CIV | HR, community | โ People management | Beta | โ Updated |
| REQ | NORMS, SEC | ALL modules | System specifications | โ Requirements | Beta | โ Updated |
| RISK | SPACE, TIME, DATA | AI, HEALTH, ECON | Decision support | โ Risk assessment | Beta | โ Updated |
| SEC | - | ALL modules | Security services | โ All modules | Alpha | โ Updated |
| SPM | MATH, SPACE | TIME, BAYES | Statistical analysis | โ Statistical mapping | Alpha | โ Updated |
| TEST | ALL modules | - | Quality assurance | โ All modules | Alpha | โ Updated |
| EXAMPLES | All modules | - | New users, developers | โ All modules (demo only) | Beta | โ Updated |
| PLACE | SPACE, TIME, DATA, ALL | - | Regional analyses, place-based insights | โ Place-based systems | Beta | โ FULLY MIGRATED |
| CIV | SPACE, APP | COMMS, ORG | Community engagement | โ Civic systems | Alpha | โ Updated |
| METAGOV | ORG, SEC, NORMS | COMMS, REQ | Meta-governance & organizational governance | โ Governance/Meta-organization | Planning | โณ Planned |
| CLIMATE ๐ฎ | SPACE, TIME, BAYES, ACT | AG, HEALTH, RISK | Climate modeling, weather analysis, climate change | โ Climate/Environmental | Planning | โณ Planned |
| ENERGY ๐ฎ | SPACE, TIME, ECON, RISK | IOT, AGENT | Energy systems, renewable optimization, grid | โ Energy/Sustainability | Planning | โณ Planned |
| WATER ๐ฎ | SPACE, TIME, DATA, RISK | AG, HEALTH | Water resources, hydrology, water quality | โ Water/Resource | Planning | โณ Planned |
| TRANSPORT ๐ฎ | SPACE, TIME, LOG, AGENT | CIV, IOT | Transportation systems, urban mobility | โ Transport/Mobility | Planning | โณ Planned |
| EDU ๐ฎ | SPACE, TIME, CIV, HEALTH | ECON | Educational systems, school accessibility | โ Education/Social | Planning | โณ Planned |
| EMERGENCY ๐ฎ | SPACE, TIME, RISK, AGENT, IOT | ANT | Emergency management, disaster response | โ Emergency/Safety | Planning | โณ Planned |
- โ : Provides data/services to
- โ : Consumes data/services from
- โ : Bidirectional data exchange
- Status: Alpha (Early Development), Beta (Production Ready), Gamma (Planned)
flowchart TD
classDef dataSource fill:#e3f2fd,stroke:#1976d2,stroke-width:2px
classDef processing fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
classDef analysis fill:#e8f5e8,stroke:#388e3c,stroke-width:2px
classDef application fill:#fff3e0,stroke:#f57c00,stroke-width:2px
classDef output fill:#fce4ec,stroke:#c2185b,stroke-width:2px
%% Data Sources
RS["Remote Sensing Data"]:::dataSource
IOT["IoT Sensor Streams"]:::dataSource
CSV["Tabular Datasets"]:::dataSource
OSM["OpenStreetMap Data"]:::dataSource
CGD["Crowdsourced Geodata"]:::dataSource
API["External APIs"]:::dataSource
SENSOR["Environmental Sensors"]:::dataSource
%% Data Processing Layer
DATA["GEO-INFER-DATA<br/>Data Management & ETL"]:::processing
SPACE["GEO-INFER-SPACE<br/>Spatial Processing H3 v4"]:::processing
TIME["GEO-INFER-TIME<br/>Temporal Processing"]:::processing
SEC["GEO-INFER-SEC<br/>Security & Privacy"]:::processing
%% Analytical Layer
MATH["GEO-INFER-MATH<br/>Mathematical Foundations"]:::analysis
BAYES["GEO-INFER-BAYES<br/>Bayesian Inference"]:::analysis
ACT["GEO-INFER-ACT<br/>Active Inference"]:::analysis
AI["GEO-INFER-AI<br/>Machine Learning"]:::analysis
SPM["GEO-INFER-SPM<br/>Statistical Mapping"]:::analysis
%% Domain-Specific Analysis
AG["GEO-INFER-AG<br/>Agricultural Analysis"]:::analysis
HEALTH["GEO-INFER-HEALTH<br/>Health Applications"]:::analysis
ECON["GEO-INFER-ECON<br/>Economic Modeling"]:::analysis
RISK["GEO-INFER-RISK<br/>Risk Assessment"]:::analysis
LOG["GEO-INFER-LOG<br/>Logistics Optimization"]:::analysis
BIO["GEO-INFER-BIO<br/>Bioinformatics"]:::analysis
%% Simulation & Modeling
SIM["GEO-INFER-SIM<br/>Simulation Engine"]:::analysis
ANT["GEO-INFER-ANT<br/>Complex Systems"]:::analysis
AGENT["GEO-INFER-AGENT<br/>Intelligent Agents"]:::analysis
%% Application Layer
APP["GEO-INFER-APP<br/>User Interfaces"]:::application
ART["GEO-INFER-ART<br/>Artistic Expression"]:::application
PLACE["GEO-INFER-PLACE<br/>Place-Based Analysis"]:::application
%% Output Layer
API_OUT["API Services"]:::output
DASH["Dashboards & Reports"]:::output
MAPS["Interactive Maps"]:::output
MODELS["Trained Models"]:::output
INSIGHTS["Analytical Insights"]:::output
%% Data Flow Connections
RS --> DATA
IOT --> DATA
CSV --> DATA
OSM --> DATA
CGD --> DATA
API --> DATA
SENSOR --> DATA
DATA --> SPACE
DATA --> TIME
DATA --> SEC
SPACE --> MATH
SPACE --> BAYES
SPACE --> ACT
SPACE --> AI
SPACE --> SPM
TIME --> MATH
TIME --> BAYES
TIME --> ACT
TIME --> AI
MATH --> BAYES
MATH --> ACT
MATH --> AI
MATH --> SPM
BAYES --> ACT
BAYES --> AI
BAYES --> SPM
ACT --> AI
ACT --> AGENT
AI --> AG
AI --> HEALTH
AI --> ECON
AI --> RISK
AI --> LOG
AI --> BIO
SPACE --> AG
SPACE --> HEALTH
SPACE --> ECON
SPACE --> RISK
SPACE --> LOG
SPACE --> BIO
SPACE --> PLACE
TIME --> AG
TIME --> HEALTH
TIME --> ECON
TIME --> RISK
TIME --> LOG
TIME --> BIO
TIME --> SIM
AG --> APP
HEALTH --> APP
ECON --> APP
RISK --> APP
LOG --> APP
BIO --> APP
PLACE --> APP
SIM --> APP
ANT --> APP
AGENT --> APP
APP --> API_OUT
APP --> DASH
APP --> MAPS
APP --> MODELS
APP --> INSIGHTS
ART --> MAPS
ART --> INSIGHTS
| Module Name | Purpose | Input Types | Output Types | Dependencies | Status | H3 v4 Status |
|---|---|---|---|---|---|---|
| GEO-INFER-ACT | Active Inference modeling for nested and interacting systems | Observations, beliefs, policies, generative models | Belief updates, action selections, free energy estimates | MATH, BAYES | Alpha | โ Updated |
| GEO-INFER-AG | Agricultural methods and farming applications | Satellite imagery, soil data, weather data, field boundaries | Yield predictions, crop health maps, precision agriculture recommendations | SPACE, TIME, DATA | Alpha | โ Updated |
| GEO-INFER-AI | Artificial Intelligence and Machine Learning for geospatial workflows | Imagery, spatial features, training labels, time-series data | Trained models, predictions, classifications, forecasts | DATA, SPACE | Alpha | โ Updated |
| GEO-INFER-AGENT | Intelligent agent frameworks for autonomous geospatial decision-making | Agent configurations, spatial environments, behavior rules | Autonomous decisions, agent interactions, simulation results | ACT, AI | Alpha | โ Updated |
| GEO-INFER-ANT | Complex systems modeling using Active Inference principles | Movement data, colony parameters, environmental conditions | Emergent behaviors, optimization solutions, swarm dynamics | ACT, SIM | Alpha | โ Updated |
| GEO-INFER-API | API development and integration services for interoperability | Module functions, data requests, external API calls | REST/GraphQL APIs, webhooks, standardized responses | All modules | Beta | โ Updated |
| GEO-INFER-APP | User interfaces, accessibility tools, and application development | Analysis results, data products, user interactions | Interactive maps, dashboards, reports, mobile apps | API, SPACE | Alpha | โ Updated |
| GEO-INFER-ART | Art production and aesthetics with geospatial dimensions | Geospatial data, artistic parameters, aesthetic rules | Artistic visualizations, generative maps, aesthetic frameworks | SPACE, APP | Alpha | โ Updated |
| GEO-INFER-BAYES | Generalized Bayesian inference processes | Observations, priors, model specifications | Posterior distributions, uncertainty estimates, model evidence | MATH | Alpha | โ Updated |
| GEO-INFER-BIO | Bioinformatics analysis with spatial context | Genomic data, biological sequences, sample locations | Spatial omics analysis, phylogeographic patterns, ecological modeling | SPACE, TIME, DATA | Alpha | โ Updated |
| GEO-INFER-CIV | Community engagement and participatory mapping tools | Community input, stakeholder data, participatory mapping | STEW-MAP visualizations, community-driven spatial planning | SPACE, APP | Alpha | โ Updated |
| GEO-INFER-COG | Cognitive phenomena and modeling for geospatial systems | User behavior, cognitive models, spatial perception data | Attention mechanisms, spatial memory models, trust modeling | SPACE, AI | Alpha | โ Updated |
| GEO-INFER-COMMS | Communications within and outside of the project | Project communications, documentation needs, outreach requirements | Communication strategies, documentation, public engagement | INTRA, APP | Alpha | โ Updated |
| GEO-INFER-DATA | Data management, ETL processes, and storage optimization | Raw geospatial data, external APIs, sensor feeds | Processed datasets, data pipelines, storage solutions | OPS, SEC | Alpha | โ Updated |
| GEO-INFER-ECON | Economic modeling with spatial dimensions | Economic indicators, market data, spatial boundaries | Economic models, policy analysis, market simulations | SPACE, TIME, DATA | Alpha | โ Updated |
| GEO-INFER-GIT | Git integration and version control workflows | Repository configurations, version control needs | Automated versioning, repository management, CI/CD integration | OPS | Beta | โ Updated |
| GEO-INFER-HEALTH | Geospatial applications for public health and epidemiology | Health data, epidemiological records, environmental factors | Disease surveillance, healthcare accessibility analysis, health risk assessment | SPACE, TIME, DATA | Alpha | โ Updated |
| GEO-INFER-INTRA | Project documentation, workflows, and ontology management | Project requirements, documentation needs, ontological structures | Comprehensive documentation, workflow templates, standardized ontologies | All modules | Beta | โ Updated |
| GEO-INFER-IOT | Internet of Things sensors and spatial web integration | IoT sensor streams, device metadata, spatial coordinates | Real-time sensor data fusion, Bayesian spatial interpolation, global sensor networks | SPACE, BAYES, DATA | Alpha | โ Updated |
| GEO-INFER-MATH | Mathematical foundations and computational methods | Mathematical problems, spatial calculations, statistical requirements | Mathematical solutions, spatial statistics, optimization results | - | Beta | โ Updated |
| GEO-INFER-NORMS | Social-technical compliance modeling | Regulatory requirements, compliance data, social norms | Compliance tracking, regulatory impact mapping, social norm modeling | SPACE, DATA | Alpha | โ Updated |
| GEO-INFER-OPS | Operational kernel for system orchestration and monitoring | System metrics, configuration files, infrastructure requirements | Monitoring dashboards, automated deployment, system health reports | SEC | Alpha | โ Updated |
| GEO-INFER-ORG | Organizations and Decentralized Autonomous Organizations | Organizational structures, governance requirements, DAO parameters | Governance frameworks, token engineering, proposal systems | PEP, COMMS | Alpha | โ Updated |
| GEO-INFER-PEP | People management, HR, and CRM functions | Personnel data, community relationships, skill requirements | Talent management, community engagement, conflict resolution | ORG, COMMS | Alpha | โ Updated |
| GEO-INFER-REQ | Requirements engineering using P3IF framework | Requirements specifications, stakeholder needs, system constraints | Validated requirements, compliance frameworks, system specifications | NORMS, SEC | Alpha | โ Updated |
| GEO-INFER-SEC | Security and privacy frameworks for geospatial information | Security requirements, privacy constraints, access control needs | Security protocols, data anonymization, compliance frameworks | - | Alpha | โ Updated |
| GEO-INFER-SIM | Simulation environments for hypothesis testing | Model parameters, scenario definitions, simulation requirements | Digital twins, agent-based models, scenario planning tools | SPACE, TIME | Alpha | โ Updated |
| GEO-INFER-SPM | Statistical Parametric Mapping for spatial-temporal analysis | Spatial-temporal data, statistical models, field observations | GLM analysis, random field theory, cluster-level inference | MATH, SPACE | Alpha | โ Updated |
| GEO-INFER-SPACE | Advanced spatial methods for comprehensive geospatial analysis | Vector/raster data, coordinates, geometries, spatial queries | Processed spatial data, analysis results, spatial indices | DATA, MATH | Beta | โ FULLY MIGRATED |
| GEO-INFER-TIME | Temporal methods for timeline expression and dynamic data fusion | Time-series data, sensor streams, historical records | Forecasts, trends, temporal patterns, events | DATA, MATH | Alpha | โ Updated |
| GEO-INFER-RISK | Risk modeling and insurance for geospatial applications | Risk factors, hazard data, vulnerability assessments | Risk models, insurance pricing, exposure management | SPACE, TIME, DATA | Alpha | โ Updated |
| GEO-INFER-LOG | Logistics and supply chain optimization | Transportation networks, supply chain data, logistics requirements | Route optimization, supply chain modeling, logistics planning | SPACE, TIME, DATA | Alpha | โ Updated |
| GEO-INFER-PLACE | Deep place-based analyses for specific geographic locations | Location-specific data, regional datasets, local context | Comprehensive regional analyses, place-based insights, territorial assessments | SPACE, TIME, DATA, ALL | Beta | โ FULLY MIGRATED |
| GEO-INFER-TEST | Comprehensive testing framework for quality assurance | Test requirements, quality metrics, integration needs | Automated test suites, quality reports, integration validation | All modules | Alpha | โ Updated |
| GEO-INFER-EXAMPLES | Cross-module integration demonstrations and tutorials | Integration requirements, tutorial needs, demonstration scenarios | Integration examples, best practices, entry-point tutorials | All modules | Beta | โ Updated |
graph TD
classDef mainNode fill:#ff9e80,stroke:#d50000,stroke-width:2px
classDef sourceNode fill:#80d8ff,stroke:#0091ea,stroke-width:1px
classDef applicationNode fill:#b9f6ca,stroke:#00c853,stroke-width:1px
classDef domainNode fill:#e1bee7,stroke:#8e24aa,stroke-width:1px
classDef integrationNode fill:#fff59d,stroke:#f57f17,stroke-width:1px
GEOINFER["GEO-INFER Framework"]:::mainNode
%% Data Sources
RS["Remote Sensing"]:::sourceNode
IOT["IoT Sensors"]:::sourceNode
CSV["Tabular Data"]:::sourceNode
OSM["OpenStreetMap"]:::sourceNode
CGD["Crowdsourced Geodata"]:::sourceNode
API["External APIs"]:::sourceNode
SENSOR["Environmental Sensors"]:::sourceNode
%% Applications
DT["Digital Twins"]:::applicationNode
CSD["Climate-Smart Decisions"]:::applicationNode
ES["Ecological Simulations"]:::applicationNode
CP["Civic Planning"]:::applicationNode
RM["Risk Management"]:::applicationNode
PA["Precision Agriculture"]:::applicationNode
UH["Urban Health"]:::applicationNode
%% Domains
URB["Urban Systems"]:::domainNode
ECO["Ecosystems"]:::domainNode
AGR["Agriculture"]:::domainNode
HLT["Health Systems"]:::domainNode
FIN["Financial Systems"]:::domainNode
LOG["Logistics Networks"]:::domainNode
GOV["Governance Systems"]:::domainNode
%% Integration Points
AI_INT["AI/ML Integration"]:::integrationNode
ACT_INT["Active Inference"]:::integrationNode
H3_INT["H3 v4 Spatial Indexing"]:::integrationNode
%% Connections
RS --> GEOINFER
IOT --> GEOINFER
CSV --> GEOINFER
OSM --> GEOINFER
CGD --> GEOINFER
API --> GEOINFER
SENSOR --> GEOINFER
GEOINFER --> AI_INT
GEOINFER --> ACT_INT
GEOINFER --> H3_INT
GEOINFER --> DT
GEOINFER --> CSD
GEOINFER --> ES
GEOINFER --> CP
GEOINFER --> RM
GEOINFER --> PA
GEOINFER --> UH
DT --> URB
CSD --> ECO
ES --> ECO
CP --> URB
RM --> HLT
PA --> AGR
UH --> HLT
AI_INT --> DT
AI_INT --> CSD
AI_INT --> ES
AI_INT --> PA
AI_INT --> UH
ACT_INT --> RM
ACT_INT --> CP
ACT_INT --> GOV
H3_INT --> LOG
H3_INT --> FIN
Implement sophisticated environmental monitoring and adaptive management using SPACE, TIME, and ACT modules integrated with domain-specific modules (AG, HEALTH, RISK, BIO).
Design and coordinate multi-level governance systems using METAGOV with stakeholder platforms, institutional design, and accountability mechanisms. Integrate with organizational (ORG), normative (NORMS), and security (SEC) frameworks.
Build smart city applications combining real-time spatial analysis (SPACE, IOT), cognitive modeling (COG), autonomous agents (AGENT), and community engagement (CIV, COMMS).
Optimize complex logistics networks using spatial optimization (SPACE), temporal analysis (TIME), and economic modeling (ECON).
# Run unified test suite
uv run python GEO-INFER-TEST/run_unified_tests.py
# Run specific test categories
uv run python GEO-INFER-TEST/run_unified_tests.py --category unit
uv run python GEO-INFER-TEST/run_unified_tests.py --category integration
uv run python GEO-INFER-TEST/run_unified_tests.py --category performance
# Run tests for specific module
uv run python GEO-INFER-TEST/run_unified_tests.py --module SPACE
# Run H3 v4 migration tests
uv run python GEO-INFER-TEST/run_unified_tests.py --h3-migration
# Run with pytest directly
uv run python -m pytest GEO-INFER-TEST/tests/ -v- Core API: SPACE Module API
- H3 Utilities: H3 v4 Functions
- Place Analysis: PLACE Module API
- Module Docs Index: INTRA Modules Overview
- Getting Started: Basic Tutorial
- H3 Migration: Migration Guide
- Advanced Usage: Advanced Examples
We welcome contributions from developers, researchers, and geospatial professionals! GEO-INFER follows comprehensive development standards to ensure code quality and documentation excellence.
# 1. Fork and clone
git clone https://github.com/your-username/geo-infer.git
cd GEO-INFER
# 2. Set up development environment
uv pip install -e ./GEO-INFER-MATH ./GEO-INFER-SPACE # Install core modules
# 3. Run tests to verify setup
uv run python GEO-INFER-TEST/run_unified_tests.py --category unit
# 4. Check documentation standards
uv run python -c "import yaml; print('YAML validation ready')"- ๐ Bug Fixes: Fix issues in existing modules
- โจ New Features: Add capabilities to existing modules
- ๐ Documentation: Improve docs, examples, or tutorials
- ๐งช Testing: Add tests or improve test coverage
- ๐ง Infrastructure: CI/CD, tooling, or build improvements
- Code Quality: Professional, functional, intelligent, modular code
- Documentation: Update docs simultaneously with code changes
- Testing: Write comprehensive tests for all functionality
- Integration: Ensure cross-module compatibility
- YAML Front Matter: Required for all new documentation
- Working Examples: Provide runnable code samples
- Integration Guides: Document cross-module interactions
- Troubleshooting: Include common issues and solutions
| Area | Impact | Getting Started |
|---|---|---|
| ๐ Documentation Standards | High | Review GEO-INFER-INTRA/docs/DOCUMENTATION_STANDARDS.md |
| ๐ง Core Module Development | High | Start with MATH or SPACE modules |
| ๐งช Testing Framework | High | Run GEO-INFER-TEST/run_unified_tests.py |
| ๐ API Integration | Medium | Work with API and APP modules |
| ๐ Domain Applications | Medium | Contribute to AG, HEALTH, or LOG modules |
| ๐จ Visualization | Medium | Enhance ART and APP modules |
Each GEO-INFER module includes a module-specific .cursorrules file that extends the root framework rules with module-specific development guidelines, dependencies, data sources, and integration patterns. These files help ensure consistent development practices across all modules.
- Root Rules:
/.cursorrules- Framework-wide development principles - Module Rules:
GEO-INFER-{MODULE}/.cursorrules- Module-specific guidelines
- Docstrings: Comprehensive docstrings with examples
- Type Hints: Full type annotations for all parameters
- Mathematical Documentation: Document theoretical foundations
- Integration Examples: Show cross-module usage
- YAML Front Matter: Required metadata structure
- Standard Sections: Overview, Core Features, API Reference, Use Cases
- Working Examples: Tested, runnable code samples
- Cross-Linking: Reference related modules and docs
- Python: 3.9+ with type hints
- Style: PEP 8 with Black formatting
- Testing: Comprehensive unit and integration tests
- Performance: Optimize for large-scale geospatial data
- Format: Markdown with YAML front matter
- Examples: Working, tested code samples
- Accessibility: Clear, professional language
- Maintenance: Keep docs current with code changes
- Follow the established module structure
- Write comprehensive tests and documentation
- Update documentation when modifying code
- Use proper error handling (no
passorNotImplementedError) - Implement real functionality (no mock methods)
- Create mock or placeholder implementations
- Hardcode configuration values
- Ignore error conditions
- Add unnecessary comments or redundant adjectives
- Break established API patterns
- ๐ Documentation: Check
GEO-INFER-INTRA/docs/for comprehensive guides - ๐ฌ Community: Join our Discord community
- ๐ Issues: Report bugs or request features on GitHub
- ๐ง Support: Contact maintainers for technical guidance
- Contributors: Listed in module READMEs and project acknowledgments
- Documentation: Featured in integration guides and tutorials
- Testing: Recognized in test coverage reports and quality metrics
- Innovation: Highlighted in release notes and case studies
- Review Standards: Read
GEO-INFER-INTRA/docs/DOCUMENTATION_STANDARDS.md - Choose Module: Start with well-established modules (MATH, SPACE, ACT)
- Set Up Environment: Follow the quick start guide above
- Make Contribution: Implement, test, and document your changes
- Submit PR: Follow our pull request template and guidelines
Ready to contribute? Start with our documentation standards and join our community of geospatial innovators!
- Discord: Active Inference Institute
- GitHub Discussions: Framework Discussions
- Documentation: Comprehensive Docs
- Be Respectful: Foster an inclusive and welcoming environment
- Share Knowledge: Help others learn and grow
- Report Issues: Contribute to framework improvement
- Follow Standards: Maintain code quality and documentation
This project is licensed under the Creative Commons Attribution-NoDerivatives-ShareAlike 4.0 International License - see the LICENSE file for details.
- H3 Development Team: For the excellent H3 v4 spatial indexing library
- Active Inference Institute: For foundational Active Inference principles
- Open Source Community: For the geospatial tools and libraries that make this possible
- Contributors: All those who have contributed to the framework's development
| Component | Status | Details |
|---|---|---|
| H3 v4 Migration | โ COMPLETE | SPACE and PLACE modules fully migrated |
| Documentation Standards | โ ESTABLISHED | Comprehensive standards and templates created |
| Integration Guides | โ PUBLISHED | Cross-module tutorials and patterns documented |
| Module Templates | โ APPLIED | YAML front matter applied to all 36 modules (100%) |
| Testing Framework | โ OPERATIONAL | Unified test suite running across modules |
| Code Quality | โ PROFESSIONAL | Intelligent, modular, well-documented code |
| Infrastructure | โ COMPLETE | All modules have requirements.txt and setup.py |
| Examples | โ COMPLETE | Working examples added to all modules |
| Integration Tests | โ COMPLETE | 4 comprehensive cross-module integration test suites |
- โ YAML Front Matter: 100% (36/36 modules)
- โ API Reference Sections: 100% (24/24 target modules)
- โ Core Features Sections: 100% (standardized across all modules)
โ ๏ธ Use Cases Sections: ~80% (needs expansion in some modules)
- โ requirements.txt: 100% (36/36 modules)
- โ setup.py/pyproject.toml: 100% (36/36 modules)
- โ Package Structure: 100% (all modules follow standard structure)
- โ Examples Directory: 100% (all modules have working examples)
- โ Test Suites: 100% (36/36 modules have tests)
- โ
Integration Tests: 4 comprehensive cross-module test suites
- SPACE + TIME + DATA workflows
- ACT + AGENT + ANT coordination
- AI + SPACE + domain modules (AG, HEALTH, ECON)
- SEC + API + APP security flows
- โ Unified Test Runner: Operational with test discovery and coverage reporting
- โ Beta (Production Ready): 28 modules
- ๐ก Alpha (Early Development): 7 modules (AI, SIM, TIME, ANT, SEC, SPM, TEST, CIV)
- ๐ฎ Planning: 1 module (METAGOV)
- Added
requirements.txtto 25 modules - Added
setup.pyto 13 modules - Created test suites for 11 modules
- Fixed package structure issues across modules
- Added API Reference sections to 22 modules
- Standardized Core Features sections
- Verified YAML front matter compliance (100%)
- Enhanced AI module (joblib persistence, expanded metrics)
- Enhanced TIME module (exponential smoothing, forecast validation)
- Enhanced SIM module (batch execution, result analysis)
- Completed ANT module implementations (disaster response, urban traffic, metrics, config)
- Replaced placeholder implementations with real algorithms
- Created 4 comprehensive integration test suites
- Validated all dependencies (missing, unused, inconsistent)
- Fixed critical syntax/import errors in 7 modules
- Unified test suite operational
- Added working examples to 8 modules (TIME, AG, LOG, RISK, REQ, ORG, CIV)
- Updated integration guide with 4 new integration patterns
- Created example README files for all modules
- โ Complete YAML template application โ DONE
- โ Develop comprehensive cross-module integration tests โ DONE
- โ Add working examples to all modules โ DONE
- โณ Expand test coverage for Alpha modules (AI, TIME, SIM)
- โณ Implement performance benchmarks and optimization guidelines
- โณ Expand Use Cases sections with practical examples
- โณ Create domain-specific integration tutorials
- โณ Implement automated documentation generation
- โณ Establish CI/CD pipelines
๐ New to GEO-INFER?
- Start with our Quick Start Guide
- Explore Integration Examples
- Join our Discord Community
๐จโ๐ป Want to Contribute?
- Review our Documentation Standards
- Check the Module Index
- Run the Unified Test Suite
๐ฌ Research & Development?
- Explore Active Inference Modules
- Work with Spatial Analysis (H3 v4 ready)
- Contribute to [Domain Applications](GEO-INFER-AG/, GEO-INFER-HEALTH/)
- ๐ Documentation: Comprehensive guides in
GEO-INFER-INTRA/docs/ - ๐ฌ Community: Active discussion on Discord
- ๐ Issues: Report bugs and request features on GitHub
- ๐ง Support: Technical guidance from maintainers
- ๐ Learning: Tutorials, examples, and integration guides
๐ GEO-INFER Framework | Framework Version: 4.0+ | H3 Version: v4.0+ | Python: 3.9+
๐
Last Updated: 2025-01-19 | ๐ Documentation: โ
COMPREHENSIVE | ๐งช Testing: โ
OPERATIONAL
Maintained by: GEO-INFER Community | License: CC BY-ND-SA 4.0
Building the future of geospatial inference through Active Inference principles and collaborative development.