Head to head · Agent harnesses · October 2026 research run

OpenAI Agents API vs Zed

OpenAI Agents API scores 75.2 (BB) on agent readiness against Zed's 67.3 (B), and leads in 5 of 7 scored categories. Zed leads on reliability and payments & pricing. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

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

  • Schema & documentation, 88 against 72
  • Agent ergonomics, 80 against 58
  • Security & auth, 87 against 55
  • Maintenance & community, 87 against 80
  • Transparency & trust, 85 against 66

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

Zed B

Best for A developer who wants a fast editor that hosts several agents behind one review surface and one MCP configuration.

Ahead on

  • Reliability, 75 against 60
  • Payments & pricing, 70 against 45

Also in its favour

  • Free to start without a card
  • Open source

Watch for

No headless or scripted agent mode found. The zed CLI documents opening files and windows

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 +32

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.

Zed 55

Harness reading of the framework checklist. What leaves the machine (24 of 30). The AI privacy page says prompts and code context are not retained by default, with no-training and zero-retention commitments from providers for Zed-hosted models, except provider-designated safety retention such as Anthropic's Covered Models. Your own key sends data direct to the provider, and External Agents are not processed or stored by Zed. Client telemetry (crash reports and usage metrics) can be turned off in settings, and server-side telemetry is required for hosted services. Approvals and sandboxing (18 of 20). Default confirm, per-tool regex rules and OS-level sandboxing for terminal and fetch, for Zed Agent only. Prompt-injection posture (3 of 15). No guidance was found in the docs read. Audit (5 of 15). Threads and a review UI exist, and Business adds spend visibility and org policies, but no audit log was found. Security programme (5 of 20). The SOC 2 page says Zed is working towards Type 1. zed.dev/security and any security.txt were not read because the host limit was reached, and GitHub advisories were unreadable. 24 + 18 + 3 + 5 + 5 = 55.

Payments & pricing Zed +25

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.

Zed 70

No payment protocol (0). Pricing is public without a login for Personal ($0), Pro ($10 a month with $5 of tokens, then API list price plus 10 per cent) and Business ($30 a seat a month). Per-model prices sit on a page we did not read (25 of 30). Personal is free with your own keys or external agents, and the 14-day Pro trial needs no card (30). Using your own key or an external agent needs no Zed account per the pricing page, but we did not confirm an account is never prompted for, and a person installs the app (15 of 30). 0 + 25 + 30 + 15 = 70.

Agent ergonomics OpenAI Agents API +22

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.

Zed 58

Harness reading, scored on what a person or pipeline driving it must supply. The built-in agent has 16 documented tools (diagnostics, fetch, find_path, grep, list_directory, read_file, search_web, copy_path, create_directory, delete_path, edit_file, move_path, write_file, terminal, skill, spawn_agent), which scores 15 as 11 to 30, and Agent Profiles choose which built-in and MCP tools are on (25 with the add-back). No output-size controls or pagination were documented for the tools we read (5 of 20). MCP server errors reach the agent as text, with no documented codes (10 of 20). Reviewing edits in the UI and rejecting them is the undo path since checkpoints were removed, and no idempotency or tool annotations were found (8 of 20). Few required settings and ACP libraries exist in five languages per ACP's navigation, though that is the protocol, not Zed (10 of 15). 25 + 5 + 10 + 8 + 10 = 58.

Transparency & trust OpenAI Agents API +19

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.

Zed 66

The source is GPL-3.0-or-later with Apache-2.0 components where marked, per the README, and the licence of the collaboration server was not found (28 of 30). The privacy policy (updated 18 November 2026), the AI privacy page, the feedback and training-data page and a subprocessor list dated 2 March 2026 agree that prompts are not retained by default, and the repository's legal folder was read from the main branch, not the live pages (26 of 30). Breaking changes are named in dated release notes, with no written deprecation policy (12 of 20). The telemetry page names Sentry, Snowflake, Hex and Amplitude, says client telemetry can be disabled and says server-side data is needed for hosted services (16 of 20). 28 + 26 + 12 + 16 = 82.

Schema & documentation OpenAI Agents API +16

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.

Zed 72

