Codex is OpenAI's AI coding agent: instead of handing you code to copy and paste, you describe a task and Codex plans it, reads your project files, edits multiple files, runs tests and keeps iterating until the job is done. It is made by OpenAI, the company behind ChatGPT, and started life in 2025 as a terminal tool before growing into a full product family.
You can use Codex three ways: the Codex CLI in your terminal, the IDE extension for editors like VS Code, and the Codex interface inside ChatGPT at chatgpt.com/codex, plus an iOS app. They all share the same engine, so a task you start in the terminal can continue in the IDE.