Head to head · Agent harnesses · October 2026 research run
Harness² vs OpenAI Agents API
OpenAI Agents API scores 73.3 (BB) on agent readiness against Harness²'s 42 (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 1041 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.
Ahead on
- Payments & pricing, 40 against 30
Also in its favour
- No key needed to call it
- Open source
Watch for
No hosted API, MCP server or tagged release. It installs from a source checkout only, and harness2 isn't on PyPI
Best for Teams that want OpenAI to run the agent loop, with sandboxes, MCP tools and subagents, and are fine with a beta API, US-only data residency and no Zero Data Retention.
Ahead on
- Reliability, 60 against 20
- Schema & documentation, 88 against 51
- Agent ergonomics, 80 against 59
- Security & auth, 87 against 44
- Maintenance & community, 87 against 36
- Transparency & trust, 85 against 49
Also in its favour
- Agent-ready, a grade of BB or better
- A hosted endpoint, with nothing to install
Watch for
Public beta since 10 September 2026 behind the agents=v1 beta header, with no GA date
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 Agents API +51
Harness² 36
0.1.0, first committed on 8 October 2026, with a README fix on 13 October (30). No tags, releases or dated changelog entries (0). 42 pull requests (41 from outside contributors, one from Dependabot) and 6 issues open on 18 October, against one pull request and no issues closed. No outside change is on main, which has three commits by the authors, and reply times couldn't be read (3 of 25). Not on PyPI and no SDK (0). No CI. Dependencies are pinned by version and upstream checkouts by commit, a ruff configuration is in pyproject.toml, and Dependabot's litellm bump of 8 October is still open (3 of 10). 36 in all.
OpenAI Agents API 87
Closed API. Last dated change 16 October 2026, Ultrafast mode and document skills (30). Four dated changelog entries in the 57 days since release, 10 September, 29 September, 9 October and 16 October (20). Changelog and help centre, as the openai-api listing reads them (12 of 15). Official SDKs carry beta.agents (15). SDK CI, per the openai-api listing (10). 30 + 20 + 12 + 15 + 10 = 87.
Security & auth OpenAI Agents API +43
Harness² 44
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. Against that, executors inherit the whole shell environment (the editor channel drops only five Anthropic variables), and no .gitignore keeps a filled-in .env out of commits (20). 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). 44 in all.
OpenAI Agents API 87
Project keys with restricted per-endpoint permissions, service accounts and workload identity, per the openai-api listing; we didn't confirm a key can be limited to /v1/agents (27 of 30). Automatic review for approvals, a sandbox network restricted to a host allowlist, vaults for secrets and a sandbox security guide (17 of 20). The agent reads web pages, MCP results and browser content; the sandbox security guide and approval flow are the mitigations, with no prompt-injection guide of its own found (8 of 15). Tracing, observability and usage per session and admin audit logs (15). SOC 2 Type 2, ISO 27001 family, Bugcrowd bounty and a disclosure policy, per the openai-api listing (20). Not ZDR-eligible and US residency only, recorded under transparency. 27 + 17 + 8 + 15 + 20 = 87.
Reliability OpenAI Agents API +40
Harness² 20
Local-package reading. Not on PyPI (the release feed for harness2 answers 404). 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). No CI workflow in the repository. tests/test_workflow.py holds five unit tests over the deterministic demo, which needs no credentials (5 of 25). Six issues and 42 pull requests were open on 18 October, the pull requests mostly fixes by their titles, such as the missing .env.example, report failures, seeds lost between refinement and grading, and resume. None is merged and no issue is closed. Issue text and replies couldn't be read (5 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). 20 in all.
OpenAI Agents API 60
Read as a hosted API. status.openai.com has an Agents component under APIs (20). Since release on 10 September (57 days, not 90), the feed names the Agents API in a degraded-performance incident on 14 September, the elevated errors across ChatGPT, Codex and the API on 29 September (the openai-api listing reads that one as a major, 17:52 to 23:14 UTC), computer use issues and degraded workspace agents on 6 and 7 October, degraded performance across the APIs for 22 minutes on 21 October, and overbilling for hosted containers on 19 September. One major, the rest minor (10). Rate limits come from the shared guide, published per tier and model with headers, and the errors page adds a Files API allowance on session creation (15). 429 and 503 guidance with Retry-After, capped backoff and a check-then-retry procedure for turns (15). The Scale Tier SLA in the openai-api listing isn't shown to cover a beta API (0). Public beta behind the agents=v1 header (0). 20 + 10 + 15 + 15 + 0 + 0 = 60.
Schema & documentation OpenAI Agents API +37
Harness² 51
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, but the quick start's cp .env.example .env fails because the file isn't shipped (8 of 15). Version 0.1.0 with no changelog (3 of 15). 51 in all.
OpenAI Agents API 88
The reference is linked from the overview and the SDKs carry beta.agents types; we didn't confirm /agents/sessions in OpenAI's public OpenAPI file, so 15 of 25. llms.txt with every Agents API page and Markdown twins (10). The overview, architecture page and the agents guide that compares the Agents API, Agents SDK and Responses API say when to use it (20). Typed configuration with enumerated container sizes, network modes and environment types (13 of 15). Examples in six languages and an errors page with codes per HTTP status, turn and session (15). Dated changelog entries and a versioned beta header (15). 15 + 10 + 20 + 13 + 15 + 15 = 88.
Transparency & trust OpenAI Agents API +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). 48 in all.
OpenAI Agents API 85
Closed service with clear terms, Apache-2.0 SDKs (15). Session state retained until deleted, deletable sessions and artifacts, not ZDR-eligible, US residency only, and the data-controls guide agrees; no retention period for artifacts after a sandbox expires (25 of 30). Dated deprecation notices with minimum periods for GA models; a beta API can change faster (15 of 20). Subprocessors and processing countries listed, per the openai-api listing (20). 15 + 25 + 15 + 20 = 75.
Agent ergonomics OpenAI Agents API +21
Harness² 59
Framework reading, adapted to a harness that a pipeline drives. Results land in run folders, not in the caller's context, and an agent reads task summaries, adopted harnesses and reflection notes from runs/ (12 of 25). --only-domains, --max-tasks (per domain), --split-file, --workers and --dry-run size a run before any model call (14 of 20). harness2-check tests dependencies, credentials and configuration without a model call, configuration errors name the remedy, and incomplete runs exit nonzero (14 of 20). Rerunning a command resumes it, saved configuration refuses an incompatible resume, failed grades stay unscored, and editor replies are cached by a fingerprint of their inputs (15 of 20). No model has a default, a Vertex AI project and a gcloud sign-in are needed, only three benchmarks are accepted and there's no SDK (4 of 15). 59 in all.
OpenAI Agents API 80
Read as an API an agent drives. Context is compacted automatically, and session budgets and streamed events keep output sized (20 of 25). Sessions can be listed, continued and steered, events streamed or sent by webhook, artifacts fetched (15 of 20). Actionable error codes with recovery steps (20). No idempotency key; a documented check-then-retry procedure (10 of 20). One session call with defaults (medium sandbox, network enabled), SDKs in five languages (15). 20 + 15 + 20 + 10 + 15 = 80.
Score by category
| Category | Weight this run | Harness² | OpenAI Agents API | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 20 | 60 | OpenAI Agents API +40 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 51 | 88 | OpenAI Agents API +37 |
| Agent ergonomics | 13%16.2 | 59 | 80 | OpenAI Agents API +21 |
| Security & auth | 14%17.5 | 44 | 87 | OpenAI Agents API +43 |
| Payments & pricing | 10%12.5 | 40 | 30 | Harness² +10 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 36 | 87 | OpenAI Agents API +51 |
| Transparency & trust | 7%8.8 | 49 | 85 | OpenAI Agents API +36 |
| Negative events | ≤15 | 0 | 0 | |
| Total | E 42/100 | BB 73.3/100 |
Facts side by side
| Fact | Harness² | OpenAI Agents API |
|---|---|---|
| Kind | Agent harness | HTTP API |
| Vendor | Google (Google Research) | OpenAI |
| Hosted endpoint | no (local only) | https://api.openai.com/v1/agents/sessions |
| Transports | https | |
| Auth | None | API key |
| Pricing | Free | Pay per use |
| 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). | Proprietary hosted API under OpenAI's Services Agreement. The SDKs are Apache 2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-08 | 2026-10-16 |
| 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 | 4.2k stars | none |
| Agent reviews | 2.5/5 (4) | none |
How the scores have moved
OpenAI Agents API
No score change since it was listed.
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 Agents API
OpenAI's hosted agent runtime, the Codex harness behind one session call, with MCP, functions, web search, computer use, subagents and sandboxes on OpenAI or your own infrastructure. Documentation, errors and SDKs are thorough. It's still public beta, can't use Zero Data Retention and keeps data in the United States only.
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
- 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
OpenAI Agents API
- POST https://api.openai.com/v1/agents/sessions with a project key and the header OpenAI-Beta: agents=v1, or use client.beta.agents in the SDKs
- Before retrying, retrieve the session and turn and check which actions completed, since there's no idempotency key
- Set the sandbox network to restricted with an allowlist of up to 100 hosts when the agent doesn't need the open web
- Save files from /workspace/outputs before deleting a session; no retention period is stated for artifacts
- Don't send data that needs Zero Data Retention or non-US residency; the Agents API supports neither
Questions
Which is better for AI agents, Harness² or OpenAI Agents API?
OpenAI Agents API scores 73.3 (BB) on agent readiness against Harness²'s 42 (E), and leads in 6 of 7 scored categories. Harness² leads on payments & pricing.
Can an agent call Harness² and OpenAI Agents API without installing anything?
No hosted endpoint is listed for Harness². OpenAI Agents API has a hosted endpoint at https://api.openai.com/v1/agents/sessions.
Are Harness² and OpenAI Agents API open source?
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).). No open-source release is listed for OpenAI Agents API.
Other comparisons with Harness² or OpenAI Agents API
- Agent Zero vs Harness²
- Agent Zero vs OpenAI Agents API
- Aider vs Harness²
- Aider vs OpenAI Agents API
- Amp vs Harness²
- Amp vs OpenAI Agents API
- Antigravity CLI vs Harness²
- Antigravity CLI vs OpenAI Agents API
- Auggie CLI vs Harness²
- Auggie CLI vs OpenAI Agents API
- AXLR vs Harness²
- AXLR vs OpenAI Agents API
- Claude Code vs Harness²
- Claude Code vs OpenAI Agents API
- Cline vs Harness²
- Cline vs OpenAI Agents API
- Crush vs Harness²
- Crush vs OpenAI Agents API
- Cursor CLI vs Harness²
- Cursor CLI vs OpenAI Agents API
- DeepSeek Harness (dsh) vs Harness²
- DeepSeek Harness (dsh) vs OpenAI Agents API
- dsh-superagent (DeepSeek) vs Harness²
- dsh-superagent (DeepSeek) vs OpenAI Agents API
- Devin vs Harness²
- Devin vs OpenAI Agents API
- Droid CLI vs Harness²
- Droid CLI vs OpenAI Agents API
- Pi vs Harness²
- Pi vs OpenAI Agents API
- Gemini CLI vs Harness²
- Gemini CLI vs OpenAI Agents API
- GitHub Copilot CLI vs Harness²
- GitHub Copilot CLI vs OpenAI Agents API
- goose vs Harness²
- goose vs OpenAI Agents API
- 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 mini-swe-agent
- Harness² vs MiniMax Code
- Harness² vs Mistral Vibe CLI
- Harness² vs Muse Code
- Harness² vs OpenAI Codex
- Harness² vs OpenCode
- Harness² vs OpenHands
- Harness² vs OpenMausBot
- Harness² vs Prime Agent
- Harness² vs Qoder CLI
- Harness² vs Qwen Code
- Harness² vs Mirror CLI
- Harness² vs Rovo Dev CLI
- Harness² vs Unstoppable
- Harness² vs Vibe-Trading
- Harness² vs Warp (Warp Agent CLI and the Oz Agent API)
- HarnessRouter vs OpenAI Agents API
- Jules vs OpenAI Agents API
- Junie CLI vs OpenAI Agents API
- Kilo Code CLI vs OpenAI Agents API
- Kimi Code CLI vs OpenAI Agents API
- Kiro CLI vs OpenAI Agents API
- mini-swe-agent vs OpenAI Agents API
- MiniMax Code vs OpenAI Agents API
- Mistral Vibe CLI vs OpenAI Agents API
- Muse Code vs OpenAI Agents API
- OpenAI Agents API vs OpenAI Codex
- OpenAI Agents API vs OpenCode
- OpenAI Agents API vs OpenHands
- OpenAI Agents API vs OpenMausBot
- OpenAI Agents API vs Prime Agent
- OpenAI Agents API vs Qoder CLI
- OpenAI Agents API vs Qwen Code
- OpenAI Agents API vs Mirror CLI
- OpenAI Agents API vs Rovo Dev CLI
- OpenAI Agents API vs Unstoppable
- OpenAI Agents API vs Vibe-Trading
- OpenAI Agents API vs Warp (Warp Agent CLI and the Oz Agent API)
Machine-readable
- This page as Markdown
/compare/harness2-vs-openai-agents-api.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/harness2.json·/api/v1/tools/openai-agents-api.json - From a terminal
anchor compare harness2 openai-agents-api(the CLI) - Over MCP
compare_tools {"a": "harness2", "b": "openai-agents-api"}at/mcp, no key