RED βΈ
GREEN βΈ
AUDIT βΈ
FIX βΈ
DONE
no code touches your repo until it clears all five β enforced by 9 agents, on your own machine
Most AI coders are one model guessing β they edit, hope, and fail confidently. Savant Code runs 9 specialized agents with separated duties that audit every change before it hits your files. Local-first (Ollama), Apache-2.0, free.
npm install -g savant-code
cd your-project && savant-code # auto-detects a running Ollama
The insight: code quality isnβt a model problem, itβs a harness problem β you donβt wait for GPT-6, you engineer a pipeline that catches mistakes structurally. Detective finds bugs with evidence β Forge fixes surgically β a separate Verifier audits β self-correct β done. No merge without an independent audit.
π΅ The 9 agents + the engineering (for the tinkerers)
| Agent | Role |
|---|---|
| orchestrator β routes work, enforces protocol | |
| RED β finds bugs with evidence Β· read-only | |
| GREEN β implements the converged plan Β· write | |
| AUDIT β independent double-check afterwards | |
| reason Β· explore Β· web-research Β· track Β· document |
- Tool-permission boundaries β each agent gets exactly the tools its role allows (allowlist-filtered), no more
- Fail-closed streaming β malformed tool calls are rejected, never coerced
- Checkpoint &
/rewindβ per-turn edit checkpoints (code / convo / both / fork) - Provider-flexible β Ollama Β· OpenRouter Β· NVIDIA NIM Β· any OpenAI-compatible API
- GitHub MCP (read-only PR/issue/CI review) Β· DB helper (read-only default, LIMIT injection, SQL redaction) Β· self-contained HTML reports
- TypeScript/Bun Β· ECHO Protocol v0.2.0 Β· Apache-2.0
One model guesses. Nine agents cross-examine. Your repo only ever sees what survives the audit.
!