OpenAI Introduces Codex: AI Coding Agent in ChatGPT

OpenAI has launched Codex, a powerful AI coding agent integrated into ChatGPT. This new tool aims to streamline software development by automating tasks, answering code-related questions, and even fixing bugs.

Codex: Powered by Enhanced AI

Codex leverages codex-1, an optimized version of OpenAI's o3 AI reasoning model. This specialized model produces cleaner code, follows instructions more accurately, and iteratively tests its code until successful.

GitHub Integration and Sandboxed Environment

Codex operates within a secure, sandboxed virtual environment in the cloud. By connecting with GitHub, Codex can access your code repositories directly. OpenAI estimates Codex can perform tasks like writing simple features, fixing bugs, answering codebase questions, and running tests in one to 30 minutes.

Multitasking and Accessibility

Codex can handle multiple software engineering tasks concurrently, allowing users to continue using their computer and browser without interruption.

Availability and Pricing

Codex is now available for ChatGPT Pro, Enterprise, and Team subscribers with initial generous access. OpenAI will implement rate limits soon, with options to purchase additional credits. Access for ChatGPT Plus and Edu users is planned for the near future.

The Rise of AI in Software Development

AI coding tools are gaining significant traction. Reports indicate that AI-generated code accounts for approximately 30% of new code at both Google and Microsoft. Other companies like Anthropic and Google have also released their own AI coding assistants, Claude Code and Gemini Code Assist, respectively.

OpenAI's Growing Suite of Tools

The launch of Codex follows OpenAI's acquisition of Windsurf, the developer behind a popular AI coding platform, for a reported $3 billion. This demonstrates OpenAI's commitment to expanding its AI coding tool offerings.

How to Use Codex

Users can access Codex through the ChatGPT sidebar. New coding tasks are assigned by entering a prompt and clicking the "Code" button. Codebase questions can be submitted via the "Ask" button. A task progress monitor is located below the prompting bar.

The Future of AI Coding Agents

OpenAI envisions Codex evolving into a "virtual teammate" for engineers, capable of autonomously handling complex tasks that typically require hours or days of human effort. OpenAI is already utilizing Codex internally for repetitive tasks, feature scaffolding, and documentation drafting.

Safety and Reliability

OpenAI emphasizes Codex's safety features, including its ability to refuse malicious software development requests. Codex operates in an air-gapped environment without internet or external API access, mitigating potential risks. However, like all generative AI, Codex is still prone to errors, as highlighted by recent studies.

Codex CLI Update

OpenAI is also updating Codex CLI, its open-source terminal-based coding agent, with an optimized o4-mini model. This model is now the default for Codex CLI and is available through the OpenAI API.

Expanding ChatGPT's Capabilities

Codex joins a growing list of features added to ChatGPT, including access to Sora (AI video platform), Deep Research (research agent), and Operator (web browsing agent). These additions aim to enhance the value of ChatGPT subscriptions and potentially generate new revenue streams.