πŸ–₯️ Savant Code β€” 9 AI Agents That Audit Every Change Before It Touches Your Repo (Free Β· Local Β· Open-Source)

AI-generated summary

:bullseye: What you get: A free, local-first multi-agent coding tool that audits and tests code changes before touching your repository.

:white_check_mark: Start here:

  • GitHub repo β€” source code, setup instructions, and architecture details.
  • npm package β€” install globally with npm install -g savant-code.
  • Detective and Verifier pipeline β€” read-only agents that spot bugs and audit fixes independently.

:toolbox: Also useful:

  • Checkpoint and rewind β€” rollback changes and conversation state easily.
  • HTML audit reports β€” self-contained logs tracking agent reasoning.

:warning: Watch out:

  • Test it on a small codebase first to confirm the verifier catches planted bugs before relying on it.

:red_circle: RED β–Έ :green_circle: GREEN β–Έ :magnifying_glass_tilted_left: AUDIT β–Έ :wrench: FIX β–Έ :white_check_mark: 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

:light_bulb: 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
:compass: Savant orchestrator β€” routes work, enforces protocol
:red_circle: Detective RED β€” finds bugs with evidence Β· read-only
:green_circle: Forge GREEN β€” implements the converged plan Β· write
:magnifying_glass_tilted_left: Verifier AUDIT β€” independent double-check afterwards
:brain::telescope::globe_with_meridians::card_index_dividers::writing_hand: Thinker Β· Scout Β· Researcher Β· Recorder Β· Scribe 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

Grab it β†’ GitHub Β· npm

One model guesses. Nine agents cross-examine. Your repo only ever sees what survives the audit.

6 Likes

The Detective-Verifier split is the interesting idea here, more than the agent count. One model writing and checking its own work tends to approve its own mistakes, so a separate read-only check with its own evidence trail is a real improvement. I would still start small: run it on a tiny repo, look at the HTML report for one fix, and check whether the Verifier actually catches a planted bug before trusting it on anything bigger. The checkpoint and rewind feature matters just as much, because an audit is only useful if rolling back a bad change is cheap.

1 Like

I appreciate the response, as the creator of Savant Code, i suggest you take it for a spin. It has tons of connections and free model access :slight_smile: