MartinLoop can wrap Codex CLI runs with the same budget, verifier, scope, and evidence model used for other coding agents.
- Node.js 20+
- MartinLoop CLI
- Codex CLI installed and authenticated
- A repository you want Codex to work in
npx martin-loop run "fix the auth regression" \
--engine codex \
--budget 3.00 \
--verify "pnpm test"npx martin-loop demo
cd martin-loop-demo
npm install
MARTIN_LIVE=false npx martin-loop run "Summarize the demo workspace and confirm the verifier is green" --verify "npm test"
npx martin-loop dossier --latestcodex mcp add martin-loop -- npx -y @martinloop/mcpOr generate a config block:
npx martin-loop mcp print-config --host codex --transport stdio --profile starterThe generated starter profile includes martin_run, so use a manual allow-list if you want a read-only setup.
- If Codex is not found, confirm the Codex CLI works on
PATH. - If the run exits on budget, narrow the task or intentionally raise the budget.
- If the verifier fails, inspect the failed check before asking the agent to continue.