Skip to content
Updated Nov 27, 2026

Term · Tools and features

Codex

OpenAI's coding agent: it writes, reviews and runs code from instructions in plain language. It's used from the terminal, the editor or ChatGPT.

Also called
OpenAI Codex
Category
Tools and features

What it is

You describe the task, for example “fix this bug” or “add this feature”, and Codex works on your code: it reads it, makes the changes, runs tests and shows you the result to review.

In practice

It's used with a GlossaryChatGPTOpenAI’s AI assistant, launched in November 2022. It can chat, write, analyze files or search the internet, and since July 2026 it has modes for delegating long tasks (Work) and for coding (Codex).More about ChatGPT → account or through the OpenAI GlossaryAPIapplication programming interfaceThe door two programs use to talk to each other and request data or actions, with no person stepping in. It is how AI models connect to other apps.More about API →, and it competes with GlossaryClaudeAnthropic’s AI assistant and the family of models of the same name. It can chat, write, analyze documents and create artifacts, and it can take on long tasks with your files and apps.More about Claude →, GlossaryGeminiGoogle’s AI assistant and the family of models of the same name. It understands text, images and audio, and its models also power Google features like AI Mode in Search or the help in Gmail and Docs.More about Gemini → GlossaryCLIcommand-line interfaceA way to use a program by typing text commands in a terminal window instead of clicking buttons.More about CLI → and GlossaryCursorAn AI code editor from the company Anysphere, based on Visual Studio Code. Its agents write, change and test code in your project, on your computer or in the cloud.More about Cursor →. It can work on your computer or in OpenAI's cloud, and also inside GlossarySandboxA closed space where a program or an AI agent can work without touching the rest of the computer or going online without permission.More about Sandbox → such as Docker's.

Watch out for…

Like any GlossaryCoding agentAn AI agent that writes code: it reads a project's code, changes it, runs tests and commands, and proposes or applies the changes.More about Coding agent →, it can make mistakes or do more than you asked. Review its changes before accepting them and limit what it can touch.

Learn more at developers.openai.com (opens in a new tab)

Appears in

Actions