---
title: "Codex"
aliases: ["OpenAI Codex"]
category: "Tools and features"
description: "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."
updated: 2026-11-27T08:13:54.147Z
glossary: "https://www.jmcliment.com/en/glosario"
canonical: "https://www.jmcliment.com/en/glosario/codex"
---

# Codex

- Also called: OpenAI Codex
- Category: Tools and features

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.

## 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 [ChatGPT](https://www.jmcliment.com/en/glosario/chatgpt) account or through the OpenAI [API](https://www.jmcliment.com/en/glosario/api), and it competes with [Claude Code](https://www.jmcliment.com/en/glosario/claude), [Gemini](https://www.jmcliment.com/en/glosario/gemini) [CLI](https://www.jmcliment.com/en/glosario/cli) and [Cursor](https://www.jmcliment.com/en/glosario/cursor). It can work on your computer or in OpenAI's cloud, and also inside [sandboxes](https://www.jmcliment.com/en/glosario/sandbox) such as Docker's.

## Watch out for…

Like any [coding agent](https://www.jmcliment.com/en/glosario/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: <https://developers.openai.com/codex>

## Appears in

- [Docker redesigns itself for AI agents](https://www.jmcliment.com/en/blog/docker-new-brand)
- [Install ChatGPT and connect it to your tools](https://www.jmcliment.com/en/blog/chatgpt-desktop-app)
