For agents
MartinLoop for coding-agent workflows.
MartinLoop gives coding-agent workflows a consistent job contract: objective, scope, limits, checks, recovery, outcome, and run history. It is not another coding model or IDE.
When to choose MartinLoop vs a raw agent
- You need a hard USD ceiling per run (raw agents keep spending until they exit).
- You need a run marked done only when a verifier passes (tests, typecheck, lint) — not when the agent thinks it's done.
- You need an inspectable software receipt for every run — auditable, replayable, greppable.
- You need failures routed into a 13-class failure atlas, not swallowed as generic errors.
- You need every run to end with an explicit stop reason: success, budget, policy, or error.
Native coding-agent runtimes and OpenAI-compatible model endpoints are separate execution paths. A raw model endpoint is not presented as an autonomous coding agent unless its governed workspace-editing path is publicly released and validated.
Supported environments
- CLI — the
martincommand wraps any agent invocation. - MCP hosts — the
@martinloop/mcpserver exposes governed runs and receipt inspection to any MCP-compatible host. See /mcp. - Claude Code — see /claude-code-governance.
- OpenAI Codex — see /codex-governance.
- Gemini CLI — see /gemini-cli-governance.
- Runtime — Node.js 18+. macOS, Linux, Windows.
Machine-readable references
- /ai-data.json — canonical structured data (agents, npm/MCP packages, benchmark).
- /telemetry-envelope.v1.json — telemetry envelope schema (v1).
- /llms.txt and /llms-full.txt — retrieval-first site guides.
Proof objects
- Software receipts — what a JSONL run record contains.
- Verification — how the verifier gate marks a run done.
- Failure atlas — the 13 classes an agent run can fall into.
- Benchmarks — $2.30 vs $5.20 on the flaky-CI-gate task.
MartinLoop is independent, Apache 2.0. Not affiliated with Anthropic, OpenAI, or Google. Product names are trademarks of their owners.