Head to head · Agent harnesses · October 2026 research run

AgentRun vs OpenAI Agents API

OpenAI Agents API scores 75.2 (BB) on agent readiness against AgentRun's 74.1 (BB), and leads in 2 of 7 scored categories. AgentRun leads on reliability, agent ergonomics and payments & pricing. Both do agent harnesses.

Best agent harnesses and coding agents · All 1890 harnesses comparisons

Which one, for what

AgentRun BB

Best for Teams that want to run several Claude Code, Codex, pi or OpenCode agents on their own infrastructure with recovery, spend caps and learned workflows, driven by API or MCP.

Ahead on

  • Reliability, 70 against 60
  • Agent ergonomics, 85 against 80
  • Payments & pricing, 60 against 45

Also in its favour

  • Open source

Watch for

Still 0.1.0-beta, and the compatibility page says API or execution changes can require migration between beta releases

OpenAI Agents API BB

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

  • Security & auth, 87 against 60
  • Transparency & trust, 85 against 70

Also in its favour

  • 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.

Security & auth OpenAI Agents API +27

AgentRun 60

Harness reading, as for HarnessRouter and herdr. What leaves the machine and credentials, 18 of 30. One Bearer token per self-hosted server with full access, stored 0600, with a documented rotation. The MCP endpoint refuses a foreign browser Origin. Anonymous usage counts are on by default with an opt-out. Approvals and sandboxing, 16 of 20. Tools can be set to ask or deny, and an ask parks the run for the owner. Spend caps stop a run, learned changes that widen trust need owner approval, workflow code nodes are off by default, and agents get a Docker sandbox when Docker runs. Without Docker there is no shell. Prompt injection, 6 of 15. SECURITY.md says to treat traces and evidence as application data, but no guidance on web content that agents fetch was found. Audit, 13 of 15. A timeline of every message and tool call per run, with cost. Security programme, 7 of 20. SECURITY.md with GitHub private reporting, no security.txt, no bounty and no certification for AgentRun found. 18 + 16 + 6 + 13 + 7 = 60.

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.

Payments & pricing AgentRun +15

AgentRun 60

Scored on the hosted option, as for Friday. No payment protocol (0). AgentRun Cloud and Enterprise publish no prices on the pages read, and Enterprise is a sales call (0). The self-hosted platform is free under Apache-2.0 with no card (30). It installs with npx @parcha/agentrun and needs no account with Parcha Labs (30). 0 + 0 + 30 + 30 = 60.

OpenAI Agents API 45

