OpenAI coding agent

Build what you want with Codex

Codex is OpenAI’s AI coding agent. Describe the task and it can implement features, refactor complicated code, fix hard-to-find bugs, run checks, and review its own work.

Downloads, system requirements, plans and the latest features are governed by OpenAI’s official page.

Codex · Example task

Task

Refactor the payment module and add the missing tests.

  1. Identified 3 risk points
  2. Updated 8 files
  3. All 42 checks passed
Illustrative interfaceCodex

Capabilities

Built for the heart of real engineering work

From hard-to-find defects to cross-file refactors, Codex does more than generate snippets: it moves a complete engineering task forward and verifies the result.

01

Take on real engineering work

Give Codex difficult refactors, hidden defects and new feature work, and get high-quality results with fewer tokens.

02

Designed for multi-agent workflows

Run multiple agents in parallel, let them use computer and browser tools to verify the work, then track and review everything in one place.

03

Keep tasks moving in the cloud

Close your laptop and tasks can keep running. Each repository gets a reusable cloud environment, so you can pick up from another device.

04

Scale code review with ease

Codex can review pull requests automatically, point out issues and answer questions, leaving judgment calls to your team.

Surfaces

The same agent across every coding surface

Move between ChatGPT, your editor and the terminal while your ChatGPT account keeps tasks and context connected.

ChatGPT desktop

Start tasks, follow progress and review results from one workspace.

Codex Cloud

Keep tasks running in the cloud and resume from a web page or another device.

IDE extension

Bring code suggestions, task execution and change review into your editor.

Codex CLI

Run Codex in your terminal and bring the agent into your existing development flow.

Install from the terminalnpm i -g @openai/codex

With Coskey

Codex handles the code. Coskey handles model choice.

If you want Codex to use your own model providers, Coskey manages providers, model mappings and session routing without modifying the app.

Explore Coskey

Official source

Get Codex or read the latest official details

This site only introduces Codex and does not host installers. Visit OpenAI for the latest versions, supported platforms, plans and complete feature details.

Open the official OpenAI Codex pageopenai.com/codex/