Head to head · Agent harnesses · October 2026 research run
Agent Zero vs OpenAI Codex
OpenAI Codex scores 77.3 (BB) on agent readiness against Agent Zero's 49.7 (D), and leads in 5 of 7 scored categories. Both do agent harnesses.
Best agent harnesses and coding agents · All 1890 harnesses comparisons
Which one, for what
Best for A technical owner who wants an agent with its own Linux machine, reachable from Telegram, WhatsApp or email, with scheduled tasks and editable memory.
Also in its favour
- No key needed to call it
Watch for
No approval step before shell commands, file changes or outgoing messages. Tool Access defaults to allow
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 64
- Agent ergonomics, 80 against 62
- Security & auth, 82 against 54
- Maintenance & community, 87 against 75
- Transparency & trust, 85 against 64
Also in its favour
- Agent-ready, a grade of BB or better
- Free to start without a card
Watch for
Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes
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 +28
Agent Zero 54
Harness reading of the framework checklist, the one the Goose calibration dossier uses. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. No usage telemetry was found in the source. An update check, on by default, posts the version and a 20-character SHA-256 hash of a random per-install id to api.agent-zero.ai. The Update Checker settings page says only that ID and the version are sent and has an off switch. Something still leaves the machine by default, so the partial is kept (22). The agent works inside a Docker container built on Kali Linux and runs as root there. Tool Access can block tools by project or profile and defaults to allow, host access through the A0 CLI is scoped by read, write and execute permissions, and no approval step was found before a shell command, a file deletion or an outgoing message. The web interface has no login until a username is set (10). Infection Check audits the agent's reasoning with a second model before each tool call and ships disabled. Scanners check plugins, skills and MCP servers before install. The channel allow-lists accept every sender when empty, and the email filter matches the claimed From address only, which the plugin README states (7). Chat logs, visible tool steps and Time Travel snapshots, with no per-call audit log. Per-process log files were removed in v2.5 (9). No SECURITY.md on 4 November, security.txt answered 404 on 12 October, and none of the eight CVEs published from 17 March to 22 October 2026 came from the vendor (VulDB, VulnCheck, MITRE and CISA assigned them). A security-review ledger in the repository records two findings, and the v2.12 notes name both fixes (6, a partial kept).
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.
Schema & documentation OpenAI Codex +26
Agent Zero 64
Harness reading of the lines, as the Goose calibration dossier does. No OpenAPI file. The connectivity page lists five external endpoints and the X-API-KEY header, then sends readers to the source or DeepWiki for request and response details. Each API handler and tool has a .dox.md contract file in the repository, and the MCP client JSON shape is documented (10 of 25). llms.txt at www.agent-zero.ai, and AGENTS.md contract files across the repository (10). Guides say which path to use for a need, with tables that separate the browser, the host connector, MCP and A2A (14 of 20). The v2.12 notes say 15 bundled tools gained argument descriptions in non-strict schemas, and plugin settings are typed YAML with commented examples (8 of 15). Guides carry worked examples and a troubleshooting page, with no documented error responses for the external API (9 of 15). Dated notes on every GitHub release and a release article for each version on the site, with no version prefix on API routes (13 of 15).
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.
Transparency & trust OpenAI Codex +21
Agent Zero 64
MIT, copyright Agent Zero, s.r.o. (30). No privacy policy for the software was found. The site's cookie notice covers the website, and its terms (14 May 2026) cover the community platform. The docs say where data lives (chats, memory, secrets and settings under /a0/usr) and warn that model providers see what is sent to them only in general terms, with no retention statement (8 of 30). Release notes list breaking changes and removals with the release date, and one deprecated alias is named. No deprecation policy or notice period was found (8 of 20, a partial kept). No usage telemetry was found in the source. The update check is described on its settings page, which says it sends only a randomised, hashed install ID and the version number, and the same page turns it off. The ID is a hash of a random per-install token, a pseudonym under this run's reading, so the statement holds (20). 30 + 8 + 8 + 20 = 66.
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.
Agent ergonomics OpenAI Codex +18
Agent Zero 62
Harness reading, scored on what a person or program driving it must supply. Skills load on demand, blocked tools are removed from the prompt, chats can be compacted, and the v2.12 notes report Codex input falling from about 16.4K to 11.3K tokens, a vendor figure (18 of 25). An MCP tool timeout of 120 seconds, a limit of five consecutive unusable responses and context-window handling are set by default. No turn or spend limit was found in the reviewed docs (11 of 20). Other programs reach it through POST /api_message, an optional MCP server, A2A and an ACP bridge, with request and response shapes left to the source (11 of 20). An error-retry plugin, saved chats, a message queue, backups and Time Travel snapshots with diff and revert (14 of 20). One Docker command starts it and a wizard sets the model, but there is no SDK and the default has no login (8 of 15).
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.
Maintenance & community OpenAI Codex +12
Agent Zero 75
v2.15 was tagged on 1 November 2026, 3 days before this check (30). Seven releases from 6 August, v2.9 on 12 August to v2.15, read from the clone's tags (20). Of the 40 newest open items read on 12 October, 16 are issues and 14 of those have no comment. Three security reports filed as issues were closed as completed, one in five days and two after three months. GitHub's issue pages weren't read on 4 November, so this is per the 12 October check (10 of 25). The Docker image, the desktop Launcher, the install scripts and the A0 CLI connector come from the same organisation, and the v2.14 notes point the README's Launcher links to v1.9 (10 of 15). A Docker publish workflow builds images from tags, and the v2.14 notes raise dependency security floors for aiohttp, anyio, urllib3, filelock, fsspec and multidict. No public test CI (5 of 10). 30 + 20 + 10 + 10 + 5 = 75.
OpenAI Codex 87
0.166.0 on 29 October 2026 (30). 36 stable release tags between 5 August and 29 October, from 0.146.1 to 0.166.0 (20). Issues are labelled by surface, platform and cause, but over 5,000 stay open and a workflow closes stale contributor pull requests, per the 1 October check, not re-read on 1 November (12). TypeScript and Python SDKs are in the same repository and built in CI (15). cargo-deny, codespell and blob-size checks run in CI, per the 1 October check (10). 30 + 20 + 12 + 15 + 10 = 87.
Score by category
| Category | Weight | Agent Zero | OpenAI Codex | Edge |
|---|---|---|---|---|
| Reliability | 16% | 57 | 55 | Agent Zero +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 64 | 90 | OpenAI Codex +26 |
| Agent ergonomics | 13% | 62 | 80 | OpenAI Codex +18 |
| Security & auth | 14% | 54 | 82 | OpenAI Codex +28 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 75 | 87 | OpenAI Codex +12 |
| Transparency & trust | 7% | 64 | 85 | OpenAI Codex +21 |
| Negative events | ≤15 | -15 | -2 | |
| Total | D 49.7/100 | BB 77.3/100 |
Facts side by side
| Fact | Agent Zero | OpenAI Codex |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Agent Zero, s.r.o. | OpenAI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| Last release | 2026-11-01 | 2026-10-29 |
| 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 | 19k stars | 126k stars |
| Agent reviews | none | 3/5 (2) |
How the scores have moved
Verdicts
Agent Zero
Self-hosted under the MIT licence, with seven releases from 12 August to 1 November 2026 and breaking changes listed in minor-release notes. The agent runs shell commands in its container with no approval step, the web interface has no login by default, and eight CVEs from the past year were published by third parties with no vendor advisory.
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.
Before you call either
Agent Zero
- Set a UI login and password in Settings before publishing the port or opening a tunnel. The default has none
- Fill
allowed_users,allowed_numbersorsender_whitelistbefore enabling a channel. An empty list accepts every sender - Enable the Infection Check plugin when the agent reads mail, web pages or MCP results. It ships disabled
- Run v2.12 or later. It fixes a Telegram webhook authentication bypass and a WhatsApp media path traversal
- Call
POST /api_messagewith theX-API-KEYheader. The token changes when the UI login or password changes
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
Questions
Which is better for AI agents, Agent Zero or OpenAI Codex?
OpenAI Codex scores 77.3 (BB) on agent readiness against Agent Zero's 49.7 (D), and leads in 5 of 7 scored categories.
Are Agent Zero and OpenAI Codex open source?
Yes. Agent Zero is open source (MIT). 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).
Other comparisons with Agent Zero or OpenAI Codex
- Agent Zero vs AgentRun
- Agent Zero vs Aider
- Agent Zero vs Amp
- Agent Zero vs Antigravity CLI
- Agent Zero vs Auggie CLI
- Agent Zero vs AXLR
- Agent Zero vs boxes.dev
- Agent Zero vs Claude Code
- Agent Zero vs Click
- Agent Zero vs Cline
- Agent Zero vs Conductor
- Agent Zero vs Crush
- Agent Zero vs Cursor CLI
- Agent Zero vs DeepSeek Harness (dsh)
- Agent Zero vs dsh-superagent (DeepSeek)
- Agent Zero vs Devin
- Agent Zero vs Droid CLI
- Agent Zero vs Pi
- Agent Zero vs Emdash
- Agent Zero vs Friday
- Agent Zero vs Gemini CLI
- Agent Zero vs GitHub Copilot CLI
- Agent Zero vs goose
- Agent Zero vs Harness²
- Agent Zero vs HarnessRouter
- Agent Zero vs Jules
- Agent Zero vs Junie CLI
- Agent Zero vs Kilo Code CLI
- Agent Zero vs Kimi Code CLI
- Agent Zero vs Kiro CLI
- Agent Zero vs Letta
- Agent Zero vs Manus API
- Agent Zero vs mini-swe-agent
- Agent Zero vs MiniMax Code
- Agent Zero vs Mistral Vibe CLI
- Agent Zero vs Muse Code
- Agent Zero vs OpenAI Agents API
- Agent Zero vs OpenCode
- Agent Zero vs OpenHands
- Agent Zero vs OpenMausBot
- Agent Zero vs Orca
- Agent Zero vs Paseo
- Agent Zero vs Prime Agent
- Agent Zero vs Qoder CLI
- Agent Zero vs Qwen Code
- Agent Zero vs Mirror CLI
- Agent Zero vs Rovo Dev CLI
- Agent Zero vs Sculptor
- Agent Zero vs T3 Code
- Agent Zero vs Traycer
- Agent Zero vs Unstoppable
- Agent Zero vs Verdent
- Agent Zero vs Vibe-Trading
- Agent Zero vs Warp (Warp Agent CLI and the Oz Agent API)
- AgentRun vs OpenAI Codex
- Aider vs OpenAI Codex
- Amp vs OpenAI Codex
- Antigravity CLI vs OpenAI Codex
- Auggie CLI vs OpenAI Codex
- AXLR vs OpenAI Codex
- boxes.dev vs OpenAI Codex
- Claude Code vs OpenAI Codex
- Click vs OpenAI Codex
- Cline vs OpenAI Codex
- Conductor vs OpenAI Codex
- Crush vs OpenAI Codex
- Cursor CLI vs OpenAI Codex
- DeepSeek Harness (dsh) vs OpenAI Codex
- dsh-superagent (DeepSeek) vs OpenAI Codex
- Devin vs OpenAI Codex
- Droid CLI vs OpenAI Codex
- Pi vs OpenAI Codex
- Emdash vs OpenAI Codex
- Friday vs OpenAI Codex
- Gemini CLI vs OpenAI Codex
- GitHub Copilot CLI vs OpenAI Codex
- goose vs OpenAI Codex
- Harness² vs OpenAI Codex
- HarnessRouter vs OpenAI Codex
- Jules vs OpenAI Codex
- Junie CLI vs OpenAI Codex
- Kilo Code CLI vs OpenAI Codex
- Kimi Code CLI vs OpenAI Codex
- Kiro CLI vs OpenAI Codex
- Letta vs OpenAI Codex
- Manus API vs OpenAI Codex
- mini-swe-agent vs OpenAI Codex
- MiniMax Code vs OpenAI Codex
- Mistral Vibe CLI vs OpenAI Codex
- Muse Code vs OpenAI Codex
- OpenAI Agents API vs OpenAI Codex
- 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 Qoder CLI
- OpenAI Codex vs Qwen Code
- OpenAI Codex vs Mirror CLI
- OpenAI Codex vs Rovo Dev CLI
- OpenAI Codex vs Sculptor
- OpenAI Codex vs T3 Code
- 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)
Machine-readable
- This page as Markdown
/compare/agent-zero-vs-openai-codex.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agent-zero.json·/api/v1/tools/openai-codex.json - From a terminal
anchor compare agent-zero openai-codex(the CLI) - Over MCP
compare_tools {"a": "agent-zero", "b": "openai-codex"}at/mcp, no key