Self-hosting Future AGI
Run the entire Future AGI platform on your own infrastructure with Docker Compose. Your traces, datasets, evaluations, and model calls stay inside your network
Future AGI is fully open-source. Self-hosting runs the entire stack on your own machines, so all traces, datasets, evaluations, and model calls stay within your network. The backend is Django, the frontend is React + Vite, and the LLM gateway is Go, all deployed together with Docker Compose
When to self-host
The cloud hosted version is the easiest way to run Future AGI, with nothing to operate. Self-host when you need:
- Data residency: keep all data inside your own network
- Air-gapped environments: run with no outbound dependencies
- Cost control at scale: own the infrastructure
- Deep customization: modify the open-source stack to fit your needs
What you deploy
Self-hosting brings up the full platform (around 21 containers, with no external dependencies) across four layers:
Browser
└─ frontend (React/nginx)
└─ backend (Django) ──── gateway (Go) ──── OpenAI · Anthropic · Gemini · Bedrock
├── postgres primary database
├── clickhouse analytics store
├── redis cache / pub-sub
├── minio object storage
└── temporal ──── worker background jobs / eval pipelines
postgres ──── PeerDB CDC ──── clickhouse (continuous replication)
- Application:
frontend,backend,worker,gateway,serving,code-executor - Data:
postgres,clickhouse,redis,minio - Workflow:
temporal - CDC: PeerDB (continuous Postgres → ClickHouse replication)
Everything runs on your machines; nothing leaves your network. The full service-by-service breakdown lives in Configure.
Deployment options
| Option | Status |
|---|---|
| Docker Compose | Available |
| Helm / Kubernetes | Coming soon |
| Air-gapped | Coming soon |
Where to go next
Questions & Discussion