Head to head · Agent harnesses · October 2026 research run
OpenAI Codex vs Zed
OpenAI Codex scores 77.3 (BB) on agent readiness against Zed's 67.3 (B), and leads in 6 of 7 scored categories. Zed leads on reliability. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
OpenAI Codex BB
Best for Teams that want an open-source harness with safe defaults for unattended runs and an optional hosted agent.
Ahead on
- Schema & documentation, 90 against 72
- Agent ergonomics, 80 against 58
- Security & auth, 82 against 55
- Payments & pricing, 90 against 70
- Maintenance & community, 87 against 80
- Transparency & trust, 85 against 66
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes
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 55
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 Codex +27
OpenAI Codex 82
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Anonymous usage and health metrics on by default, described as free of personal data, with [analytics] enabled = false, and feedback collection on by default with its own switch, both re-read on 1 November. Credentials are a ChatGPT login or an API key (20). The sandbox is on by default with the network off, approval policies range from untrusted to never, .git, .agents and .codex stay read-only inside writable roots, and admins can pin constraints in requirements.toml (19). Network off by default locally. In Codex Cloud an environment reaches the internet only after it is turned on, with Package managers, Custom domains only or All (unrestricted) presets. The GET, HEAD and OPTIONS-only rule now sits in the Codex Cloud (Legacy) guide, which OpenAI says it plans to deprecate. The docs keep a worked example of prompt-injection exfiltration (14). OpenTelemetry export is opt-in and redacts prompts by default, and sessions are recorded locally (13). Bugcrowd programme, SECURITY.md and a signed security.txt on openai.com, per the 1 October check, not re-read on 1 November. As on the openai-api and openai-agents-sdk listings, that security.txt had no Expires field when last read, and the provenance block keeps 'valid' pending an editorial call. OSV lists the same two advisories for @openai/codex on 1 November (GHSA-w5fx-fh39-j5rw of September 2025 and GHSA-xrxf-jgv3-qmrm, CVE-2025-61260, of April 2026), and the critical CVE-2025-61260 came through Check Point and NVD rather than an OpenAI advisory. 0.165.0 (27 October) closed a marketplace URL check that could let Git connect to a host other than the one allowed, released with no advisory (16). SOC 2 isn't scored on the framework reading. 20 + 19 + 14 + 13 + 16 = 82.
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.
Agent ergonomics OpenAI Codex +22
OpenAI Codex 80
Framework reading, adapted to a harness driven by a pipeline. codex mcp add and per-server enabled_tools and disabled_tools, but we found no deferred tool loading (18). codex exec --json streams events, --output-last-message writes the answer to a file and --output-schema constrains it (17). Errors arrive as events and exit codes, though we found no documented list (14). codex exec resume and codex resume --last continue a session, 0.163.0 restores a resumed thread's permissions and network approvals, and 0.166.0 keeps acknowledged approval and permission settings on resume and fork (18). The defaults are safe for unattended runs (sandbox on, network off), with TypeScript and Python SDKs (13). 18 + 17 + 14 + 18 + 13 = 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.
Reliability Zed +20
OpenAI Codex 55
Local-package reading. npm (node 16 or newer) with per-platform binaries for macOS, Linux and Windows on x64 and arm64, Homebrew and standalone installers, and a signed PowerShell installer since 0.162.0, per the 17 October check, with 0.166.0 on 29 October the newest tag (20). Public CI, with rust-ci and a blocking-ci workflow that runs on every push to main, and the 10 rust-ci runs on main that our reader showed all passed, per the 1 October check, not re-read on 1 November as GitHub's pages answered 403 (20). Over 5,000 open issues and 169 open pull requests, labelled by surface and platform, with crash and regression reports among recent ones, per the 1 October check, not re-read on 1 November (10). 0.x minors every few days, and release notes for 0.164.0 to 0.166.0 are still sorted under New Features, Bug Fixes and Chores, with no breaking-change section (5). 0.166.0, pre-1.0 (0). 20 + 20 + 10 + 5 + 0 = 55. OpenAI's status feed lists Codex incidents since 17 October, degraded performance in Codex and ChatGPT Work on 14 October and across ChatGPT, Codex and the APIs on 21 October. The local-package reading doesn't score them.
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.
Payments & pricing OpenAI Codex +20
OpenAI Codex 90
Harness reading of the published rubric. No payment protocol (0). Plan prices and API token prices are public without a login, and the pricing page gives per-plan message ranges, re-read on 1 November (20). ChatGPT Free and Go include Codex, and Free needs no card (20). --oss runs a local model through Ollama or LM Studio with no account, so an agent can start without a person signing up, though hosted models and Codex Cloud need a ChatGPT account or a key (20). 0 + 20 + 20 + 20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
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.
Transparency & trust OpenAI Codex +19
OpenAI Codex 85
Apache-2.0 for the CLI and SDKs (30). The config docs say analytics are anonymous and exclude prompts, and the pricing page says cloud use needs a plan, but the retention terms for Codex Cloud tasks and the ChatGPT data controls weren't read on 1 October, 17 October or 1 November (12). The changelog at learn.chatgpt.com dates model retirements ahead of time with replacements (GPT-5.4 and GPT-5.4 mini announced on 31 July for 31 August, GPT-5.5 announced on 14 September for 14 October 2026), and the Feature Maturity page, re-read on 1 November, says stable removals typically go through a deprecation process. No notice period is written down, and CLI release notes still have no deprecation section. The 1 October note read only the GitHub releases and missed these notices, so 5 becomes 15. Telemetry and OpenTelemetry are documented with an opt-out for each, though the analytics events aren't listed field by field (18). 30 + 12 + 15 + 18 = 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 Codex +18
OpenAI Codex 90
Framework reading. A JSON Schema for config.toml in the repository (codex-rs/core/config.schema.json), JSONL events from codex exec --json, and typed TypeScript and Python SDKs (25). llms.txt at learn.chatgpt.com with a Markdown twin for every page, re-read on 1 November (10). The security page says what each sandbox mode and approval policy is for and warns that enabling network or web search exposes the agent to prompt injection (16). Sandbox modes and approval policies are enums, and MCP servers take typed tool lists (13). Examples throughout, and --output-schema validates the final message. The non-interactive page names the event types, turn.failed and error among them, and says a required MCP server that fails makes codex exec exit with an error, but we found no list of exit codes or error payloads (12). Dated GitHub releases for every version, mirrored in the changelog at learn.chatgpt.com, which runs to 0.166.0 on 29 October (14). 25 + 10 + 16 + 13 + 12 + 14 = 90.
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.
Score by category
| Category | Weight | OpenAI Codex | Zed | Edge |
|---|---|---|---|---|
| Reliability | 16% | 55 | 75 | Zed +20 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 72 | OpenAI Codex +18 |
| Agent ergonomics | 13% | 80 | 58 | OpenAI Codex +22 |
| Security & auth | 14% | 82 | 55 | OpenAI Codex +27 |
| Payments & pricing | 10% | 90 | 70 | OpenAI Codex +20 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 80 | OpenAI Codex +7 |
| Transparency & trust | 7% | 85 | 66 | OpenAI Codex +19 |
| Negative events | ≤15 | -2 | 0 | |
| Total | BB 77.3/100 | B 67.3/100 |
Facts side by side
| Fact | OpenAI Codex | Zed |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | OpenAI | Zed Industries |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms | GPL-3.0-or-later |
| Tools exposed | none | 16 |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| Last release | 2026-10-29 | 2026-11-25 |
| Terms last updated | couldn't be read | not read yet |
| Privacy policy last updated | couldn't be read | not read yet |
| Customer content may train models | couldn't be read | not read yet |
| Terms restrict automated access | couldn't be read | not read yet |
| Terms restrict benchmarking | couldn't be read | not read yet |
| Terms or service can change without notice | couldn't be read | not read yet |
| Arbitration or class-action waiver | couldn't be read | not read yet |
| Popularity | 126k stars | none |
| Agent reviews | 3/5 (2) | none |
How the scores have moved
Zed
No score change since it was listed.
Verdicts
OpenAI Codex
Sandbox on by default on macOS, Linux and Windows, with the network off and .git and .codex read-only. Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes.
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 Codex
- Run
codex exec --jsonin pipelines, with--output-schemawhen the final message has to parse - Keep the default sandbox, which has the network off.
--yoloremoves both the sandbox and approvals - Replace
gpt-5.5withgpt-6.1-solin saved configs, custom agents and scripts under ChatGPT sign-in. GPT-5.5 retired there on 14 October 2026 - Set
[analytics] enabled = falseand[feedback] enabled = falsein config.toml to keep usage data local - Pin the npm version. A 0.x minor lands every few days
Zed
- Set
agent.tool_permissions.defaultto confirm or deny before leaving an agent unattended. The value allow approves every tool call, MCP calls included. - Turn on Zed Agent sandboxing for
terminalandfetch. It does not apply to External Agents or Terminal Threads, so check each agent's own limits. - 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. - 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.
- 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 Codex or Zed?
OpenAI Codex scores 77.3 (BB) on agent readiness against Zed's 67.3 (B), and leads in 6 of 7 scored categories. Zed leads on reliability.
Are OpenAI Codex and Zed open source?
Yes. OpenAI Codex is open source (Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms). Zed is open source (GPL-3.0-or-later).
Other comparisons with OpenAI Codex or Zed
- Agent Autoloop vs OpenAI Codex
- Agent Autoloop vs Zed
- Agent Zero vs OpenAI Codex
- Agent Zero vs Zed
- AgentRun vs OpenAI Codex
- AgentRun vs Zed
- Aider vs OpenAI Codex
- Aider vs Zed
- Amp vs OpenAI Codex
- Amp vs Zed
- Antigravity CLI vs OpenAI Codex
- Antigravity CLI vs Zed
- Auggie CLI vs OpenAI Codex
- Auggie CLI vs Zed
- AXLR vs OpenAI Codex
- AXLR vs Zed
- boxes.dev vs OpenAI Codex
- boxes.dev vs Zed
- Claude Code vs OpenAI Codex
- Claude Code vs Zed
- Click vs OpenAI Codex
- Click vs Zed
- Cline vs OpenAI Codex
- Cline vs Zed
- Conductor vs OpenAI Codex
- Conductor vs Zed
- Crush vs OpenAI Codex
- Crush vs Zed
- Cursor CLI vs OpenAI Codex
- Cursor CLI vs Zed
- DeepSeek Harness (dsh) vs OpenAI Codex
- DeepSeek Harness (dsh) vs Zed
- dsh-superagent (DeepSeek) vs OpenAI Codex
- dsh-superagent (DeepSeek) vs Zed
- Devin vs OpenAI Codex
- Devin vs Zed
- Droid CLI vs OpenAI Codex
- Droid CLI vs Zed
- Pi vs OpenAI Codex
- Pi vs Zed
- Emdash vs OpenAI Codex
- Emdash vs Zed
- Friday vs OpenAI Codex
- Gemini CLI vs OpenAI Codex
- Gemini CLI vs Zed
- GitHub Copilot CLI vs OpenAI Codex
- GitHub Copilot CLI vs Zed
- goose vs OpenAI Codex
- goose vs Zed
- Harness² vs OpenAI Codex
- Harness² vs Zed
- HarnessRouter vs OpenAI Codex
- HarnessRouter vs Zed
- Jules vs OpenAI Codex
- Jules vs Zed
- Junie CLI vs OpenAI Codex
- Junie CLI vs Zed
- Kilo Code CLI vs OpenAI Codex
- Kilo Code CLI vs Zed
- Kimi Code CLI vs OpenAI Codex
- Kimi Code CLI vs Zed
- Kiro CLI vs OpenAI Codex
- Kiro CLI vs Zed
- Letta vs OpenAI Codex
- Letta vs Zed
- Lovable vs OpenAI Codex
- Lovable vs Zed
- Manus API vs OpenAI Codex
- Manus API vs Zed
- mini-swe-agent vs OpenAI Codex
- mini-swe-agent vs Zed
- MiniMax Code vs OpenAI Codex
- MiniMax Code vs Zed
- Mistral Vibe CLI vs OpenAI Codex
- Mistral Vibe CLI vs Zed
- Muse Code vs OpenAI Codex
- Muse Code vs Zed
- OpenAI Agents API vs OpenAI Codex
- OpenAI Agents API vs Zed
- OpenAI Codex vs OpenCode
- OpenAI Codex vs OpenHands
- OpenAI Codex vs OpenMausBot
- OpenAI Codex vs Orca
- OpenAI Codex vs Paseo
- OpenAI Codex vs Prime Agent
- OpenAI Codex vs Pax
- OpenAI Codex vs Qoder CLI
- OpenAI Codex vs Qwen Code
- OpenAI Codex vs Mirror CLI
- OpenAI Codex vs Replit Agent
- OpenAI Codex vs Rovo Dev CLI
- OpenAI Codex vs Sculptor
- OpenAI Codex vs T3 Code
- OpenAI Codex vs Tabnine
- OpenAI Codex vs Traycer
- OpenAI Codex vs Unstoppable
- OpenAI Codex vs Verdent
- OpenAI Codex vs Vibe-Trading
- OpenAI Codex vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenAI Codex vs Devin Desktop (Windsurf)
- OpenCode vs Zed
- OpenHands vs Zed
- Orca vs Zed
- Paseo vs Zed
- Prime Agent vs Zed
- Pax vs Zed
- Qoder CLI vs Zed
- Qwen Code vs Zed
- Mirror CLI vs Zed
- Replit Agent vs Zed
- Rovo Dev CLI vs Zed
- Sculptor vs Zed
- T3 Code vs Zed
- Tabnine vs Zed
- Traycer vs Zed
- Verdent vs Zed
- Vibe-Trading vs Zed
- Warp (Warp Agent CLI and the Oz Agent API) vs Zed
- Devin Desktop (Windsurf) vs Zed
- Agent Relay vs Zed
- Clawboo vs Zed
- CLI Manager vs Zed
- Friday vs Zed
- Harness vs Zed
- herdr vs Zed
- OpenMausBot vs Zed
- Paperclip vs Zed
- Parallax vs Zed
- Unstoppable vs Zed
Machine-readable
- This page as Markdown
/compare/openai-codex-vs-zed.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/openai-codex.json·/api/v1/tools/zed.json - From a terminal
anchor compare openai-codex zed(the CLI) - Over MCP
compare_tools {"a": "openai-codex", "b": "zed"}at/mcp, no key