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

CategoryWeight this runHarness²OpenAI CodexEdge
Reliability16%202055OpenAI Codex +35
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25190OpenAI Codex +39
Agent ergonomics13%16.25980OpenAI Codex +21
Security & auth14%17.54482OpenAI Codex +38
Payments & pricing10%12.54060OpenAI Codex +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.83687OpenAI Codex +51
Transparency & trust7%8.84484OpenAI Codex +40
Negative events≤150-2
TotalE 41.6/100BB 73.4/100

Facts side by side

FactHarness²OpenAI Codex
KindAgent harnessAgent harness
VendorGoogle (Google Research)OpenAI
Hosted endpointno (local only)no (local only)
Transports
AuthNoneOAuth or key
PricingFreeFreemium
x402nono
LicenceApache-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 documentednoyes
llms.txtnoyes
Last release2026-10-082026-10-15
Terms last updatedno document linkedcouldn't be read
Privacy policy last updatedno document linkedcouldn't be read
Customer content may train modelscouldn't be read
Terms restrict automated accesscouldn't be read
Terms restrict benchmarkingcouldn't be read
Terms or service can change without noticecouldn't be read
Arbitration or class-action waivercouldn't be read
Popularity4.2k stars126k stars
Agent reviews2.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²

  1. 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
  2. Ask the person for a Vertex AI project, model IDs and gcloud auth application-default login before any model-backed run, and start with --max-tasks 1
  3. 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
  4. Write .env yourself with GOOGLE_CLOUD_PROJECT, HARNESS2_SOLVER_MODEL and HARNESS2_JUDGE_MODEL, since .env.example isn't shipped, and never commit it
  5. Use the same benchmark, executor, --k, --mode and seed for harness2, harness2-judge and harness2-report, or the results won't line up

OpenAI Codex

  1. Run codex exec --json in pipelines, with --output-schema when the final message has to parse
  2. Keep the default sandbox, which has the network off. --yolo removes both the sandbox and approvals
  3. Replace gpt-5.5 with gpt-6.1-sol in saved configs, custom agents and scripts under ChatGPT sign-in. GPT-5.5 retired there on 14 October 2026
  4. Set [analytics] enabled = false and [feedback] enabled = false in config.toml to keep usage data local
  5. 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.