OpenAI Codex
Also known as: Codex CLI
OpenAI's agentic coding agent with CLI, API, and GitHub Action support: runs code in a cloud sandbox for PR review, multi-file edits, test execution, and branch management.
Codex is OpenAI's agentic coding system, an umbrella for a family of surfaces that share one underlying model and a single account context. Relaunched in 2025 and substantially rebuilt since, it is designed not to autocomplete lines but to act as an agent: it reads a codebase, plans an approach, edits files across the project, runs shell commands and tests, and proposes finished pull requests, sustaining long autonomous sessions across many sequential tool calls.
Developers can reach Codex wherever they work. The Codex CLI is a terminal-native agent, open source and built in Rust, that runs locally, edits and runs code in a chosen directory, and ships with structured plan, execute, and review commands plus sandboxed execution and approval modes you control. An IDE extension brings the same agent into editors like VS Code, Cursor, and Windsurf, and a cloud agent, reachable through ChatGPT, runs tasks asynchronously in isolated sandboxed containers preloaded with your repository, so many tasks proceed in parallel. A macOS desktop app acts as a command center for running agent threads side by side, and a remote mode lets you kick off and approve work from a phone.
Around the core loop, Codex adds higher-level workflows. Skills extend it beyond code into tasks like code understanding, prototyping, and documentation aligned to a team's standards; Automations let it pick up routine work such as issue triage, alert monitoring, and CI without being asked; and a separate review agent can check changes before they are committed. An AGENTS.md file in a repository tells Codex how to navigate the code, run tests, and follow project conventions, much like a README for the agent.
Codex is powered by OpenAI's frontier GPT models, trained with an agentic focus so the model handles multi-step tool use and self-checks its work before submitting. It supports the Model Context Protocol for connecting external tools, including parallel tool calls, and runs work inside sandboxed environments while letting users verify output through citations, logs, and test results. It is included with paid ChatGPT plans rather than sold as a separate product, and is used by individual developers and large engineering organizations alike.
Vendor details
Canonical URL
https://platform.openai.com/docs/guides/codex
Category
Coding agent
Company status
independent
Use cases & customers
Target customers
Deployment options
In practice
You want to hand off a refactor and keep coding instead of babysitting it. Codex's cloud agent runs the task asynchronously in an isolated sandbox preloaded with your repo, then proposes a pull request for review.
You live in the terminal and don't want a browser or IDE in the loop. The open-source Codex CLI runs the agent locally, editing files and running tests in your chosen directory with approval modes you control.
You want routine work handled without prompting it each time. Codex Automations pick up issue triage, alert monitoring, and CI tasks on their own, while a separate review agent checks changes before they're committed.
Sources & related URLs
Agentic Index coverage score
9.5 / 14 capabilities · 68%
| Integrations & Tool CallingOfficial docs 2026-06-08 | Full |
|---|---|
| Workflow OrchestrationOfficial docs 2026-06-08 | Full |
| Knowledge Grounding & RAGOfficial docs 2026-06-08 | Full |
| Human Oversight & GuardrailsOfficial docs best-practices 2026-06-08 | Full |
| Security, Identity & GovernanceOfficial docs 2026-06-08 | Full |
| Observability & AuditabilityOfficial docs 2026-06-08 | Partial |
| Memory & State PersistenceOfficial docs 2026-06-08 | Partial |
| Deployment & Data ResidencyOfficial docs 2026-06-08 | Partial |
| Prebuilt Agents, Templates & PacksOfficial docs 2026-06-08 | Partial |
| Triggers & Channel CoverageOfficial docs 2026-06-08 | Partial |
| Model Flexibility & RoutingOpenAI-only model | Unable to verify |
| APIs, SDKs & MCP ExtensibilityOfficial docs 2026-06-08 | Full |
| Testing, Debugging & OptimizationPR review and CI docs 2026-06-08 | Full |
| Browser & Computer UseOfficial docs 2026-06-08 | Unable to verify |
The Agentic Index coverage score grades every vendor Full, Partial or Unable to verify against the same 14 buyer facing capabilities, from public evidence only. Each capability links to how all vendors in the index score on it. How this evidence is graded
Recent platform changes
OpenAI launched a desktop application for Linux that includes native support for Codex. The release brings Codex capabilities directly to supported Linux distributions, including Ubuntu, Debian, and Fedora.
Bears on: Deployment / data residency
View sourceOpenAI reduced the pricing for its GPT-5.6 Terra and Luna models and announced that GPT-5.4 and GPT-5.4 mini will be retired from Codex on August 31, 2026. Users must migrate their workspace defaults, saved model settings, and custom agents to the GPT-5.6 models before the cutoff.
Bears on: Agent capability
View sourceOpenAI shipped version 26.727 of the ChatGPT and Codex desktop app, adding an improved built-in browser with address-bar search and enhanced Chrome extension integration. The update also introduces multi-repository code review and an expanded viewer for generated images.
Bears on: Browser/computer use
View sourcePricing
Usage-based (via ChatGPT plan + API)
quota + usage beyond quota
Included quota
Included Codex usage scales with the ChatGPT plan tier (Plus vs Pro vs Business); exact task/credit allowances vary by plan and OpenAI's current rate card.
What is public
OpenAI Codex is an agentic coding tool (CLI, IDE, web, and cloud agent) that runs tasks in sandboxed environments with native Git workflows. No standalone Codex subscription - access is bundled into ChatGPT plans (Plus $20/mo, Pro $200/mo, plus Business/Enterprise), with heavier use metered.
Billing mechanics
Bundled-subscription plus usage. A ChatGPT plan includes a quota of Codex usage; beyond that, usage is metered against the plan's credits or OpenAI's API rate card. The Codex CLI is open-source and can run BYO-key against the API.
Cost watchouts
Agent-heavy or long-running tasks can drive metered usage well above the base ChatGPT plan cost.
Variable cost rationale
Bundled subscription plus metered/API usage with no hard cap makes spend highly usage-dependent.
Additional watchouts
There's no clean per-seat 'Codex price' - effective cost is the ChatGPT plan you're on plus whatever metered/API usage your agent workloads incur.
Overage / add-ons
Beyond plan-included usage, additional Codex/agent usage is metered (plan credits or API pay-as-you-go).
Sales call required
No, self serve available
Free / trial
n/p
Lowest paid plan
Bundled w/ ChatGPT Plus $20/mo + usage
Commercial notes
No standalone Codex plan; access rides on ChatGPT Plus ($20), Pro ($200), or Business/Enterprise. The open-source Codex CLI offers a BYO-key path.
Key ambiguities
Codex's included quota and credit behavior change by ChatGPT plan and OpenAI's evolving rate card, so a single entry price isn't representative.
Cancellation / refund
Billed via the underlying ChatGPT subscription; standard OpenAI subscription terms.
Missing data
Per-plan Codex quotas and exact metered rates are not transparently consolidated in one public figure.
Related vendors
- Cognition — Maker of Devin, an autonomous AI software engineer
- 10Web — Agentic website platform whose team of ten specialized AI agents…
- Ageiro — Early stage enterprise platform that turns business goals into…
- Aider — Open-source, model-agnostic terminal coding agent that works…
- Anthropic Claude Code — Anthropic's terminal and IDE-native coding agent with sub-agent…
- AppFactor — Agentic orchestration platform that autonomously maintains and…
Alternatives to OpenAI Codex
The closest documented capability profiles to OpenAI Codex among coding agents tracked by Agentic Index, ordered by similarity on the same 14 point evidence the rankings use. No vendor pays for placement.
- Google Jules9.0 / 14A lighter documented profile than OpenAI CodexOpenAI Codex vs Google Jules →
- Anthropic Claude Code10.0 / 14Adds documented Browser & Computer UseOpenAI Codex vs Anthropic Claude Code →
- JetBrains AI10.0 / 14Adds documented Model Flexibility & RoutingOpenAI Codex vs JetBrains AI →
- Continue10.5 / 14Adds documented Model Flexibility & Routing
- Kiro10.5 / 14Adds documented Model Flexibility & Routing
- Snyk10.5 / 14Adds documented Model Flexibility & Routing
Similarity is computed from each vendor's Agentic Index coverage score evidence, axis by axis, not from the totals. How this evidence is graded