Symbiont — self-sustaining AI orchestrator
- sessions.py: SQLite registry for cross-session awareness - CLAUDE.md: bootstrap context for every new Claude instance - api.py: /sitrep and /sessions endpoints, task dispatch logs sessions - Resource locking to prevent concurrent modification conflicts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| symbiont | ||
| .gitignore | ||
| CLAUDE.md | ||
| heartbeat.jsonl | ||
| ledger.jsonl | ||
| README.md | ||
| requirements.txt | ||
| symbiont-api.service | ||
| symbiont-heartbeat.service | ||
| symbiont-heartbeat.timer | ||
| test_router.py | ||
| test_web.py | ||
Symbiont
A self-sustaining AI orchestrator that manages its own compute costs through intelligent LLM routing.
Architecture
- Router: Classifies tasks and dispatches to the cheapest capable model
- Dispatcher: Executes tasks via Claude Code CLI (Pro account) with fallback tiers
- Ledger: Tracks every inference call, cost, and associated revenue
- Scheduler: Handles rate-limit backoff and self-waking timers
Model Tiers
| Tier | Model | Use Case |
|---|---|---|
| 1 | Haiku | Classification, extraction, simple formatting |
| 2 | Sonnet | Content writing, code gen, analysis |
| 3 | Opus | Strategic decisions, complex reasoning, QA |
Setup
- Authenticate Claude Code CLI:
claude login - Install dependencies:
pip install -r requirements.txt - Run:
python3 -m symbiont.main