Agent · OpenAI Codex
Governance for OpenAI Codex
Codex works through tasks. MartinLoop turns each Codex run into trusted software work — a budget cap, a verifier gate, a JSONL software receipt, and a 13-class failure atlas for every run.
MartinLoop is an independent open-source project. Not affiliated with OpenAI. Codex is a trademark of OpenAI.
What MartinLoop adds
- Return on token spend — every run has a hard USD ceiling.
- Verifier gate — evidence-gated completions via
--verify. - Software receipts — replayable JSONL run receipts.
- Failure atlas — 13-class taxonomy tags every failed run.
- Trace intelligence —
martin dossier --latestreplays any run.
Install & run
npx -y martin-loop@latest start
# Alternative: install globally
npm install -g martin-loop@latest
martin run "your task for Codex" \
--agent codex \
--budget-usd 3 \
--verify "pnpm test"
martin dossier --latestFull setup on the install page. Machine integration at /for-agents.