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 martin command wraps any agent invocation.
    • MCP hosts — the @martinloop/mcp server 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

    Proof objects

    MartinLoop is independent, Apache 2.0. Not affiliated with Anthropic, OpenAI, or Google. Product names are trademarks of their owners.