OpenAI Codex (AI agent)

Codex is an AI coding agent developed by OpenAI and integrated with ChatGPT. Launched as a research preview in May 2025, it is designed to handle software engineering tasks – such as writing features, fixing bugs, and reviewing codebases – autonomously in a cloud environment before returning results for human review. The agent is available through ChatGPT's web app, a command-line interface, a desktop app for Windows and macOS, and several IDE integrations. In March 2026, OpenAI introduced Codex Security, an application-security agent designed to identify and propose fixes for software vulnerabilities.
Codex entered an increasingly competitive market for AI coding tools, where it competes with products such as Anthropic's Claude Code and Cursor. By March 2026, Codex had grown to more than 2 million weekly active users, and OpenAI was positioning it as a broader enterprise agent platform that could eventually be used for tasks beyond software development.
History
[edit]OpenAI announced a research preview of Codex on May 16, 2025.[1] At launch it was powered by codex-1, a version of the o3 reasoning model optimized for software engineering, and could write features, answer questions about a codebase, fix bugs, and propose code changes for review.[2][3] The research preview first rolled out to some paid ChatGPT tiers, and ChatGPT Plus users gained access in June 2025.[2][4]
In February 2026, OpenAI released a desktop Codex app intended to help users manage multiple coding agents over longer periods and use code to gather or analyze information,[5] and updated the underlying model twice: GPT-5.3-Codex arrived on February 5,[6] followed a week later by GPT-5.3-Codex-Spark, a lower-latency variant for real-time interactive coding that was initially available as a research preview for ChatGPT Pro users. Spark was OpenAI's first production model deployed on Cerebras hardware and ran about 15 times faster than earlier Codex versions, according to InfoQ.[7]
OpenAI released GPT-5.4 for Codex on March 5, 2026.[8] Later that month, Reuters reported that the company planned to combine ChatGPT, Codex, and its browser into a single desktop "superapp" as part of an effort to simplify its product lineup and respond to growing competition from Anthropic.[9] OpenAI also agreed to acquire Python toolmaker Astral, a deal that would bring Astral's developer tools into Codex.[10] In April 2026, Reuters reported that pressure from Anthropic's Claude Code had led OpenAI to redirect resources toward Codex and enterprise tools as part of a broader strategic refocus.[11]
Features
[edit]Each Codex task runs in a separate cloud environment preloaded with the user's repository, where the agent can read and edit files, run tests, and invoke other code-checking tools.[2] The arrangement lets Codex function more like a coding agent than a conventional assistant, handling tasks independently before returning results for review.[3] Most tasks take between 1 and 30 minutes; Codex returns command logs and test results so users can inspect what it has done.[2] Codex was initially available inside ChatGPT's web app and deliberately lacked general internet access for security reasons, though OpenAI later enabled optional internet access during task execution.[3][2] Security of those execution environments also drew scrutiny. In March 2026, SecurityWeek reported that researchers had found a now-patched vulnerability in Codex in which malicious GitHub branch names could inject commands during task setup and retrieve GitHub authentication tokens.[12]
Architecture and platforms
[edit]By February 2026, OpenAI had described a single "App Server" architecture that powered the CLI, the VS Code extension, the web app, the macOS desktop app, and third-party IDE integrations including JetBrains and Xcode. The unified server keeps long-running sessions and approval requests consistent across client interfaces.[13] A Windows version released in March 2026 added native PowerShell support and a Windows-native agent sandbox built with operating-system controls such as restricted tokens and filesystem permission controls (ACLs).[14] Apple deepened the Xcode integration in Xcode 26.3, allowing developers to use the agent inside Apple's development environment rather than only through OpenAI's own tools; TechCrunch reported that the integration let Codex inspect a project's structure, consult current Apple developer documentation, build projects, run tests, and revert changes through automatically created milestones.[15]
Third-party integrations
[edit]A series of third-party integrations extended Codex beyond OpenAI's own applications. GitHub added the agent in public preview to its Agent HQ system, making it available inside GitHub, GitHub Mobile, and Visual Studio Code for some Copilot subscribers; The Verge reported that developers could assign Codex to issues and pull requests and compare its output with other agents such as Claude and Copilot.[16] Figma announced an integration that let users move between Figma and Codex through Figma's Model Context Protocol server, connecting interface design and code implementation.[17] In March 2026, OpenAI added an enterprise-facing plugin system that let organizations package workflows, app integrations, and Model Context Protocol server configurations into installable bundles. InfoWorld reported that administrators could manage those plugins through policy settings and private marketplaces, allowing them to distribute, permit, or block particular plugins across teams.[18]
Codex Security
[edit]Alongside these developer-workflow features, OpenAI introduced Codex Security in March 2026, an application-security agent designed to identify and propose fixes for software vulnerabilities. SecurityWeek reported that the tool had been in private beta since 2025, including testing by Netgear, and that it worked by first building a threat model of a repository before looking for vulnerabilities and proposing fixes. OpenAI said it had tested the tool on 1.2 million commits over the previous 30 days, identifying nearly 800 critical vulnerabilities and more than 10,000 high-severity issues in projects including Chromium, OpenSSL, PHP, the self-hosted Git service GOGS, and GnuTLS.[19] The tool validates suspected issues in sandboxed environments so it can prioritize findings by likely real-world impact and reduce false positives before suggesting patches.[20] The tool was derived from an earlier internal project called Aardvark.[21] OpenAI said beta testing had reduced false positives by more than 50 percent, and CSO Online reported that 14 vulnerabilities it found in open-source projects had received CVE identifiers.[22][23]
Reception
[edit]Reuters described coding as one of artificial intelligence's most commercially successful uses and said the market for coding agents had become a key battleground among AI companies, with rivals such as Claude Code, Cursor, and Amazon's Kiro vying for developer adoption.[5][4][24][25][26] OpenAI's desktop Codex app, released in February 2026, was widely seen as an effort to gain ground against Anthropic in particular,[5] and the company used a Super Bowl LX commercial that month to promote the tool as a way to help people turn ideas into software products.[27] According to people with direct knowledge of the matter, Codex's usage had risen from about 5 percent of Claude Code's to roughly 40 percent between September 2025 and January 2026.[28]
More than one million developers used the tool in the month before the desktop app's launch;[5] after the release of GPT-5.3-Codex, Fortune reported that the figure had reached 1.6 million weekly active users, with companies including Cisco, Nvidia, Ramp, Rakuten, and Harvey deploying it across developer teams.[29] By mid-March, Codex had surpassed 2 million weekly active users, with usage up fivefold since the beginning of 2026.[10]
OpenAI was also positioning Codex as more than a coding tool. Fortune reported that the company was presenting it as a broader enterprise agent platform that could eventually handle tasks beyond software development,[29] and WIRED said the company hoped to use Codex for task-completing features across its products.[28]
References
[edit]- ^ Knight, Will (May 16, 2025). "OpenAI Launches an Agentic, Web-Based Coding Tool". Wired. Retrieved March 16, 2026.
- ^ a b c d e "Introducing Codex". OpenAI. May 16, 2025. Retrieved March 12, 2026.
- ^ a b c Heath, Alex (May 16, 2025). "ChatGPT is getting an AI coding agent". The Verge. Retrieved March 12, 2026.
- ^ a b Babu, Juby (August 19, 2025). "Musk's xAI forays into agentic coding with new model". Reuters. Retrieved March 12, 2026.
- ^ a b c d Seetharaman, Deepa (February 2, 2026). "OpenAI launches Codex app to gain ground in AI coding race". Reuters. Retrieved March 12, 2026.
- ^ Axon, Samuel (February 5, 2026). "With GPT-5.3-Codex, OpenAI pitches Codex for more than just writing code". Ars Technica. Retrieved March 6, 2026.
- ^ De Simone, Sergio (March 2, 2026). "OpenAI Codex-Spark Achieves Ultra-Fast Coding Speeds on Cerebras Hardware". InfoQ. Retrieved March 21, 2026.
- ^ "Introducing GPT-5.4". OpenAI. March 5, 2026. Retrieved March 16, 2026.
- ^ "OpenAI plans desktop 'superapp' to streamline user experience". Reuters. March 19, 2026. Retrieved March 21, 2026.
- ^ a b Singh, Jaspreet (March 19, 2026). "OpenAI to buy Python toolmaker Astral to take on Anthropic". Reuters. Retrieved March 20, 2026.
- ^ Seetharaman, Deepa (2026). "Artificial Intelligencer: OpenAI's $852 billion problem: finding focus". Reuters. Retrieved April 3, 2026.
- ^ Townsend, Kevin (2026). "Critical Vulnerability in OpenAI Codex Allowed GitHub Token Compromise". SecurityWeek. Retrieved April 3, 2026.
- ^ Stiller, Eran (February 17, 2026). "OpenAI Publishes Codex App Server Architecture for Unifying AI Agent Surfaces". InfoQ. Retrieved March 12, 2026.
- ^ Hale, Craig (March 5, 2026). "OpenAI releases a Windows version of Codex coding app". TechRadar. Retrieved March 30, 2026.
- ^ Perez, Sarah (February 3, 2026). "Xcode moves into agentic coding with deeper OpenAI and Anthropic integrations". TechCrunch. Retrieved March 16, 2026.
- ^ Warren, Tom (February 4, 2026). "GitHub adds Claude and Codex AI coding agents". The Verge. Retrieved March 20, 2026.
- ^ Mehta, Ivan (February 2, 2026). "Figma partners with OpenAI to bake in support for Codex". TechCrunch. Retrieved March 12, 2026.
- ^ Swain, Gyana (March 27, 2026). "OpenAI adds plugin system to Codex to help enterprises govern AI coding agents". InfoWorld. Retrieved March 30, 2026.
- ^ Kovacs, Eduard (March 10, 2026). "OpenAI Rolls Out Codex Security Vulnerability Scanner". SecurityWeek. Retrieved March 16, 2026.
- ^ Markovic, Sinisa (March 9, 2026). "OpenAI joins the race in AI-assisted code security". Help Net Security. Retrieved March 21, 2026.
- ^ Sabin, Sam (March 16, 2026). "OpenAI unveils Codex Security to automate code security reviews". Axios. Retrieved March 12, 2026.
- ^ Deutscher, Maria (March 6, 2026). "OpenAI introduces Codex Security to help developers fix software vulnerabilities". SiliconANGLE. Retrieved March 23, 2026.
- ^ Sharma, Shweta (March 9, 2026). "OpenAI says Codex Security found 11,000 high-impact bugs in a month". CSO Online. Retrieved March 23, 2026.
- ^ Nellis, Stephen (May 19, 2025). "Microsoft to offer rival AI models from own data center; launches AI coding agent". Reuters. Retrieved March 12, 2026.
- ^ Bensinger, Greg (November 25, 2025). "Amazon pushes in-house AI coding tool Kiro over competitors', memo shows". Reuters. Retrieved March 12, 2026.
- ^ "OpenAI CEO Altman dismisses Moltbook as likely fad, backs the tech behind it". Reuters. February 3, 2026. Retrieved March 12, 2026.
- ^ Hu, Krystal (February 12, 2026). "Artificial Intelligencer: AI's coding war hits Super Bowl ads". Reuters. Retrieved March 26, 2026.
- ^ a b Zeff, Maxwell (March 11, 2026). "Inside OpenAI's Race to Catch Up to Claude Code". WIRED. Retrieved March 12, 2026.
- ^ a b Kahn, Jeremy (March 4, 2026). "OpenAI sees Codex users spike to 1.6 million, positions coding tool as gateway to AI agents for business". Fortune. Retrieved March 12, 2026.