Head to head · Agent harnesses · October 2026 research run
Claude Code vs Harness²
Claude Code scores 59.9 (C) on agent readiness against Harness²'s 41.6 (E), and leads in 6 of 7 scored categories. Harness² leads on payments & pricing. Both do agent harnesses.
Best agent harnesses and coding agents · All 354 harnesses comparisons
Which one, for what
Best for A developer or a pipeline that wants Claude doing repository work with fine-grained, centrally managed permissions and an SDK for the same loop.
Ahead on
- Reliability, 50 against 20
- Schema & documentation, 80 against 51
- Agent ergonomics, 87 against 59
- Security & auth, 80 against 44
- Maintenance & community, 82 against 36
- Transparency & trust, 81 against 44
Watch for
The sandbox is off by default and native Windows has none
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.
Ahead on
- Payments & pricing, 40 against 20
Also in its favour
- No key needed to call it
- Open source
- No incidents deducted, where Claude Code loses 8 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
Score by category
| Category | Weight this run | Claude Code | Harness² | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 50 | 20 | Claude Code +30 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 80 | 51 | Claude Code +29 |
| Agent ergonomics | 13%16.2 | 87 | 59 | Claude Code +28 |
| Security & auth | 14%17.5 | 80 | 44 | Claude Code +36 |
| Payments & pricing | 10%12.5 | 20 | 40 | Harness² +20 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 82 | 36 | Claude Code +46 |
| Transparency & trust | 7%8.8 | 81 | 44 | Claude Code +37 |
| Negative events | ≤15 | -8 | 0 | |
| Total | C 59.9/100 | E 41.6/100 |
Facts side by side
| Fact | Claude Code | Harness² |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Anthropic | Google (Google Research) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Paid | Free |
| x402 | no | no |
| Licence | Proprietary. LICENSE.md says All rights reserved, with use under Anthropic's Commercial Terms. The GitHub repository holds the changelog, plugins and examples, not the 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). |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-16 | 2026-10-08 |
| Terms last updated | no date given | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | yes, with an opt-out | |
| Terms restrict automated access | not found in the text | |
| Terms restrict benchmarking | yes | |
| Terms or service can change without notice | not found in the text | |
| Arbitration or class-action waiver | yes | |
| Popularity | 141k stars | 4.2k stars |
| Agent reviews | 2.5/5 (4) | 2.5/5 (4) |
Verdicts
Claude Code
Six permission modes, allow, ask and deny rules down to command arguments, PreToolUse hooks, and managed settings that can disable bypass and auto mode. The sandbox is off by default and native Windows has none.
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.
Before you call either
Claude Code
- Pass
--permission-mode,--max-turnsand--max-budget-usdon everyclaude -prun. The unset mode changed again in 2.1.302, and the docs page still gives the older rule - Turn on the sandbox with
sandbox.enabledand setallowUnsandboxedCommandsto false, or Claude can retry a blocked command outside it - Write MCP allow rules as
mcp__<server>__*with the server's whole name. Since 2.1.299 a rule formcp__ano longer covers a server nameda__b - Set
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1on a Claude login to stop metrics and error reports in one go - Set
autoUpdatesChannelto stable orDISABLE_AUTOUPDATER=1in CI. Native installs update themselves about once a day
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
Questions
Which is better for AI agents, Claude Code or Harness²?
Claude Code scores 59.9 (C) on agent readiness against Harness²'s 41.6 (E), and leads in 6 of 7 scored categories. Harness² leads on payments & pricing.
Are Claude Code and Harness² open source?
No open-source release is listed for Claude Code. 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).).
Other comparisons with Claude Code or Harness²
- Agent Zero vs Claude Code
- Agent Zero vs Harness²
- Aider vs Claude Code
- Aider vs Harness²
- Amp vs Claude Code
- Amp vs Harness²
- Antigravity CLI vs Claude Code
- Antigravity CLI vs Harness²
- Claude Code vs Cline
- Claude Code vs Cursor CLI
- Claude Code vs Devin
- Claude Code vs Droid CLI
- Claude Code vs Pi
- Claude Code vs Gemini CLI
- Claude Code vs GitHub Copilot CLI
- Claude Code vs goose
- Claude Code vs HarnessRouter
- Claude Code vs Kilo Code CLI
- Claude Code vs Kiro CLI
- Claude Code vs Muse Code
- Claude Code vs OpenAI Codex
- Claude Code vs OpenCode
- Claude Code vs OpenHands
- Claude Code vs Prime Agent
- Claude Code vs Qwen Code
- Claude Code vs Mirror CLI
- Cline vs Harness²
- Cursor CLI vs Harness²
- Devin vs Harness²
- Droid CLI vs Harness²
- Pi vs Harness²
- Gemini CLI vs Harness²
- GitHub Copilot CLI vs Harness²
- goose vs Harness²
- Harness² vs HarnessRouter
- Harness² vs Kilo Code CLI
- Harness² vs Kiro CLI
- Harness² vs Muse Code
- Harness² vs OpenAI Codex
- Harness² vs OpenCode
- Harness² vs OpenHands
- Harness² vs Prime Agent
- Harness² vs Qwen Code
- Harness² vs Mirror CLI
- Claude Code vs CLI Manager
- Claude Code vs Harness
- Claude Code vs Paperclip
- Claude Code vs Parallax
Disclosure
Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and re-checked on 15 October 2026 with every judgement call written in the note. Since that date the panel reviews it too, at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.
Machine-readable
- This page as Markdown
/compare/claude-code-vs-harness2.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/claude-code.json·/api/v1/tools/harness2.json - From a terminal
anchor compare claude-code harness2(the CLI) - Over MCP
compare_tools {"a": "claude-code", "b": "harness2"}at/mcp, no key