OpenAI Codex
OpenAI's coding agent that reads, edits and runs code in the terminal, the IDE or the cloud and works through programming tasks on its own.
What it does
Codex is OpenAI’s coding agent. You describe a task, and Codex reads the code in your project, makes changes, runs commands and tests, and shows you the diffs. It is available as a command-line tool (open source under Apache-2.0), as an extension for VS Code and compatible editors, in the ChatGPT desktop app for macOS, Windows and Linux (Linux as a preview), on the web and as Codex Cloud, which handles tasks in separate workspaces at OpenAI. In the ChatGPT app for iOS you start, follow and review tasks. An SDK, a GitHub Action and a non-interactive mode let you build it into CI pipelines. According to OpenAI, the IDE extension and Codex Cloud are not open source.
Who it suits
Development teams that want to hand bug fixes, refactoring, tests or code reviews to an agent – especially if they already use ChatGPT, since Codex is included in the ChatGPT plans.
Data protection for businesses
Locally, Codex runs in a sandbox that is limited to the project and has no network access by default; you approve risky steps. In the plans for individuals (Free, Go, Plus, Pro), OpenAI may use content for training; you turn this off in ChatGPT’s data controls (“Improve the model for everyone”). According to OpenAI, whether entire environments may be used for training is a separate setting in the Codex settings. OpenAI does not use data from Business, Enterprise, Edu or the API for training by default. OpenAI signs a data processing agreement for Business, Enterprise and the API via a form. Data residency in Europe is available to eligible Enterprise and Edu customers; according to OpenAI, some Codex features are limited with non-US data residency or zero data retention. With an API key, your API organization’s retention and data-sharing settings apply.
Limits
Usage limits depend on the plan, the model and the task; OpenAI only gives ranges, not fixed numbers. With an API key, cloud features such as GitHub code review and the Slack integration are not available. Review the agent’s changes as you would a colleague’s code.