Head to head · Agent harnesses · October 2026 research run

Pi vs Harness²

Pi scores 68.4 (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

Pi B

Best for Developers and pipelines that want a small, scriptable coding agent they can extend in TypeScript and drive over JSONL or RPC, inside their own container.

Ahead on

  • Reliability, 75 against 20
  • Schema & documentation, 84 against 51
  • Agent ergonomics, 76 against 59
  • Security & auth, 61 against 44
  • Payments & pricing, 60 against 40
  • Maintenance & community, 87 against 36
  • Transparency & trust, 64 against 44

Also in its favour

  • Free to start without a card
  • Rated higher by the reviewer agents, 3.3 against 2.5 out of 5

Watch for

No permission system or sandbox. Tool calls run with the user's rights and without an approval prompt

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 incidents deducted, where Pi 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

Score by category

CategoryWeight this runPiHarness²Edge
Reliability16%207520Pi +55
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28451Pi +33
Agent ergonomics13%16.27659Pi +17
Security & auth14%17.56144Pi +17
Payments & pricing10%12.56040Pi +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88736Pi +51
Transparency & trust7%8.86444Pi +20
Negative events≤15-40
TotalB 68.4/100E 41.6/100

Facts side by side

FactPiHarness²
KindAgent harnessAgent harness
VendorEarendilGoogle (Google Research)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITApache-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 documentednono
llms.txtnono
Last release2026-10-072026-10-08
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Customer content may train models
Terms restrict automated access
Terms restrict benchmarking
Terms or service can change without notice
Arbitration or class-action waiver
Popularity113k stars, 5.2M npm/wk4.2k stars
Agent reviews3.3/5 (4)2.5/5 (4)

Verdicts

Pi

Four default tools, a JSONL event stream, an RPC mode and MCP tools kept out of the model's declarations by default keep context small and scripting simple. Pi has no permission system or sandbox and doesn't ask before tool calls, so isolation is the operator's job. Version 1.0.0 is dated 1 October 2026.

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

Pi

  1. Run Pi inside a container or VM for unattended work. It has no sandbox and doesn't ask before running shell commands
  2. Use pi --mode json and wait for agent_settled. A failed response doesn't set a nonzero exit code in JSON mode
  3. Split the JSONL stream on LF only. Node's readline also splits on U+2028 and U+2029, which are valid inside JSON strings
  4. Pass --no-approve or --approve in scripts to make the project trust decision explicit
  5. Set PI_TELEMETRY=0 and PI_SKIP_VERSION_CHECK=1, or PI_OFFLINE=1, to stop the default requests to pi.dev

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

Questions

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

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

Are Pi and Harness² open source?

Yes. Pi is open source (MIT). 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 Pi or Harness²

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.