Tools & services

Codex

Formal name
Codex
People & organizations
OpenAI

Codex is OpenAI’s AI coding agent. It can edit files, run commands, execute tests, and carry a development task through to verification.

What is Codex?

Codex is an AI coding agent from OpenAI. It can do more than answer programming questions: it can read files in a project, edit the relevant code, run commands and tests, and check the result. Think of it as an AI you can assign development work to, rather than one that only suggests snippets.

What can you ask it to do?

  • Add a feature or fix a bug
  • Refactor existing code
  • Write and run tests, then investigate failures
  • Explain or review an unfamiliar codebase
  • Prototype a website or a small internal tool

You describe the outcome you want, and Codex works out which files and steps are involved. It reports both the changes and the checks it performed, so you can follow the work and review the result.

Where can you use it?

Codex is available through several surfaces, including the Codex desktop app, a command-line interface, and editor integrations. You can work with it on a local computer or delegate work to a cloud environment, depending on the size of the task and your preferred workflow.

For someone with limited programming experience, it can turn a plain-language idea into a working starting point. For an experienced developer, it can take on repetitive implementation and investigation while the human stays focused on design and decisions.

What should you check?

Because Codex can work with real files and commands, it may have more access than a normal chat assistant. A human should confirm actions that are difficult to reverse, such as deleting data, publishing, sending messages, or spending money. Working code is not automatically secure or easy to maintain.

Start with work that is easy to review, such as explaining a system or adding tests. As you gain confidence, move on to larger features. Clear goals, constraints, and completion criteria make the result easier to evaluate.

Related terms

Sources and review information

Last reviewed July 17, 2026

Back to the AI Glossary

Search this site