What is Codex?
Codex is OpenAI's software engineering agent. It can read your repository, edit files, run commands and tests, and propose changes for you to review. You can use it locally through the open-source Codex CLI, inside your editor through the Codex IDE extension, in the Codex app, or delegate tasks to Codex Cloud, which runs them in sandboxes and returns pull requests. Codex is powered by OpenAI's models and is included with ChatGPT plans.
Key features
- Codex CLI: an open-source terminal agent written in Rust.
- IDE extension: use Codex inside editors such as VS Code, Cursor and Windsurf.
- Codex Cloud: delegate tasks that run in parallel in cloud sandboxes.
- Code review: ask Codex to review pull requests.
- Sandboxes: OpenAI-hosted or self-hosted sandboxes and environments.
- Automations and webhooks: trigger Codex from events.
- Plugins and MCP: extend Codex with tools.
- Approvals: control what Codex can do without asking.
Who is it for?
Codex is for developers and engineering teams who want an agent that works both locally and in the cloud, especially teams already using ChatGPT. Being able to start a task in the terminal and hand longer work to the cloud makes it useful for both quick fixes and bigger, parallel jobs.
Use cases
- Delegating well-scoped tasks to run in parallel in the cloud
- Fixing bugs and adding features from the terminal
- Reviewing pull requests
- Writing tests and documentation
- Automating maintenance work with triggers
Pricing
According to OpenAI, Codex is included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise plans, with usage limits that vary by plan, and it can also be used with an API key. See the official Codex pricing page for current details.
What's new and trending
Codex CLI v0.164.0 was released on October 23, 2026, along with a v0.165.0 alpha (release notes). The Codex changelog tracks updates across the CLI, IDE extension and cloud.
Getting started
- Install the CLI with
npm install -g @openai/codexorbrew install --cask codex. - Run
codexin your project and sign in with your ChatGPT account. - Describe a task and approve the changes.
- Install the IDE extension to use Codex in your editor.
- Try Codex Cloud for longer tasks that return pull requests.
Alternatives
Claude Code and Gemini CLI are other vendor terminal agents, and OpenCode, Aider and OpenHands are open-source options. Cursor, GitHub Copilot and Kiro bring agents into the editor.
FAQ
Who makes Codex? OpenAI.
Is the Codex CLI open source? Yes. The CLI is open source on GitHub.
Do I need a ChatGPT plan? Codex is included across ChatGPT plans, from Free to Enterprise, with different limits, or you can use an API key.
What is Codex Cloud? A way to delegate tasks that run in cloud sandboxes and return changes for review.
Can Codex review pull requests? Yes. Codex can review code changes.