No machine payment protocol (0). Model, tool and container prices published without a login, and no fee for the API itself (20). The Free tier reading of the openai-api listing, half (10). Sign-up in a browser (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Transparency & trust OpenAI Agents API +15

AgentRun 70

Editorial half. Apache-2.0 for the whole platform, the console, learning and recovery included (30). Self-hosted data stays in the configured data directory, while model calls go to the providers you set. AgentRun Cloud falls under Grep's privacy policy (effective 21 September 2026), which doesn't mention AgentRun, gives retention by criteria rather than periods, and lists no subprocessors. The terms' AI addendum says Parcha Labs has zero retention and zero training agreements with all its AI providers (15 of 30). Each release's changelog names breaking changes and how to go back, but the beta has no notice period, and the compatibility page says changes can require migration between betas (10 of 20). Telemetry is documented event by event, with an opt-out, a debug mode that prints instead of sending, and automatic off in CI (18 of 20). 30 + 15 + 10 + 18 = 73.

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.

Reliability AgentRun +10

AgentRun 70

Read as software the owner runs, the self-hosted server. Official npm packages (@parcha/agentrun 0.4.22, @parcha/agentrun-serve 0.1.0-beta.54) with Node 24.22.3 or newer on macOS or Linux stated, a server image on ghcr.io and a Python client on PyPI (20). .github/workflows/ci.yml builds, typechecks and runs sharded tests on each pull request and push, and docs/releasing.md says a release is published only after the required checks pass on main for the tagged commit. Run results couldn't be read from this session (17). 29 issues open on 23 November 2026, most filed by the maintainers' own bot accounts and days old. The three issues from outside users found were all closed, with one to three comments (18). Semver pre-release tags, and each CHANGELOG.md section carries Breaking and Upgrading and going back blocks (15). Still 0.1.0-beta, and docs/compatibility.md says the beta has no production support SLA (0). 20 + 17 + 18 + 15 + 0 = 70.

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.

Agent ergonomics AgentRun +5

AgentRun 85

MCP and API reading. 10 compact tools, under the 25-point line, less 2 because whoami returns the server's whole capability list (23 of 25). Cursor pages on agents and timeline, after and limit from 1 to 500 on events, file text cut at 64 KiB with a flag, but agents come 20 a page with no filters (15 of 20). Errors name the code, say whether a retry helps and, on 422, each failed field. The docs map 401, 409, 412, 422 and 429 to actions (18 of 20). Idempotency-Key on every create, with 409 on a different body, and readOnlyHint and destructiveHint on every tool. The MCP tools pass no idempotency key of their own (16 of 20). Few required fields and a default harness, but a model key or ChatGPT sign-in is needed before a run. TypeScript and Python clients (13 of 15). 23 + 15 + 18 + 16 + 13 = 85.

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

CategoryWeightAgentRunOpenAI Agents APIEdge
Reliability16%7060AgentRun +10
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8988AgentRun +1
Agent ergonomics13%8580AgentRun +5
Security & auth14%6087OpenAI Agents API +27
Payments & pricing10%6045AgentRun +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8887AgentRun +1
Transparency & trust7%7085OpenAI Agents API +15
Negative events≤1500
TotalBB 74.1/100BB 75.2/100

Facts side by side

FactAgentRunOpenAI Agents API
KindAgent harnessHTTP API
VendorParcha Labs, Inc.OpenAI
Hosted endpointno (local only)https://api.openai.com/v1/agents/sessions
TransportsHTTP, Streamable HTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceApache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.Proprietary hosted API under OpenAI's Services Agreement. The SDKs are Apache 2.0
Tools exposed10none
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-11-232026-10-16
Terms last updated2026-03-20couldn't be read
Privacy policy last updated2026-09-21couldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity1.3k stars, 3.6k npm/wknone

How the scores have moved

Verdicts

AgentRun

A self-hosted AgentRun server gives outside agents one typed /v2 API and a 10-tool MCP endpoint with idempotency keys, a closed error list, spend caps and per-tool approval gates, all under Apache-2.0. It is a two-month-old beta with breaking changes between releases, a single all-powerful server token, and no published price for the hosted Cloud.

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

AgentRun

  1. Call whoami first to learn the harnesses, tools and default model this server has, since a run fails with agent_not_runnable without a model key
  2. Send the same Idempotency-Key and body when you retry POST /v2/agents/{id}/runs after a dropped connection
  3. Set max_cost_usd on each run. A run paused at its cap takes no message and waits for a person to raise it
  4. Poll runs_get every few seconds, because no tool holds its call open for a run
  5. Ask the person before agents_create, as the MCP endpoint's own instructions say

OpenAI Agents API

  1. 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
  2. Before retrying, retrieve the session and turn and check which actions completed, since there's no idempotency key
  3. Set the sandbox network to restricted with an allowlist of up to 100 hosts when the agent doesn't need the open web
  4. Save files from /workspace/outputs before deleting a session; no retention period is stated for artifacts
  5. 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, AgentRun or OpenAI Agents API?

OpenAI Agents API scores 75.2 (BB) on agent readiness against AgentRun's 74.1 (BB), and leads in 2 of 7 scored categories. AgentRun leads on reliability, agent ergonomics and payments & pricing.

Can an agent call AgentRun and OpenAI Agents API without installing anything?

No hosted endpoint is listed for AgentRun. OpenAI Agents API has a hosted endpoint at https://api.openai.com/v1/agents/sessions.

Are AgentRun and OpenAI Agents API open source?

AgentRun is open source (Apache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.). No open-source release is listed for OpenAI Agents API.

Other comparisons with AgentRun or OpenAI Agents API

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.