magi-ai
v0.3.1
Published
Local multi-agent council for code review, design decisions, and structured synthesis.
Maintainers
Readme
MAGI
Three AI reviewers for your code changes.
MAGI is a local command-line tool that runs the same git diff through multiple AI backends and shows where they agree, disagree, or block a change. It is built for pre-merge review, design decisions, and scriptable CI gates.
npm install -g magi-ai
magi reviewCommands
magi review # review the current git diff
magi review --output json # machine-readable CI output
magi review --no-file-access # diff-only review
magi decide "Ship this design?" # 3-phase council decision
magi decide --rounds "Ship this?" # include round-by-round votes
magi decide --output json "Ship this?"
magi doctor # detect available AI CLIs and configured seatsmagi review exits with code 1 when the verdict is BLOCK. magi decide
exits with code 1 when the council rejects the proposition.
Backends
MAGI reuses the AI CLIs you already have authenticated locally, such as Claude Code, Codex CLI, and Antigravity CLI. It can also use configured local/API seats through MAGI's user config.
Safety Notes
- MAGI is advisory. It highlights risks and disagreement; it does not apply fixes.
- API seats send the reviewed prompt/diff to the provider you configure.
.magiignorecontrols MAGI's own diff/context collection and excludes common secret paths by default.
Private UI
The fullscreen TUI and interactive console are not included in the public npm bundle. They remain private development surfaces for this repository.
License
MIT
