OpenAI's coding agent that works in the cloud, the terminal and the IDE to write, fix and review code.
OpenAI Codex is OpenAI's software engineering agent. It can take a task such as fixing a bug, adding a feature or answering a question about a codebase, work on it in an isolated cloud environment connected to a repository, run tests and propose changes as a pull request. The same agent is available locally through an open-source command-line tool and an IDE extension.
The cloud version lets developers run several tasks in parallel and review the results later, with logs and test output showing what the agent did. Locally, Codex reads and edits files and runs commands in your workspace with configurable approval levels. It can also review pull requests on GitHub. Access is included with paid ChatGPT plans, and developers can alternatively use it with an API key.
Codex suits developers and teams who are comfortable delegating well-scoped tasks to an agent and reviewing the results as they would a colleague's pull request. It works best with clear instructions and a good test suite. Usage limits depend on the ChatGPT plan, and agent output still needs careful review before merging.