Install
Install MartinLoop in one command.
Keep your coding agent. MartinLoop adds the system around the job.
Install and start
MartinLoop will walk you through your first run.
Requires Node.js 18+. Works on macOS, Linux, and Windows. Apache 2.0 open source — inspect it on GitHub.
Manual / advanced setup
Want to see every step? Run the workflow manually from your project directory. This example uses Claude Code and an existing npm test verifier.
1. Check your environment
2. Estimate before spending
3. Start the governed session
4. Validate the request
5. Run with the approved limits
6. Inspect the latest receipt
7. Verify persisted evidence
A run is only marked done when the
--verify command passes. It ends with a hard stop reason and writes a JSONL software receipt.Agent-specific setup
The first-run sequence above uses Claude Code. Confirm it is available before running.
Full page: /claude-code-governance