Codex is an AI-powered coding agent from OpenAI that helps developers write, review, test, and modify code. It can work with local projects and repositories, perform development tasks, run tests, analyze results, and propose changes for review.
Codex understands natural-language instructions, allowing developers to describe a programming task instead of manually editing every file. It can create new features, refactor existing code, fix bugs, generate tests, and review code changes.
The agent can work in isolated environments and Git worktrees, allowing multiple tasks to be handled without directly interfering with the main working tree. Developers can review generated changes, inspect diffs, and decide which modifications to keep.
Codex is available through the ChatGPT desktop app, CLI, and IDE extensions, providing different ways to integrate AI-assisted development into an existing workflow. On Windows, Codex also supports features such as WSL distribution selection and developer diagnostics.
Overall, Codex is designed for developers who want to delegate coding and software maintenance tasks to an AI agent while retaining control over the resulting changes.