What Codex is
Codex is OpenAI's AI coding agent — a product that can take a software task (write a feature, fix a bug, scan for security holes) and work through it autonomously, step by step, in a sandboxed cloud environment. It is not a code-completion tool that suggests the next line as you type; it is closer to a software engineer you can assign a whole ticket to and check back in with later.
The name "Codex" has a longer history than the current product. Back in 2021, OpenAI published a research paper introducing an early Codex model and the HumanEval benchmark — a test for measuring whether AI-generated code actually runs correctly. That paper became a landmark reference for the entire field of AI code generation. A follow-up technique called fill-in-the-middle (FIM), published in 2022, taught models to complete code given both what comes before and after a gap, which is exactly how modern code editors work. Both ideas quietly shaped the tools developers use today.
The modern product
The Codex you can use today launched in May 2025. Under the hood it runs on codex-1, a variant of OpenAI's o3 model that was fine-tuned specifically for software engineering using reinforcement learning on real-world coding tasks. The goal was a model that writes code the way a human engineer would: matching the style of the existing codebase, following instructions precisely, and iterating on tests until they pass.
Since launch, OpenAI has released a succession of more capable Codex-native models — GPT-5-Codex, GPT-5.1-Codex-Max, GPT-5.3-Codex — each designed to handle longer, more complex tasks with less hand-holding. The latest versions of the platform run on GPT-5.4 and GPT-5.5.
How it works (the basics)
Think of Codex as having three layers:
1. The model — the AI brain that reads your codebase, reasons about the task, and writes the code. 2. The agent loop — the machinery that lets the model use tools (run tests, read files, call APIs), check its own work, and keep going across many steps. OpenAI has published technical details on how this loop is built on top of its Responses API, using WebSockets and connection-scoped caching to keep things fast. 3. The sandbox — a secure, isolated environment where the agent's code actually runs, with controlled file access and network restrictions so it can't do anything it shouldn't.
You interact with Codex through a desktop app (macOS and Windows), the ChatGPT web interface, or the ChatGPT mobile app — meaning you can kick off a task at your desk and approve the result from your phone.
What it can do now
Codex has grown well beyond pure coding. The desktop app now includes computer use (the agent can operate your machine), in-app browsing, image generation, persistent memory, and plugin support. OpenAI also released Symphony, an open-source specification for connecting issue trackers to always-on Codex agents, so engineering teams can route tickets directly to an AI that works through them in the background.
A separate product, Codex Security, applies the same agentic approach to application security — analyzing a project's context to detect, validate, and suggest patches for vulnerabilities, with the goal of fewer false alarms than traditional scanning tools.
For non-engineers, OpenAI has added plugins, sites, and annotation tools aimed at analysts, marketers, designers, and investors, positioning Codex as a general productivity agent rather than a purely developer-facing tool.
Who's using it and where
Codex has reached 4 million weekly active users and was named a Leader in Gartner's 2026 Magic Quadrant for Enterprise AI Coding Agents. OpenAI has launched Codex Labs and formed partnerships with major consulting firms — Accenture, PwC, and Infosys — to embed Codex across enterprise software development lifecycles.
On the infrastructure side, Codex is available through AWS, Oracle Cloud, and Cloudflare's Agent Cloud platform, and a partnership with Dell brings it to hybrid and on-premise environments for organizations that can't put sensitive code in a public cloud.
Real-world case studies include Wasmer (which used Codex with GPT-5.5 to build a Node.js edge runtime reportedly 10–20x faster than traditional development) and a self-improving tax agent built with Thrive and Crete.
The bigger picture: acquisitions and infrastructure
OpenAI is building out the full stack around Codex. It acquired Astral — the company behind the Ruff Python linter and the uv package manager — to accelerate Codex's Python developer tooling. It also announced plans to acquire Ona, which provides persistent cloud environments, to give Codex agents a stable home for long-running enterprise workflows.
These moves signal that OpenAI sees Codex not just as a model feature but as a platform — one it intends to own end-to-end, from the AI brain to the runtime environment to the developer tools that surround it.
Where it's heading
The trajectory is clear: Codex is moving from a tool that helps individual developers to infrastructure that runs software development workflows at organizational scale. The combination of more capable models, persistent cloud environments, enterprise cloud distribution, and an expanding plugin ecosystem points toward a future where Codex is less a product you open and more a system that runs in the background — handling tickets, catching bugs, and shipping code while your team focuses on the decisions that still need a human.




