Codex

A powerful coding agent that helps developers ship faster and more confidently.

Available in ChatGPT Plus, Pro, Business, Edu, and Enterprise

A stylized screenshot of the OpenAI Codex command-line interface running in a desktop window. The terminal shows commands such as /init, /status, /approvals, /model, and /review. A user prompt appears reading “Hey Codex, implement dark mode.” The background features a soft gradient of blues, yellows, and purples with faint code-like glyphs scattered throughout, giving it a technical, futuristic feel.

Your new coding partner

Codex runs in all your tools, powered by your ChatGPT account.

Codex CLI

Go from prompt to pull request in minutes. Ship new features, fix bugs, brainstorm solutions, or tackle whatever’s next with Codex in your terminal.

Codex IDE extension

Partner with Codex in VSCode, Cursor, and other IDEs. Preview changes, make targeted edits, and stay in flow from idea to implementation.

Codex cloud

Delegate tasks to Codex in the cloud so you can stay in flow. Codex loads your repo in a secure sandbox, generating code you can review, merge, or continue working on locally.

Use Codex everywhere you code

In your terminal

npm: npm i -g @openai/codex 
Homebrew: brew install codex

Make sure you have node or brew installed first

A screenshot of a terminal window showing the Codex command-line interface welcome screen. It displays ASCII art at the top, followed by instructions to sign in with ChatGPT or provide an API key. The background features a soft gradient of blue, purple, and teal colors.

In your editor

Choose your preferred IDE:

VS Code Marketplace⁠ →
VSCode⁠* →
Cursor⁠* →

*requires app install

A VS Code extension card for “Codex – OpenAI’s coding agent,” with a cursor hovering over the Install button.

With code review

Open Codex in your browser to start setting up code review.

Sign in to Codex web⁠ →

A popup titled “Set up code review” prompting the user to enable automated pull-request reviews with Codex.

Codex is available in these ChatGPT plans

Plus

Includes Codex usage for focused coding sessions each week.

/ month
Try Codex

Pro

Higher usage limits to power  full workdays across multiple projects.

/ month
Try Codex

Business

Secure, shared workspace with admin controls and flexible pricing for teams using Codex across repositories.

/ user / month
Try Codex

Codex is also included in ChatGPT Enterprise and Edu plans—get in touch to learn more.

Explore more

  • Agent mode in ChatGPT

    Use Atlas, our AI-powered browser, to summarize pages, compare products, analyze information, or take actions across the web.

  • Browse the web with Atlas

    Use Atlas, our AI-powered browser, to summarize pages, compare products, analyze information, or take actions across the web.

  • ChatGPT for engineering

    Use ChatGPT to plan smarter, code more efficiently, and deploy reliably—all within a secure, shared workspace.

Start building with Codex