Fagan
Autonomous coding pipeline pairing frontier models for planning and review with local
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Version
- 0.10.0
- Listing updated
- today
Similar MCP servers
About Fagan
Fagan is an open-source MCP server for developer tools. It is available on CLI, macOS, Linux, API, self-hosted and Web.
The README says Fagan splits software work by cost: a frontier model decomposes goals, plans stories, reviews diffs and handles risky decisions, while a local open-weight model writes the implementation. Stories are run test-first in isolated git worktrees, reviewed, and merged through a gate that re-runs the suite on the rebased branch.
The project is built around review gates rather than trusting the author model. It includes an overlord that parks high-risk decisions for a human, an acceptance-oracle grading step, and a risk-tiered decision policy. Plans and stories are tracked as JSON, with a dashboard and an optional scheduler daemon that advances ready stories unattended.
It suits developers who already use Claude Code and want to experiment with routing implementation work to local models on macOS or Linux. The README is candid that local dispatch is the weak point for larger stories, and that the cost target is a design goal rather than a benchmarked result.
What it does
- Model role routing
- Each pipeline role can be assigned to Claude, Ollama, LM Studio, MLX or a LiteLLM-routed vendor through a registry or environment variables.
- Test-first story execution
- Stories run in isolated git worktrees with tests written before implementation, followed by an independent review pass.
- Risk-tiered overlord
- High-risk decisions such as irreversible actions, auth or money changes are held for a human in dry-run and gated modes.
- Merge gate with rebase re-test
- Branches are rebased on master, CI is polled, and the suite is re-run before merging.
- Plan dashboard and scheduler
- A FastAPI dashboard shows a kanban view of plans and stories, and a scheduler daemon can advance ready work unattended.
- Stuck-story triage
- Optional auto-triage can escalate a struggling local attempt to Claude, split a story, or hold it for review.
Good for
- Break a feature goal into dependency-ordered stories and deliver them through review gates
- Route small, well-scoped implementation tasks to a local model to reduce token spend
- Run an unattended coding loop on a repository while keeping merges human-gated
- Add an overlord decision and acceptance-oracle layer to an existing agent setup via the companion server
Pricing
Open source
Open-source core under AGPL-3.0; separate commercial terms for Fagan Enterprise.
Fagan FAQ
Which platforms does it run on?
The README says it is developed on macOS and CI tests it on Ubuntu. MLX requires Apple Silicon, and Windows is untested.
Do I need a local model to start?
No. With nothing configured, dispatch and review fall back to the Claude Code CLI backend.
What is the licence?
The repository is licensed under AGPL-3.0-only. Releases through commit 98550bb were Apache-2.0. A separate commercial distribution called Fagan Enterprise is also described.
Does it merge code automatically?
With PIPELINE_AUTONOMY=gated, low-risk stories that pass review merge unattended. Setting PIPELINE_AUTO_MERGE=0 keeps merges manual.
Is Fagan free?
Yes. Fagan is open source, so you can use and self-host it for free.
What are the best alternatives to Fagan?
The closest alternatives to Fagan are Fable, lake-gate, Claudexor, featureloom and Lm.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.