
Description
MartinLoop is a command-line runtime that supervises AI coding agents while they work on a software task. Your agent still writes the code; MartinLoop wraps the job in an objective, a verifier, a spend budget and an iteration cap, so the run stops when limits are hit and ends with a clear outcome. Completion requires fresh evidence from the configured verifier for that run and workspace, and the project is explicit that a VERIFIED result only covers the checks the verifier runs. An audit command estimates how much API-equivalent Claude Code spend went into fix-and-retry loops, with offline and shareable modes. Each run leaves receipts you can inspect and validate. Work is local-first, with optional hosted sync through an API token. It is installed and run with npx or a global npm install.…
Highlights
- Governed runs with objective, verifier, budget and iteration cap
- Hard spend ceiling via --budget-usd and attempt limit via --max-iterations
- Audit command to measure spend lost to retry loops
- Run receipts with integrity verification
- Local-first, with optional hosted sync
Ratings & Reviews
No ratings yet
Be the first to rate Keesan12/martin-loop.
People also visit

sipyourdrink-ltd/bernstein
Deterministic orchestrator for CLI coding agents such as Claude Code
Keesan12/martin-loop FAQ
What does MartinLoop do?
It runs alongside a coding agent and keeps each job bounded: you set an objective, a verifier, a budget and an iteration limit, and MartinLoop enforces stop conditions, verification and recovery, then reports a clear outcome.
How do I get started?
Run npx -y martin-loop@latest start, or install globally with npm install -g martin-loop@latest. There is also a demo command: npx -y martin-loop@latest demo.
What does the audit command show?
npx -y martin-loop@latest audit estimates how much API-equivalent Claude Code spend went into fix-and-retry loops. Add --offline for zero network access or --share for a shareable summary.
Does VERIFIED mean my code is bug-free?
No. A configured verifier proves only the checks it runs. VERIFIED is not a claim that the code is bug-free or safe to merge automatically.
Does it need a cloud account?
No. Governed work is local-first. Hosted sync is optional and is configured with a MARTIN_API_TOKEN.
What are the best Keesan12/martin-loop alternatives?
Popular alternatives to Keesan12/martin-loop include Codeman, loop-factory and REX-codebase/fable-mode. See all Keesan12/martin-loop alternatives
















