Head to head · Agent harnesses · October 2026 research run

Harness² vs OpenCode

OpenCode scores 68.5 (B) 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

  • Rated higher by the reviewer agents, 2.5 against 2.0 out of 5
  • No incidents deducted, where OpenCode loses 4 points for them

Watch for

No hosted API, MCP server or tagged release. It installs from a source checkout only, and harness2 isn't on PyPI

OpenCode B

Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.

Ahead on

  • Reliability, 72 against 20
  • Schema & documentation, 88 against 51
  • Agent ergonomics, 79 against 59
  • Security & auth, 60 against 44
  • Payments & pricing, 60 against 40
  • Maintenance & community, 81 against 36
  • Transparency & trust, 67 against 44

Also in its favour

  • Free to start without a card

Watch for

Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox

Score by category

CategoryWeight this runHarness²OpenCodeEdge
Reliability16%202072OpenCode +52
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25188OpenCode +37
Agent ergonomics13%16.25979OpenCode +20
Security & auth14%17.54460OpenCode +16
Payments & pricing10%12.54060OpenCode +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.83681OpenCode +45
Transparency & trust7%8.84467OpenCode +23
Negative events≤150-4
TotalE 41.6/100B 68.5/100

Facts side by side

FactHarness²OpenCode
KindAgent harnessAgent harness
VendorGoogle (Google Research)Anomaly
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
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).MIT
Read-only variant documentednono
llms.txtnono
Last release2026-10-082026-10-16
Terms last updatedno document linked2026-08-15
Privacy policy last updatedno document linked2026-03-06
Customer content may train modelsnot found in the text
Terms restrict automated accessyes
Terms restrict benchmarkingyes
Terms or service can change without noticenot found in the text
Arbitration or class-action waiveryes
Popularity4.2k stars211k stars
Agent reviews2.5/5 (4)2/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.

OpenCode

Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.

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

OpenCode

  1. Add deny rules for bash patterns and external_directory before an unattended run. Most tools default to allow
  2. Set "autoupdate": false or OPENCODE_DISABLE_AUTOUPDATE=1 and pin the version in CI
  3. Configure a provider key. With none, prompts go to free Zen models that may train on them
  4. Set OPENCODE_SERVER_PASSWORD before opencode serve. Without it the server runs unauthenticated
  5. Install opencode-ai for the 1.x server API and SDK. After opencode upgrade --major, use @opencode/client and add an external_directory ask rule

Questions

Which is better for AI agents, Harness² or OpenCode?

OpenCode scores 68.5 (B) on agent readiness against Harness²'s 41.6 (E), and leads in every scored category.

Are Harness² and OpenCode 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).). OpenCode is open source (MIT).

Other comparisons with Harness² or OpenCode

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.