Zouroboros is designed as a modular, self-enhancing AI infrastructure platform.
- Modularity - Use only what you need
- Extensibility - Plugin architecture for custom components
- Self-Healing - Built-in diagnostics and improvement
- Developer Experience - Simple CLI, clear docs, fast feedback
The command layer consists of the CLI, TUI dashboard, Hono API + SSE surface, and scheduled agents. Below, three core pillars — Memory System, Swarm Orchestration, and Workflow Tools — connect to the Personas Framework, Health Council, and Self-Heal Engine. Swarm orchestration dispatches through a transport factory to five executors: Claude Code, Codex CLI, Gemini CLI, Hermes Agent, and Mimir Memory Sage.
- Shared types and interfaces
- Configuration management
- Constants and utilities
- Episodic Memory: Conversation history, events
- Procedural Memory: Learned procedures, workflows
- Cognitive Profiles: Per-entity preferences and facts
- Graph-boosted Search: Semantic + relational queries
- HyDE Expansion: Hypothetical document embeddings
- Adaptive Routing: 6-signal core with budget/role-aware 8-signal path
- DAG Streaming: Dependency-aware parallel execution
- Transport Abstraction: ACP, bridge, and Mimir transports
- 8-Phase Creation: Planning → Deployment
- Template System: Reusable persona patterns
- SkillsMP Integration: Community skill discovery
- MCP Wrappers: AI tool integration
- Introspect: Health scorecard across all subsystems
- Prescribe: Generate improvement plans
- Evolve: Execute autonomous improvements
Four autonomous watchers monitor distinct layers — see Health Council for full details.
| Seat | Layer | Cadence |
|---|---|---|
| Healer | Runtime (model availability) | Every 2 hours |
| Doctor | Orchestration (agent fleet) | Weekly |
| Introspector | Capability (skills, identity) | Weekly |
| Steward (Mimir) | Knowledge (memory graph) | Daily |
Four core pipelines drive the system:
- Memory Capture & Briefing — Conversation artifacts →
conversation-capture→ provider-routed extraction/embeddings → SQLite facts + graph → memory gate → session briefing / Mimir synthesis - Swarm Execution — Seed spec → seed validation → Parse DAG → adaptive routing → RAG enrichment → transport factory → executor pool → streaming results
- Evaluation & Feedback — Post-flight eval → gap audit loop → reroute / recovery / telemetry → reusable episodes and facts
- Health & Scheduled Maintenance — Health Council + embedding backfill + daily memory capture + unified decay + self-enhancement + vault indexing
All packages share a unified configuration system:
// ~/.zouroboros/config.json
{
"version": "2.0.0",
"memory": { /* memory-specific settings */ },
"swarm": { /* swarm-specific settings */ },
"personas": { /* persona-specific settings */ },
"selfheal": { /* self-healing settings */ }
}Add new capabilities without modifying core:
zouroboros plugin install n8n
zouroboros plugin install code-serverImplement the bridge protocol to add new agents:
# bridges/my-custom-agent.sh
#!/bin/bash
# Your agent integration hereIntegrate external AI tools:
// ~/.zouroboros/mcp/my-mcp.json
{
"name": "my-mcp",
"url": "http://localhost:3001/sse"
}