Docs read as a harness. Docs are a set of Markdown pages indexed at zed.dev/docs/llms.txt (10). The only machine-readable contract found is the Agent Client Protocol's published schema, which sits in ACP's own docs and which we saw only in its navigation, plus JSON settings with documented keys (12 of 25). Each tool page states what the tool does with an example, and the tool-permissions page says when to use each setting (14 of 20). Settings use typed keys such as agent.tool_permissions.default with three allowed values and regex patterns, but no JSON Schema file was read (10 of 15). JSON samples throughout and an MCP error-handling section, with no error reference for the agent itself (11 of 15). Dated releases and a changelog with a notices section (15). 10 + 12 + 14 + 10 + 11 + 15 = 72.

Reliability Zed +15

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.

Zed 75

Read as local software. Installers for macOS 12 or later (the 1.28.1 notes), Windows and Linux, with weekly stable releases (20). The repository has CI workflows including run_tests.yml, but GitHub's Actions pages refuse our reader, so pass state on main is unread (15, as for cline). Open crash and regression issues could not be read, so the line gets a middling award (10 of 25). Release notes are dated, carry a Breaking Changes and Notices section, and name the old setting and its replacement when a default changes (15). Stable is 1.30.2, past 1.0 (15). 20 + 15 + 10 + 15 + 15 = 75.

Score by category

CategoryWeightOpenAI Agents APIZedEdge
Reliability16%6075Zed +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8872OpenAI Agents API +16
Agent ergonomics13%8058OpenAI Agents API +22
Security & auth14%8755OpenAI Agents API +32
Payments & pricing10%4570Zed +25
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8780OpenAI Agents API +7
Transparency & trust7%8566OpenAI Agents API +19
Negative events≤1500
TotalBB 75.2/100B 67.3/100

Facts side by side

FactOpenAI Agents APIZed
KindHTTP APIAgent harness
VendorOpenAIZed Industries
Hosted endpointhttps://api.openai.com/v1/agents/sessionsno (local only)
TransportsHTTP
AuthAPI keyOAuth or key
PricingPay per useFreemium
x402nono
LicenceProprietary hosted API under OpenAI's Services Agreement. The SDKs are Apache 2.0GPL-3.0-or-later
Tools exposednone16
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-162026-11-25
Terms last updatedcouldn't be readnot read yet
Privacy policy last updatedcouldn't be readnot read yet
Customer content may train modelscouldn't be readnot read yet
Terms restrict automated accesscouldn't be readnot read yet
Terms restrict benchmarkingcouldn't be readnot read yet
Terms or service can change without noticecouldn't be readnot read yet
Arbitration or class-action waivercouldn't be readnot read yet

How the scores have moved

OpenAI Agents API

Zed

No score change since it was listed.

Verdicts

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.

Zed

A fast editor whose native agent asks before tools run, can confine terminal and fetch calls in an OS sandbox, and hosts outside agents over the Agent Client Protocol. Stable releases ship weekly with dated notes. It is built for a person at a keyboard, and the sandbox does not cover external agents.

Before you call either

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

Zed

  1. Set agent.tool_permissions.default to confirm or deny before leaving an agent unattended. The value allow approves every tool call, MCP calls included.
  2. Turn on Zed Agent sandboxing for terminal and fetch. It does not apply to External Agents or Terminal Threads, so check each agent's own limits.
  3. Install outside agents from the ACP Registry (zed: acp registry). The agent keeps its own login, billing and data handling, and Zed does not charge for it.
  4. Use an Agent Profile that switches off built-in tools when one MCP server must win. Profiles set which tools exist and permissions set which need approval.
  5. Do not plan on driving Zed from a script. Run the agent's own CLI for headless work and use Zed for the review step.

Questions

Which is better for AI agents, OpenAI Agents API or Zed?

OpenAI Agents API scores 75.2 (BB) on agent readiness against Zed's 67.3 (B), and leads in 5 of 7 scored categories. Zed leads on reliability and payments & pricing.

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

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

Are OpenAI Agents API and Zed open source?

No open-source release is listed for OpenAI Agents API. Zed is open source (GPL-3.0-or-later).

Other comparisons with OpenAI Agents API or Zed

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.