Mission Control
Don't let the agent that wrote your code be its only reviewer.
Cross-review uncommitted local changes or GitHub PRs with a second coding agent CLI already on your machine (Codex, Claude Code, OpenCode, or Copilot), and track every finding across rounds until it is actually fixed.
Quick start · Why cross-review · Real catch · Workbench · Boundaries · 简体中文
Quick start
Embed directly into your coding agent via Skill + CLI (fastest path), or launch the local Web Workbench (no Node.js required).
Option A: Agent Skill (embed in Claude Code / Codex / Cursor / OpenCode)
npx skills add robll-v1/mission-control -g
Then ask your coding agent before git push:
Use mission-control to cross-review my local changes before I push, fix any confirmed issues, and re-review round 2.
The bundled skill (skills/mission-control/SKILL.md) automatically picks a different installed CLI from the host agent (for example, Claude Code writes → Codex reviews), runs amc review --format json (falling back to uvx if amc is not installed globally), and loops cleanly until verified.
Option B: MCP Server (Claude Code / Cursor / Windsurf / Claude Desktop)
# Claude Code (one-liner)
claude mcp add mission-control -- uvx agent-mission-control mcp
Or add to .mcp.json / Cursor MCP config:
{
"mcpServers": {
"mission-control": {
"command": "uvx",
"args": ["agent-mission-control", "mcp"]
}
}
}
Exposes 5 tools (check_agents, start_review, wait_review, update_finding, abort_review) backed by your local CLIs and the same SQLite database as amc start (open the Web Workbench anytime to inspect the exact MCP tasks and diffs).
Option C: CLI or Local Web Workbench (zero-clone with uvx)
# Review uncommitted local changes from the terminal (structured JSON + CI exit code)
uvx agent-mission-control review --backend codex --reasoning high --format json --exit-code
# Or launch the local Web Workbench (bundled React UI, no Node.js needed)
uvx agent-mission-control start
Prefer a permanent local install?
pipx install agent-mission-control # or: pip install agent-mission-control
amc review # CLI review
amc start # Web workbench on 127.0.0.1 (stop with `amc stop`)
amc doctor # Non-LLM static check of installed agent flags & reasoning levels
Try the 30-second synthetic demo repo or install from source
# 30-second demo with an intentional SQL injection in notes.py
python3 examples/first-review/make_demo_repo.py /tmp/amc-demo-notes
amc review --repo /tmp/amc-demo-notes --format json --exit-code
# Apply the fix (stays uncommitted) and re-review on another agent/reasoning
python3 examples/first-review/make_demo_repo.py /tmp/amc-demo-notes --apply-fix
amc review --repo /tmp/amc-demo-notes --backend codex --reasoning high
Contributor install from source:
git clone https://github.com/robll-v1/mission-control.git
cd mission-control
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest -q
cd frontend && npm ci && npx tsc --noEmit && npm test && npm run build
Why not just ask your agent?
| What goes wrong in chat ("review my changes") | What Mission Control does instead |
|---|---|
| Same-model blind spots. The agent that just wrote a patch tends to rationalize its own assumptions. | Cross-agent per round. Switch agent, model, and reasoning effort on any round (e.g. write in Claude Code, review on Codex high). |
| Findings vanish between rounds. When a second pass forgets to mention an earlier bug, you assume it is fixed. | Cross-round state machine in SQLite. Omitted findings become Unverified, or Likely fixed only when the exact diff between round snapshots modified that code — never auto-marked Resolved. |
| Reviews drift from disk or mutate git state. Reviewing only staged diffs misses untracked files and unstaged edits. | Zero-touch local snapshots. Copies your real index to a temporary GIT_INDEX_FILE, writes a snapshot commit parented at HEAD, and runs the reviewer in an isolated worktree. |
Real catch
During development of Mission Control's own PR #35 (Phase 6 workbench), cross-reviewing the patch with a second agent caught 4 P1 security and concurrency issues before merge:
| Category | Bug caught before merge | Fix verified by tests |
|---|---|---|
| Concurrency | DELETE /api/tasks/{id} released its active check before worktree cleanup, racing with concurrent start_task and background ValidationService. |
Unified per-task exclusive slot shared by start, validation, and delete + barrier-synchronized concurrency tests. |
| Git safety | Preflight git status on user-supplied paths could execute repo-configured core.fsmonitor commands and acquire index locks. |
Enforced --no-optional-locks and disabled core.fsmonitor, core.hooksPath, diff.external, and LFS filters. |
| Windows security | Allowlisted editor names (code) resolve to code.cmd on Windows, allowing cmd.exe to parse untrusted repo filenames. |
Required absolute native .exe binaries on Windows, open -t on macOS, and shell=False. |
| Truthful UI | Progress view labeled every backend as "Read-only sandbox" even when only Codex runs --sandbox read-only. |
Scoped the sandbox badge strictly to Codex and tracked pending round specs during preflight. |
Workbench preview
| Switch agent, model & reasoning per round | Inspect exact snapshots & diffs | Dynamic local capability detection |
|---|---|---|
| Change agent, model, reasoning effort, output language, note, or focus for any round without creating a new review. | Review exact staged, unstaged, and untracked changes in the unified diff tab and jump straight to file:line in your editor. |
Models and reasoning levels are read dynamically from your machine — never hardcoded — with a non-LLM Check agent probe. |
Supported agents
| Agent | CLI | Model discovery | Reasoning effort | Read-only sandbox |
|---|---|---|---|---|
| Codex CLI | codex |
Local ~/.codex/models_cache.json / config |
Per-model levels (-c model_reasoning_effort=...) |
Yes (--sandbox read-only) |
| Claude Code | claude |
Local CLI / config | Parsed from claude --help (--effort ...) |
No (PATH guardrail only) |
| OpenCode | opencode |
Local CLI / catalog cache | Legacy provider/model#variant alias |
No (PATH guardrail only) |
| Copilot CLI | gh copilot |
Agent default / config | Not exposed by CLI | No (PATH guardrail only) |
Default reasoning is always Model default (null — no reasoning flag passed). Switching agents never leaks the previous agent's model or reasoning setting.
How it compares
| Mission Control | CodeRabbit | GitHub Copilot Review | PR-Agent | |
|---|---|---|---|---|
| Where it runs | 100% local on your machine | Hosted SaaS (PR bot + CLI) | GitHub / VS Code | Self-hosted, primarily CI |
| Models & agents | Any local CLI agent; switchable per round | Vendor-managed | Vendor-managed | Bring your own API key |
| Extra subscription | None beyond your existing agent | Subscription | Copilot plan | Direct API usage |
| Uncommitted local changes | Yes (index + untracked snapshot) | Yes (CLI) | Yes (VS Code) | PR-focused |
| Cross-round finding state | New / Persistent / Unverified / Likely fixed + user Resolved / Dismissed |
PR thread comments | PR thread comments | PR comments |
| License | MIT | Proprietary | Proprietary | Open source |
Based on public documentation; corrections welcome.
CLI, SDK & Configuration
# CLI
amc review [PR_URL] [--repo PATH] [--backend codex|claude-code|opencode|copilot] [--model MODEL] [--reasoning LEVEL] [--focus TEXT] [--format json] [--exit-code]
amc start [--port 8000] [--no-browser] # amc status / amc stop / amc doctor / amc init [--global]
from app.sdk import ReviewEngine
engine = ReviewEngine(language="en", backend="codex", reasoning="high")
report = engine.review("/path/to/repo")
for f in report.findings:
print(f"[{f.severity}] {f.path}:{f.line} — {f.summary}")
Configuration layers (.amc.yaml), storage paths & architecture docs
Priority: CLI flag (--model / --reasoning) > env (AMC_MODEL / AMC_REASONING) > repo .amc.yaml > global ~/.config/amc/config.yaml > agent default.
repo:
base_branch: main
backend:
default: codex
codex:
model: gpt-6.1-terra
reasoning: high
validation:
default_mode: standard
checks:
tests:
command: pytest -q
modes: [standard, full]
required: true
Global config lives at ~/.config/amc/config.yaml (honoring XDG_CONFIG_HOME). SQLite state, artifacts, and short-path isolated worktrees (<data_dir>/wt/<task_id>) live in your OS application data directory (~/Library/Application Support/amc on macOS, ~/.local/share/amc on Linux, %APPDATA%\amc on Windows), overridable via AMC_DATA_DIR.
More reading: architecture & sequence diagrams · local snapshot design · project design history
Honest boundaries
- Listed models are not call guarantees. Model and reasoning lists come from local CLI caches, help output, or config files; only a real request proves account access and quota.
- PATH shims are guardrails, not an OS sandbox. Only Codex CLI runs with
--sandbox read-only(and the UI only shows the sandbox badge when Codex is active). - Silence never equals fixed. Findings omitted in a later round become
Unverified(orLikely fixedwhen code at that location changed between snapshots) — never automaticallyResolved. - Loopback-only local security. The server binds to
127.0.0.1, enforces exactHost/Originvalidation, restrictsOpen in editorto allowlisted native executables inside the resolved repository root, and disables repo-configured git commands (core.fsmonitor, hooks) during status probes.
License
Metadata
Release files for agent-mission-control 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent_mission_control-0.1.1.tar.gz | 284.5 kB | With provenance | Details for agent_mission_control-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_mission_control-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for agent_mission_control-0.1.1-py3-none-any.whl |
Total release size: 589.5 kB
Release files / agent_mission_control-0.1.1.tar.gz
| Download URL | agent_mission_control-0.1.1.tar.gz |
|---|---|
| Size | 284.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f38303658568533d676706838582898ce5af39701241af837834157f70e5ab5d
|
|
BLAKE2b-256 checksum How to use checksums |
28dba97135e25e75a1bd340fcce7cc828ca6c09b5693f64850e537844c02ce5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / agent_mission_control-0.1.1-py3-none-any.whl
| Download URL | agent_mission_control-0.1.1-py3-none-any.whl |
|---|---|
| Size | 305.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de2ee266d139ce3ed0223ee6b330b7b2a6a714adf62585ba2250e1bec16cffe2
|
|
BLAKE2b-256 checksum How to use checksums |
200a8e3078580fd56980606ec300be156c0fa6eba448ba3f96d44d8ea5ea0b9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for agent-mission-control 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agent_mission_control-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.