MartinLoop — AI agents are easy to run. Hard to govern.
MartinLoop turns Claude, Codex, Gemini, and other coding agents into accountable software workers right in your CLI or IDE — with budgets, verification, stop rules, and receipts for every run. Not another agent. Not another IDE. MartinLoop lives where the work is already done. Built after a $65 autonomous billing incident.
Open source · Apache 2.0 licensed · martin-loop on npm · Keesan12/martin-loop on GitHub
npm install -g martin-loop
martin run "fix flaky CI" --budget 3 --verify "pnpm test"
martin inspect
AI agents are easy to run. Hard to govern.
Agents read repos, edit files, run commands, retry tasks, and produce changes teams may merge. The new question is not whether AI can write code — it is whether the work was measurable, governed, and worth paying for. MartinLoop gives every agent run a budget, verifier, stop rule, and receipt before the change lands.
Not another agent. Not another IDE.
Claude writes. Codex works through the task. Gemini reasons through long context. MartinLoop is the governance layer around the agents you already use, right in your CLI or IDE — budgets, verification, stop rules, and receipts. The agents stay. The accountability layer is yours.
Agents do the work. MartinLoop governs the work.
- Run contract: budget + scope. Define task, dollar budget, timebox, and success criteria before the agent starts.
- Policy checks. Validate policies, budgets, allowlists, and risk rules against the run contract.
- Agent executes. The coding agent — Claude, Codex, Gemini, or another — plans and acts inside the contract.
- Verifier gate. Independent verification checks rules, tests, and invariants before anything is accepted.
- Receipt / dossier. Immutable JSONL record of inputs, actions, outputs, and artifacts for every step.
- Rollback evidence. Snapshots, diffs, and reversibility data so any run can be undone cleanly.
- Stop reason. Every run ends explicitly: success, budget, policy, or error — never silent.
- Human review. Final review before release or close, with the full dossier in hand.
Pricing
- Open Source Core — Free. Full safety layer. Apache 2.0 licensed. CLI, local budget caps, stop rules, --verify gate, rollback evidence, and JSONL run receipts.
- Developer Pro, Team, Growth, Business, Enterprise — Coming soon. Paid plans with hosted dashboard, team controls, and enterprise governance are in early access. Join the waitlist.
FAQ
- What is MartinLoop?
- The trust and safety layer around AI coding agents. Every run gets a budget, stop rule, verifier, rollback path, and receipt — without changing which agent or model you use.
- Is this another coding agent?
- No. Claude, Codex, and Gemini are the workers. MartinLoop is the governance layer around the work they do, right in your CLI or IDE. Nothing to migrate to.
- Is MartinLoop open source?
- Yes. The core is Apache 2.0 licensed. The hosted dashboard and managed team safety layer are commercial.
- Who is it for?
- Engineering teams, platform teams, and CTOs running AI coding agents in production who need control, auditability, and a record of what happened.