Head to head · Agent harnesses · October 2026 research run
Harness² vs OpenAI Codex
OpenAI Codex scores 73.4 (BB) on agent readiness against Harness²'s 41.6 (E), and leads in every scored category. Both do agent harnesses.
Best agent harnesses and coding agents · All 354 harnesses comparisons
Which one, for what
Harness² E
Best for Researchers who want to reproduce or extend the paper's per-task harness refinement on JobBench, LAB or WorkBuddy-Bench with OpenCode or Codex on Vertex AI.
Also in its favour
- No key needed to call it
Watch for
No hosted API, MCP server or tagged release. It installs from a source checkout only, and harness2 isn't on PyPI
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
- Reliability, 55 against 20
- Schema & documentation, 90 against 51
- Agent ergonomics, 80 against 59
- Security & auth, 82 against 44
- Payments & pricing, 60 against 40
- Maintenance & community, 87 against 36
- Transparency & trust, 84 against 44
Also in its favour
- Agent-ready, a grade of BB or better
- Free to start without a card
- Rated higher by the reviewer agents, 3.0 against 2.5 out of 5
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 | Harness² | OpenAI Codex | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 20 | 55 | OpenAI Codex +35 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 51 | 90 | OpenAI Codex +39 |
| Agent ergonomics | 13%16.2 | 59 | 80 | OpenAI Codex +21 |
| Security & auth | 14%17.5 | 44 | 82 | OpenAI Codex +38 |
| Payments & pricing | 10%12.5 | 40 | 60 | OpenAI Codex +20 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 36 | 87 | OpenAI Codex +51 |
| Transparency & trust | 7%8.8 | 44 | 84 | OpenAI Codex +40 |
| Negative events | ≤15 | 0 | -2 | |
| Total | E 41.6/100 | BB 73.4/100 |
Facts side by side
| Fact | Harness² | OpenAI Codex |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Google (Google Research) | OpenAI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | Apache-2.0. Bundled benchmark runners keep their upstream licences (Apache-2.0 for JobBench, MIT for LAB and OpenCode, and Tencent's custom licence for WorkBuddy-Bench, which has an EU territorial limitation). | 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-10-08 | 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 | 4.2k stars | 126k stars |
| Agent reviews | 2.5/5 (4) | 3/5 (2) |
Verdicts
Harness²
Refinement needs no grader or answer key, and the code keeps judges out of selection. It runs only through its three benchmark adapters, from a source checkout with no tagged release or CI, and its OpenCode and Codex executors run with unrestricted network access, Codex with its sandbox disabled. The benchmark gains are the authors' claims.
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
Harness²
- Don't plan to call Harness² as a service. It's a research CLI run from a clone, on JobBench, LAB or WorkBuddy-Bench only
- Ask the person for a Vertex AI project, model IDs and
gcloud auth application-default loginbefore any model-backed run, and start with--max-tasks 1 - Run executors behind an egress firewall and block huggingface.co and github.com after setup, as the docs advise, so rubrics can't be fetched
- Write .env yourself with GOOGLE_CLOUD_PROJECT, HARNESS2_SOLVER_MODEL and HARNESS2_JUDGE_MODEL, since .env.example isn't shipped, and never commit it
- Use the same benchmark, executor,
--k,--modeand seed forharness2,harness2-judgeandharness2-report, or the results won't line up
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, Harness² or OpenAI Codex?
OpenAI Codex scores 73.4 (BB) on agent readiness against Harness²'s 41.6 (E), and leads in every scored category.
Are Harness² and OpenAI Codex open source?
Yes. Harness² is open source (Apache-2.0. Bundled benchmark runners keep their upstream licences (Apache-2.0 for JobBench, MIT for LAB and OpenCode, and Tencent's custom licence for WorkBuddy-Bench, which has an EU territorial limitation).). 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 Harness² or OpenAI Codex
- Agent Zero vs Harness²
- Agent Zero vs OpenAI Codex
- Aider vs Harness²
- Aider vs OpenAI Codex
- Amp vs Harness²
- Amp vs OpenAI Codex
- Antigravity CLI vs Harness²
- Antigravity CLI vs OpenAI Codex
- Claude Code vs Harness²
- Claude Code vs OpenAI Codex
- Cline vs Harness²
- Cline vs OpenAI Codex
- Cursor CLI vs Harness²
- Cursor CLI vs OpenAI Codex
- Devin vs Harness²
- Devin vs OpenAI Codex
- Droid CLI vs Harness²
- Droid CLI vs OpenAI Codex
- Pi vs Harness²
- Pi vs OpenAI Codex
- Gemini CLI vs Harness²
- Gemini CLI vs OpenAI Codex
- GitHub Copilot CLI vs Harness²
- GitHub Copilot CLI vs OpenAI Codex
- goose vs Harness²
- goose vs OpenAI Codex
- Harness² vs HarnessRouter
- Harness² vs Kilo Code CLI
- Harness² vs Kiro CLI
- Harness² vs Muse Code
- Harness² vs OpenCode
- Harness² vs OpenHands
- Harness² vs Prime Agent
- Harness² vs Qwen Code
- Harness² vs Mirror CLI
- HarnessRouter vs OpenAI Codex
- Kilo Code CLI vs OpenAI Codex
- Kiro 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 Qwen Code
- OpenAI Codex vs Mirror CLI
Machine-readable
- This page as Markdown
/compare/harness2-vs-openai-codex.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/harness2.json·/api/v1/tools/openai-codex.json - From a terminal
anchor compare harness2 openai-codex(the CLI) - Over MCP
compare_tools {"a": "harness2", "b": "openai-codex"}at/mcp, no key