Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GaiaOS

CI Python 3.12 License: Apache 2.0 Code Style: Ruff

An Agentic Planetary Risk Intelligence Platform.

Status

Phase 1, Phase 2, Phase 3, Phase 4, and v4.x Open Source Readiness Series (v4.1.0, v4.2.0, v4.3.0) — Complete

Milestone Scope / Deliverable Status
Phase 1 Foundation, FastAPI, PostgreSQL (PostGIS + pgvector), Docker, Gateway Complete
Phase 2 Multi-Agent Reasoning Core, LangGraph, Literature RAG, Scorer Complete
Phase 3 — Milestones 1–10 JWT/API Key Auth, Redis Rate Limiting, RQ Workers, SSE Stream, Eval Suite, Replan Loop, PostGIS, Ingestion, Metrics Complete
Phase 4 — Milestones 1–10 CI Integrity, Auth Review, Monitoring/Alerting, Citation IDs, Geocoding, Disaster Recovery, Worker Scaling, Agent Contribution Framework, Admin UI, OpenAPI Publishing Complete
v4.1.0 Repository Governance, Security Policy, Apache 2.0 License, Issue/PR Templates Complete
v4.2.0 Community Health, Contributor Experience, Support Guidelines & Issue Triage Taxonomy Complete
v4.3.0 Contributor Experience: Onboarding UX, Architecture Navigation, Contributor Guides, Developer Tooling & Local CI Parity Complete

Detailed architectural specifications, documentation hub, and milestone scope documents are linked below:

Core Architecture

GaiaOS is structured into four primary layers:

  • API & Gateway (app/, gateway/, auth/): FastAPI REST and SSE endpoints with JWT/API key authentication and Redis rate limiting.
  • Reasoning Core (orchestrator/): LangGraph engine coordinating domain-specific risk agents (seismic, atmosphere, ocean, wildfire, air quality, RAG, causal chain, simulation, synthesis, critic).
  • Background Worker & Task System (workers/, alerting/, ops/): RQ worker pool for asynchronous investigation jobs, hazard ingestion, alert evaluation, and automated database backups.
  • Observability & Operations (metrics/, alerting/, admin_ui/, ops/): Metrics pipeline, threshold alerts, React/TypeScript Admin UI, and operational runbooks.

For repository folder trees and code placement guidance, see Project Structure & Code Placement.

Quick Start

Prerequisites

  • Python 3.12 (pinned in .python-version)
  • Node.js 18+ & npm (for admin_ui/)
  • Docker Engine 24+ & Docker Compose v2

For detailed OS-specific setup (Windows, Linux, macOS), see the Environment Setup Guide.

Setup & Local Execution

# Clone & virtualenv setup
git clone https://github.com/Diyaaa-12/GaiaOS.git
cd GaiaOS
python -m venv .venv
source .venv/bin/activate  # Windows PowerShell: .\.venv\Scripts\Activate.ps1

# Install dependencies using pinned lockfile
pip install -r requirements/dev.lock

# Copy environment configs
cp .env.example .env
cp docker-compose.override.yml.example docker-compose.override.yml

# Start full stack via Docker Compose
docker compose up -d --build

Services:

  • API Server & OpenAPI UI: http://localhost:8000/docs
  • Admin Dashboard: http://localhost:3000

Development & Local Verification

GaiaOS provides a unified local verification tool (scripts/verify.py) as well as individual verification commands:

# Unified local CI verification
python scripts/verify.py

# Or run individual checks:
ruff check .
mypy .
pytest
python scripts/generate_openapi_spec.py

See the Development & CI Workflow Guide for complete details.

Community & Support

We welcome contributions and community involvement!

Documentation & Navigation

All architectural specifications, contributor guides, API schemas, release notes, operational runbooks, and audit reports are indexed in the Documentation Hub.

Continuous Integration

GitHub Actions workflow (.github/workflows/ci.yml) enforces:

  • Ruff linting and Mypy type validation
  • Pytest suite execution
  • OpenAPI specification drift detection (python scripts/generate_openapi_spec.py vs git diff --exit-code)
  • Container image build & health verification (app, worker, scheduler, admin_ui)

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages