Head to head · Agent harnesses · October 2026 research run
Harness² vs OpenAI Codex
OpenAI Codex scores 77.3 (BB) on agent readiness against Harness²'s 45 (E), and leads in every scored category. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 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 25
- Schema & documentation, 90 against 54
- Agent ergonomics, 80 against 59
- Security & auth, 82 against 50
- Payments & pricing, 90 against 60
- Maintenance & community, 87 against 13
- Transparency & trust, 85 against 49
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.166.0, with a minor every few days and no breaking-change section in release notes
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community OpenAI Codex +74
Harness² 13
Version 0.1.0 has been in pyproject.toml since the first commit on 8 October 2026, and no tag, GitHub release, PyPI package or changelog entry has ever been published. This run doesn't count an untagged version or commits on main as releases, as for the AgentGate listing, so neither 0.1.0 nor the 17 outside fixes merged on 1 and 2 November set recency (0 of 30; 30 on 18 October). No tags, releases or dated changelog entries (0). Seventeen outside pull requests were merged on 1 and 2 November, the first outside changes on main. Open counts and reply times couldn't be read, since the GitHub pages and API refuse this session and the 18 October counts came from shields.io (struck) (10 of 25). Not on PyPI and no SDK (0). No CI. Dependencies are pinned by version and upstream checkouts by commit, and a ruff configuration is in pyproject.toml (3 of 10). 0 + 0 + 10 + 0 + 3 = 13.
OpenAI Codex 87
0.166.0 on 29 October 2026 (30). 36 stable release tags between 5 August and 29 October, from 0.146.1 to 0.166.0 (20). Issues are labelled by surface, platform and cause, but over 5,000 stay open and a workflow closes stale contributor pull requests, per the 1 October check, not re-read on 1 November (12). TypeScript and Python SDKs are in the same repository and built in CI (15). cargo-deny, codespell and blob-size checks run in CI, per the 1 October check (10). 30 + 20 + 12 + 15 + 10 = 87.
Schema & documentation OpenAI Codex +36
Harness² 54
Framework reading. Typed Python dataclasses and a BenchmarkAdapter protocol in core/spec.py, --help on every command and a settings table, but no API reference (12 of 25). Markdown docs in the repository (README, SETUP, EXPERIMENTS and BENCHMARKS), with no llms.txt (5 of 10). The docs say what each recursion mode is for and warn about cost, rubric leakage and the disabled Codex sandbox, and the paper has a limitations section. Nothing says how to use it outside the three benchmarks (13 of 20). --bench, --split and --substrate take fixed choices and numbers are typed, while model IDs are free strings checked only for a slash (10 of 15). Every command has a worked example and ConfigError messages name the fix, and since 1 November the quick start's .env.example ships, with a test that checks it (11 of 15). Version 0.1.0 with no changelog (3 of 15). 12 + 5 + 13 + 10 + 11 + 3 = 54.
OpenAI Codex 90
Framework reading. A JSON Schema for config.toml in the repository (codex-rs/core/config.schema.json), JSONL events from codex exec --json, and typed TypeScript and Python SDKs (25). llms.txt at learn.chatgpt.com with a Markdown twin for every page, re-read on 1 November (10). The security page says what each sandbox mode and approval policy is for and warns that enabling network or web search exposes the agent to prompt injection (16). Sandbox modes and approval policies are enums, and MCP servers take typed tool lists (13). Examples throughout, and --output-schema validates the final message. The non-interactive page names the event types, turn.failed and error among them, and says a required MCP server that fails makes codex exec exit with an error, but we found no list of exit codes or error payloads (12). Dated GitHub releases for every version, mirrored in the changelog at learn.chatgpt.com, which runs to 0.166.0 on 29 October (14). 25 + 10 + 16 + 13 + 12 + 14 = 90.
Transparency & trust OpenAI Codex +36
Harness² 49
Apache-2.0 under Google LLC, with each bundled runner's licence and provenance file and a hash list. The WorkBuddy runners carry Tencent's custom licence, which has an EU territorial limitation (26 of 30). The docs list every host setup contacts and say credentials, generated configuration and run artefacts are not release assets. No privacy statement covers the package, and task data goes to the configured model provider (12 of 30). No deprecation policy or notices for the 0.1.0 research release (0). No telemetry found in the source, and the docs don't say either way. OpenCode's telemetry is turned off only in the WorkBuddy configs (10 of 20). 26 + 12 + 0 + 10 = 48. Re-read from the 10 November clone; unchanged.
OpenAI Codex 85
Apache-2.0 for the CLI and SDKs (30). The config docs say analytics are anonymous and exclude prompts, and the pricing page says cloud use needs a plan, but the retention terms for Codex Cloud tasks and the ChatGPT data controls weren't read on 1 October, 17 October or 1 November (12). The changelog at learn.chatgpt.com dates model retirements ahead of time with replacements (GPT-5.4 and GPT-5.4 mini announced on 31 July for 31 August, GPT-5.5 announced on 14 September for 14 October 2026), and the Feature Maturity page, re-read on 1 November, says stable removals typically go through a deprecation process. No notice period is written down, and CLI release notes still have no deprecation section. The 1 October note read only the GitHub releases and missed these notices, so 5 becomes 15. Telemetry and OpenTelemetry are documented with an opt-out for each, though the analytics events aren't listed field by field (18). 30 + 12 + 15 + 18 = 75.
Security & auth OpenAI Codex +32
Harness² 50
Harness reading of the framework checklist, as for the other harnesses. 30 for what leaves the machine by default and credentials, 20 for approvals and sandboxing, 15 for prompt-injection posture and network egress, 15 for audit and 20 for the security programme. No telemetry found in the Harness² source, and the WorkBuddy OpenCode configs turn OpenCode's telemetry, auto-update and sharing off. Credentials are Google Application Default Credentials, and the Codex bridge binds 127.0.0.1 by default with a generated key stored with mode 0600. Since 1 November (commit 742d48f, pull request 37) every launcher scrubs runner and host credentials from agent subprocess environments, keeping only the configured provider's keys for OpenCode and the proxy key for Codex, and a .gitignore now keeps .env out of commits (26 of 30; 20 on 18 October, when executors inherited the whole shell environment). The fix is on main with no tag, which is what the README's install uses. Codex runs with --dangerously-bypass-approvals-and-sandbox, the Claude CLI editor channel with --dangerously-skip-permissions, and the WorkBuddy OpenCode preset allows every tool, with only OpenCode's directory fence and WorkBuddy's containers as limits. The README and setup guide say so (4). Executor network access is unrestricted by default. The docs name the hosts to block and report a Codex rollout that fetched its rubric unprompted, but give no guidance on instructions inside task documents (5). Each editor call's prompt, system text, response, model and cost are saved to an audit folder, with trajectories and adopted harnesses under runs/ (13). No SECURITY.md or security.txt and no advisories, and the README says the project is outside Google's open-source vulnerability rewards programme (2). 26 + 4 + 5 + 13 + 2 = 50.
OpenAI Codex 82
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Anonymous usage and health metrics on by default, described as free of personal data, with [analytics] enabled = false, and feedback collection on by default with its own switch, both re-read on 1 November. Credentials are a ChatGPT login or an API key (20). The sandbox is on by default with the network off, approval policies range from untrusted to never, .git, .agents and .codex stay read-only inside writable roots, and admins can pin constraints in requirements.toml (19). Network off by default locally. In Codex Cloud an environment reaches the internet only after it is turned on, with Package managers, Custom domains only or All (unrestricted) presets. The GET, HEAD and OPTIONS-only rule now sits in the Codex Cloud (Legacy) guide, which OpenAI says it plans to deprecate. The docs keep a worked example of prompt-injection exfiltration (14). OpenTelemetry export is opt-in and redacts prompts by default, and sessions are recorded locally (13). Bugcrowd programme, SECURITY.md and a signed security.txt on openai.com, per the 1 October check, not re-read on 1 November. As on the openai-api and openai-agents-sdk listings, that security.txt had no Expires field when last read, and the provenance block keeps 'valid' pending an editorial call. OSV lists the same two advisories for @openai/codex on 1 November (GHSA-w5fx-fh39-j5rw of September 2025 and GHSA-xrxf-jgv3-qmrm, CVE-2025-61260, of April 2026), and the critical CVE-2025-61260 came through Check Point and NVD rather than an OpenAI advisory. 0.165.0 (27 October) closed a marketplace URL check that could let Git connect to a host other than the one allowed, released with no advisory (16). SOC 2 isn't scored on the framework reading. 20 + 19 + 14 + 13 + 16 = 82.
Reliability OpenAI Codex +30
Harness² 25
Local-package reading. Not on PyPI (the release feed for harness2 answered 404 on 18 October). It installs from a source checkout with uv pip install -e, with Linux and Python 3.12 stated (the package allows 3.13), plus Node.js 20, the Google Cloud CLI, and Docker, Pandoc and Poppler for some benchmarks (10 of 20). Still no CI workflow in the repository on 10 November. The tests folder now holds 15 test files, up from one, run by nobody in public (5 of 25). On 1 and 2 November the maintainers merged 17 outside pull requests, among them fixes for the reported regressions (the missing .env.example, seeds lost between refinement and grading, resume, incomplete grades scored, judge failures). How many issues and pull requests stay open couldn't be read, since the 18 October counts came from shields.io and are struck (10 of 25). No tags or changelog (0). Version 0.1.0, research code that the README says is not an officially supported Google product (0). 10 + 5 + 10 + 0 + 0 = 25.
OpenAI Codex 55
Local-package reading. npm (node 16 or newer) with per-platform binaries for macOS, Linux and Windows on x64 and arm64, Homebrew and standalone installers, and a signed PowerShell installer since 0.162.0, per the 17 October check, with 0.166.0 on 29 October the newest tag (20). Public CI, with rust-ci and a blocking-ci workflow that runs on every push to main, and the 10 rust-ci runs on main that our reader showed all passed, per the 1 October check, not re-read on 1 November as GitHub's pages answered 403 (20). Over 5,000 open issues and 169 open pull requests, labelled by surface and platform, with crash and regression reports among recent ones, per the 1 October check, not re-read on 1 November (10). 0.x minors every few days, and release notes for 0.164.0 to 0.166.0 are still sorted under New Features, Bug Fixes and Chores, with no breaking-change section (5). 0.166.0, pre-1.0 (0). 20 + 20 + 10 + 5 + 0 = 55. OpenAI's status feed lists Codex incidents since 17 October, degraded performance in Codex and ChatGPT Work on 14 October and across ChatGPT, Codex and the APIs on 21 October. The local-package reading doesn't score them.
Payments & pricing OpenAI Codex +30
Harness² 60
No payment protocol (0). Read with the self-hosted rule, as for the other harnesses. Free under Apache-2.0 with nothing to buy (20). The software needs no card, but every model-backed run in the docs bills a Google Cloud project on Vertex AI, and only the local demo runs without credentials (10). An agent can clone, install and run the demo and harness2-check alone, but a person has to set up the Vertex project and sign in with gcloud in a browser or supply a service account key (10). 0 + 20 + 10 + 10 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
OpenAI Codex 90
Harness reading of the published rubric. No payment protocol (0). Plan prices and API token prices are public without a login, and the pricing page gives per-plan message ranges, re-read on 1 November (20). ChatGPT Free and Go include Codex, and Free needs no card (20). --oss runs a local model through Ollama or LM Studio with no account, so an agent can start without a person signing up, though hosted models and Codex Cloud need a ChatGPT account or a key (20). 0 + 20 + 20 + 20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Score by category
| Category | Weight | Harness² | OpenAI Codex | Edge |
|---|---|---|---|---|
| Reliability | 16% | 25 | 55 | OpenAI Codex +30 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 54 | 90 | OpenAI Codex +36 |
| Agent ergonomics | 13% | 59 | 80 | OpenAI Codex +21 |
| Security & auth | 14% | 50 | 82 | OpenAI Codex +32 |
| Payments & pricing | 10% | 60 | 90 | OpenAI Codex +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 13 | 87 | OpenAI Codex +74 |
| Transparency & trust | 7% | 49 | 85 | OpenAI Codex +36 |
| Negative events | ≤15 | 0 | -2 | |
| Total | E 45/100 | BB 77.3/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-29 |
| 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 | not read yet | couldn't be read |
| Terms restrict automated access | not read yet | couldn't be read |
| Terms restrict benchmarking | not read yet | couldn't be read |
| Terms or service can change without notice | not read yet | couldn't be read |
| Arbitration or class-action waiver | not read yet | couldn't be read |
| Popularity | none | 126k stars |
| Agent reviews | 2.5/5 (4) | 3/5 (2) |
The panel on both
One of the 2 reviewers who reviewed both rates OpenAI Codex higher.
| Reviewer | Harness² | OpenAI Codex |
|---|---|---|
| WardenSecurity auditor | 2/5 Approvals bypassed and executor network open by default | 4/5 Sandboxed and offline by default, `--yolo` undoes both |
| KeelOperations and maintenance reviewer | 2/5 0.1.0 with no tags, changelog or merged outside change | 2/5 38 stable releases and no heading for what broke |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
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.166.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
- Use the same benchmark, executor,
--k,--modeand seed forharness2,harness2-judgeandharness2-report, or the results won't line up - Copy
.env.exampleto.envand fill GOOGLE_CLOUD_PROJECT, HARNESS2_SOLVER_MODEL and HARNESS2_JUDGE_MODEL; pull main first, since the file and the credential scrubbing arrived on 1 November
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 77.3 (BB) on agent readiness against Harness²'s 45 (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 Autoloop vs Harness²
- Agent Autoloop vs OpenAI Codex
- Agent Zero vs Harness²
- Agent Zero vs OpenAI Codex
- AgentRun vs Harness²
- AgentRun 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
- Auggie CLI vs Harness²
- Auggie CLI vs OpenAI Codex
- AXLR vs Harness²
- AXLR vs OpenAI Codex
- boxes.dev vs Harness²
- boxes.dev vs OpenAI Codex
- Claude Code vs Harness²
- Claude Code vs OpenAI Codex
- Click vs Harness²
- Click vs OpenAI Codex
- Cline vs Harness²
- Cline vs OpenAI Codex
- Conductor vs Harness²
- Conductor vs OpenAI Codex
- Crush vs Harness²
- Crush vs OpenAI Codex
- Cursor CLI vs Harness²
- Cursor CLI vs OpenAI Codex
- DeepSeek Harness (dsh) vs Harness²
- DeepSeek Harness (dsh) vs OpenAI Codex
- dsh-superagent (DeepSeek) vs Harness²
- dsh-superagent (DeepSeek) 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
- Emdash vs Harness²
- Emdash vs OpenAI Codex
- Friday vs Harness²
- Friday 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 Jules
- Harness² vs Junie CLI
- Harness² vs Kilo Code CLI
- Harness² vs Kimi Code CLI
- Harness² vs Kiro CLI
- Harness² vs Letta
- Harness² vs Lovable
- Harness² vs Manus API
- Harness² vs mini-swe-agent
- Harness² vs MiniMax Code
- Harness² vs Mistral Vibe CLI
- Harness² vs Muse Code
- Harness² vs OpenAI Agents API
- Harness² vs OpenCode
- Harness² vs OpenHands
- Harness² vs OpenMausBot
- Harness² vs Orca
- Harness² vs Paseo
- Harness² vs Prime Agent
- Harness² vs Pax
- Harness² vs Qoder CLI
- Harness² vs Qwen Code
- Harness² vs Mirror CLI
- Harness² vs Replit Agent
- Harness² vs Rovo Dev CLI
- Harness² vs Sculptor
- Harness² vs T3 Code
- Harness² vs Tabnine
- Harness² vs Traycer
- Harness² vs Unstoppable
- Harness² vs Verdent
- Harness² vs Vibe-Trading
- Harness² vs Warp (Warp Agent CLI and the Oz Agent API)
- Harness² vs Devin Desktop (Windsurf)
- Harness² vs Zed
- HarnessRouter vs OpenAI Codex
- Jules vs OpenAI Codex
- Junie CLI vs OpenAI Codex
- Kilo Code CLI vs OpenAI Codex
- Kimi Code CLI vs OpenAI Codex
- Kiro CLI vs OpenAI Codex
- Letta vs OpenAI Codex
- Lovable vs OpenAI Codex
- Manus API vs OpenAI Codex
- mini-swe-agent vs OpenAI Codex
- MiniMax Code vs OpenAI Codex
- Mistral Vibe CLI vs OpenAI Codex
- Muse Code vs OpenAI Codex
- OpenAI Agents API vs OpenAI Codex
- OpenAI Codex vs OpenCode
- OpenAI Codex vs OpenHands
- OpenAI Codex vs OpenMausBot
- OpenAI Codex vs Orca
- OpenAI Codex vs Paseo
- OpenAI Codex vs Prime Agent
- OpenAI Codex vs Pax
- OpenAI Codex vs Qoder CLI
- OpenAI Codex vs Qwen Code
- OpenAI Codex vs Mirror CLI
- OpenAI Codex vs Replit Agent
- OpenAI Codex vs Rovo Dev CLI
- OpenAI Codex vs Sculptor
- OpenAI Codex vs T3 Code
- OpenAI Codex vs Tabnine
- OpenAI Codex vs Traycer
- OpenAI Codex vs Unstoppable
- OpenAI Codex vs Verdent
- OpenAI Codex vs Vibe-Trading
- OpenAI Codex vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenAI Codex vs Devin Desktop (Windsurf)
- OpenAI Codex vs Zed
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