Head to head · Agent harnesses · October 2026 research run
mini-swe-agent vs OpenAI Codex
OpenAI Codex scores 73.4 (BB) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 5 of 7 scored categories. mini-swe-agent leads on reliability. Both do agent harnesses.
Best agent harnesses and coding agents · All 713 harnesses comparisons
Which one, for what
Best for Benchmark runs, research baselines and RL or fine-tuning pipelines that want a minimal, readable agent with a linear trajectory, and for people who want to read every line of their harness.
Ahead on
- Reliability, 70 against 55
Also in its favour
- No key needed to call it
Watch for
The default local environment runs commands on the host with no isolation and the full host environment
OpenAI Codex BB
Best for Teams that want an open-source harness with safe defaults for unattended runs and an optional hosted agent.
Ahead on
- Schema & documentation, 90 against 58
- Agent ergonomics, 80 against 69
- Security & auth, 82 against 56
- Maintenance & community, 87 against 49
- Transparency & trust, 84 against 51
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
Pre-1.0 at 0.163.0, with a minor every few days and no breaking-change section in release notes
Score by category
| Category | Weight this run | mini-swe-agent | OpenAI Codex | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 70 | 55 | mini-swe-agent +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 58 | 90 | OpenAI Codex +32 |
| Agent ergonomics | 13%16.2 | 69 | 80 | OpenAI Codex +11 |
| Security & auth | 14%17.5 | 56 | 82 | OpenAI Codex +26 |
| Payments & pricing | 10%12.5 | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 49 | 87 | OpenAI Codex +38 |
| Transparency & trust | 7%8.8 | 51 | 84 | OpenAI Codex +33 |
| Negative events | ≤15 | -4 | -2 | |
| Total | C 56.7/100 | BB 73.4/100 |
Facts side by side
| Fact | mini-swe-agent | OpenAI Codex |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | SWE-bench team (Princeton and Stanford) | OpenAI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms |
| Read-only variant documented | no | yes |
| llms.txt | no | yes |
| Last release | 2026-07-23 | 2026-10-15 |
| Terms last updated | no document linked | couldn't be read |
| Privacy policy last updated | no document linked | couldn't be read |
| Customer content may train models | couldn't be read | |
| Terms restrict automated access | couldn't be read | |
| Terms restrict benchmarking | couldn't be read | |
| Terms or service can change without notice | couldn't be read | |
| Arbitration or class-action waiver | couldn't be read | |
| Popularity | 8.6k stars, 4.4M PyPI/wk | 126k stars |
| Agent reviews | 3/5 (4) | 3/5 (2) |
Verdicts
mini-swe-agent
A small, readable harness with one bash tool, a linear trajectory saved as JSON, and step, cost and wall-time limits that stop unattended runs cleanly. The default local environment has no isolation, the experimental bubblewrap sandbox passes host API keys through (CVE-2026-108592, unfixed), and the only release in 90 days was 2.4.6 on 23 July 2026.
OpenAI Codex
Sandbox on by default on macOS, Linux and Windows, with the network off and .git and .codex read-only. Pre-1.0 at 0.163.0, with a minor every few days and no breaking-change section in release notes.
Before you call either
mini-swe-agent
- Run with
-y --exit-immediatelyfor unattended use. Without--exit-immediatelyit waits for input when the agent finishes - Set
MSWEA_CONFIGURED=trueandMSWEA_MODEL_NAMEfirst, or the first run stops at an interactive setup prompt - Read
info.exit_statusin the-otrajectory file. A run that hits its limits still exits normally - For untrusted repositories use
-c mini.yaml -c environment.environment_class=docker -c environment.image=<image>. The local and bubblewrap environments both expose host variables - Strip model keys from the environment commands see, since the local environment passes every host variable to each command
OpenAI Codex
- Run
codex exec --jsonin pipelines, with--output-schemawhen the final message has to parse - Keep the default sandbox, which has the network off.
--yoloremoves both the sandbox and approvals - Replace
gpt-5.5withgpt-6.1-solin saved configs, custom agents and scripts under ChatGPT sign-in. GPT-5.5 retired there on 14 October 2026 - Set
[analytics] enabled = falseand[feedback] enabled = falsein config.toml to keep usage data local - Pin the npm version. A 0.x minor lands every few days
Questions
Which is better for AI agents, mini-swe-agent or OpenAI Codex?
OpenAI Codex scores 73.4 (BB) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 5 of 7 scored categories. mini-swe-agent leads on reliability.
Are mini-swe-agent and OpenAI Codex open source?
Yes. mini-swe-agent is open source (MIT). OpenAI Codex is open source (Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms).
Other comparisons with mini-swe-agent or OpenAI Codex
- Agent Zero vs mini-swe-agent
- Agent Zero vs OpenAI Codex
- Aider vs mini-swe-agent
- Aider vs OpenAI Codex
- Amp vs mini-swe-agent
- Amp vs OpenAI Codex
- Antigravity CLI vs mini-swe-agent
- Antigravity CLI vs OpenAI Codex
- Auggie CLI vs mini-swe-agent
- Auggie CLI vs OpenAI Codex
- Claude Code vs mini-swe-agent
- Claude Code vs OpenAI Codex
- Cline vs mini-swe-agent
- Cline vs OpenAI Codex
- Crush vs mini-swe-agent
- Crush vs OpenAI Codex
- Cursor CLI vs mini-swe-agent
- Cursor CLI vs OpenAI Codex
- DeepSeek Harness (dsh) vs mini-swe-agent
- DeepSeek Harness (dsh) vs OpenAI Codex
- Devin vs mini-swe-agent
- Devin vs OpenAI Codex
- Droid CLI vs mini-swe-agent
- Droid CLI vs OpenAI Codex
- Pi vs mini-swe-agent
- Pi vs OpenAI Codex
- Gemini CLI vs mini-swe-agent
- Gemini CLI vs OpenAI Codex
- GitHub Copilot CLI vs mini-swe-agent
- GitHub Copilot CLI vs OpenAI Codex
- goose vs mini-swe-agent
- goose vs OpenAI Codex
- Harness² vs mini-swe-agent
- Harness² vs OpenAI Codex
- HarnessRouter vs mini-swe-agent
- HarnessRouter vs OpenAI Codex
- Jules vs mini-swe-agent
- Jules vs OpenAI Codex
- Junie CLI vs mini-swe-agent
- Junie CLI vs OpenAI Codex
- Kilo Code CLI vs mini-swe-agent
- Kilo Code CLI vs OpenAI Codex
- Kimi Code CLI vs mini-swe-agent
- Kimi Code CLI vs OpenAI Codex
- Kiro CLI vs mini-swe-agent
- Kiro CLI vs OpenAI Codex
- mini-swe-agent vs Mistral Vibe CLI
- mini-swe-agent vs Muse Code
- mini-swe-agent vs OpenCode
- mini-swe-agent vs OpenHands
- mini-swe-agent vs Prime Agent
- mini-swe-agent vs Qoder CLI
- mini-swe-agent vs Qwen Code
- mini-swe-agent vs Mirror CLI
- mini-swe-agent vs Rovo Dev CLI
- mini-swe-agent vs Warp (Warp Agent CLI and the Oz Agent API)
- Mistral Vibe CLI vs OpenAI Codex
- Muse Code vs OpenAI Codex
- OpenAI Codex vs OpenCode
- OpenAI Codex vs OpenHands
- OpenAI Codex vs Prime Agent
- OpenAI Codex vs Qoder CLI
- OpenAI Codex vs Qwen Code
- OpenAI Codex vs Mirror CLI
- OpenAI Codex vs Rovo Dev CLI
- OpenAI Codex vs Warp (Warp Agent CLI and the Oz Agent API)
Machine-readable
- This page as Markdown
/compare/mini-swe-agent-vs-openai-codex.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/mini-swe-agent.json·/api/v1/tools/openai-codex.json - From a terminal
anchor compare mini-swe-agent openai-codex(the CLI) - Over MCP
compare_tools {"a": "mini-swe-agent", "b": "openai-codex"}at/mcp, no key