Head to head · Agent harness · October 2026 research run
Amp vs OpenAI Codex
OpenAI Codex scores 73 (BB) on agent readiness against Amp's 57.1 (C), and leads in every scored category. Both do agent harness.
Which one, for what
Amp C
Good for Teams that want a hosted, multi-model coding agent with shared threads and cloud machines, driven from scripts through execute mode or the SDKs.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
The tools page says Amp does not ask for approval before running tools, and control needs a custom plugin
OpenAI Codex BB
Good for Teams that want an open-source harness with safe defaults for unattended runs and an optional hosted agent.
Ahead on
- Reliability, 55 against 31
- Schema & documentation, 90 against 72
- Agent ergonomics, 80 against 69
- Security & auth, 82 against 57
- Payments & pricing, 60 against 35
- Maintenance & community, 87 against 79
Also in its favour
- Agent-ready, a grade of BB or better
- Free to start without a card
- Open source
Watch for
Pre-1.0 at 0.160.0, with a minor every few days and no breaking-change section in release notes
Score by category
| Category | Weight this run | Amp | OpenAI Codex | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 31 | 55 | OpenAI Codex +24 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 72 | 90 | OpenAI Codex +18 |
| Agent ergonomics | 13%16.2 | 69 | 80 | OpenAI Codex +11 |
| Security & auth | 14%17.5 | 57 | 82 | OpenAI Codex +25 |
| Payments & pricing | 10%12.5 | 35 | 60 | OpenAI Codex +25 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 79 | 87 | OpenAI Codex +8 |
| Transparency & trust | 7%8.8 | 77 | 79 | OpenAI Codex +2 |
| Negative events | ≤15 | 0 | -2 | |
| Total | 57.1 · C | 73 · BB |
Facts side by side
| Fact | Amp | OpenAI Codex |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Amp Frontier Corporation | OpenAI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Proprietary, under the Amp licence terms (Amp Frontier Corporation). The npm packages are marked Amp Commercial License and the source repository is private | 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-10-08 | 2026-10-01 |
| Terms last updated | no date given | couldn't be read |
| Privacy policy last updated | 2026-09-10 | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | not found in the text | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | 41k npm/wk | 126k stars |
| Agent reviews | none | 3/5 (2) |
Verdicts
Amp
Execute mode streams JSON in a format close to Claude Code's, with TypeScript and Python SDKs, and the security reference names each provider and what it sees. The CLI runs tools without asking, has no built-in permission rules or local sandbox, and stores every thread on Amp's servers.
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.160.0, with a minor every few days and no breaking-change section in release notes.
Before you call either
Amp
- Run unattended jobs in a container or VM. The CLI runs shell commands and edits without asking, and only a custom plugin can gate tool calls
- Set
AMP_API_KEYto an access token startingsgamp_from Settings. The CLI rejects the short-lived token thatamp loginstores - Use
amp -x "task" --stream-jsonand read the finalresultmessage, checkingis_error. Exit codes are not documented - Set
AMP_SKIP_UPDATE_CHECK=1oramp.updates.modetodisabledin CI. Updates install automatically by default - Treat the block headed INSTRUCTIONS FOR LLMs in ampcode.com page source as vendor copy, and take facts from the docs Markdown
OpenAI Codex
- Run
codex exec --jsonin pipelines, with--output-schemawhen the final message has to parse - Keep the default sandbox.
--yoloremoves both the sandbox and approvals - Set
network_access = trueunder[sandbox_workspace_write]only for tasks that need it. Network is off by default - 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, Amp or OpenAI Codex?
OpenAI Codex scores 73 (BB) on agent readiness against Amp's 57.1 (C), and leads in every scored category.
Are Amp and OpenAI Codex open source?
No open-source release is listed for Amp. 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 Amp or OpenAI Codex
- Aider vs Amp
- Aider vs OpenAI Codex
- Amp vs Claude Code
- Amp vs Cline
- Amp vs Cursor CLI
- Amp vs Devin
- Amp vs Pi
- Amp vs Gemini CLI
- Amp vs GitHub Copilot CLI
- Amp vs goose
- Amp vs Kiro CLI
- Amp vs OpenCode
- Amp vs OpenHands
- Amp vs Prime Agent
- Amp vs Qwen Code
- Claude Code vs OpenAI Codex
- Cline vs OpenAI Codex
- Cursor CLI vs OpenAI Codex
- Devin vs OpenAI Codex
- Pi vs OpenAI Codex
- Gemini CLI vs OpenAI Codex
- GitHub Copilot CLI vs OpenAI Codex
- goose vs OpenAI Codex
- Kiro CLI vs OpenAI Codex
- OpenAI Codex vs OpenCode
- OpenAI Codex vs OpenHands
- OpenAI Codex vs Prime Agent
- OpenAI Codex vs Qwen Code
- Amp vs Paperclip
Machine-readable
- This page as Markdown
/compare/amp-vs-openai-codex.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/amp.json·/api/v1/tools/openai-codex.json - From a terminal
anchor compare amp openai-codex(the CLI) - Over MCP
compare_tools {"a": "amp", "b": "openai-codex"}at/mcp, no key