OpenAI‘s Codex Powers Coding in ChatGPT
OpenAI has unveiled Codex, a powerful AI coding agent now integrated directly into ChatGPT. Designed to function as a virtual coworker, Codex aims to streamline software development by automating routine tasks and enhancing developer productivity.The Verge
What Is Codex?
Codex is a cloud-based software engineering agent powered by OpenAI‘s specialized codex-1 model, an adaptation of the o3 reasoning model optimized for software tasks. It can autonomously write code, fix bugs, run tests, and explain codebases within a secure, sandboxed environment. This integration allows developers to interact with Codex through natural language prompts, making coding more intuitive and efficient. WIRED
Key Features
- Parallel Task Execution: Codex can handle multiple software engineering tasks simultaneously, improving development speed. TechCrunch
- Integration with GitHub: By connecting with GitHub, Codex’s environment can be preloaded with your code repositories, facilitating seamless collaboration. TechCrunch
- Customizable Coding Style: Codex can match an organization’s coding style, assisting in code reviews and maintaining consistency across projects. WSJ
- Secure Environment: Operating within a virtual, sandboxed environment ensures that Codex’s activities are isolated and secure. TechCrunch
Availability
Codex is currently available to ChatGPT Pro, Team, and Enterprise users at no additional cost. OpenAI plans to expand access to ChatGPT Plus and Edu users in the near future. Reddit
Future Developments
OpenAI envisions Codex evolving into a fully autonomous coding assistant. The company is actively seeking feedback during this research preview phase to refine Codex’s capabilities and address potential risks. WIRED
For more detailed information, you can read the full article on TechCrunch: OpenAI launches Codex, an AI coding agent, in ChatGPT.

What is Codex?
Codex is an AI model that OpenAI specifically trained to translate natural language into code. It excels at understanding human instructions and converting them into functional code snippets across various programming languages. Codex is the engine that powers GitHub Copilot.
Codex and ChatGPT Integration
By incorporating Codex into ChatGPT, OpenAI allows users to generate code directly within the chat interface. You can now ask ChatGPT to write a function, debug code, or explain a complex algorithm, and it will provide code-based responses. This integration makes ChatGPT useful not just for general conversation but also for practical coding assistance.
How to use Codex in ChatGPT
🔧 Step 1: Enable Codex in Your Workspace
If you’re an admin of a ChatGPT Team or Enterprise workspace, navigate to chatgpt.com/admin/settings. Under the Codex section, toggle Allow members to use Codex to ON. This grants workspace members access to Codex. OpenAI Help Center

💻 Step 2: Access Codex in ChatGPT
Once enabled, you’ll find Codex in the ChatGPT sidebar. To assign a coding task, type your prompt and click Code. For questions about your codebase, click Ask. Codex operates in an isolated environment preloaded with your codebase, allowing it to read, edit files, and run commands like tests and linters. OpenAI
⏱️ Step 3: Monitor and Review Tasks
Codex processes each task in a separate, secure environment. You can monitor its progress in real-time. Upon completion, Codex commits changes within its environment and provides verifiable logs and test outputs. You can review results, request revisions, or integrate changes into your local setup. BleepingComputer
🛠️ Step 4: Customize with AGENTS.md
Enhance Codex’s performance by adding an AGENTS.md file to your repository. This file guides Codex on navigating your codebase, running tests, and adhering to project standards, similar to a README.md. OpenAI
🔐 Security Measures
Codex runs each task in an ephemeral, network-isolated container. After installing dependencies, all outbound traffic is blocked, preventing data exfiltration. Every action, including shell commands and test executions, is logged for audit purposes. OpenAI Help Center
For a visual walkthrough, check out OpenAI‘s research preview of Codex in ChatGPT:YouTube
- Start a conversation with ChatGPT as usual.
- Clearly state your coding request, for instance, “Write a Python function to calculate the factorial of a number.”
- ChatGPT will generate the code based on your prompt.
Benefits of Codex Integration
- Enhanced Code Generation: Codex allows ChatGPT to generate more accurate and contextually relevant code.
- Improved Debugging: You can paste code snippets into ChatGPT and ask for help identifying and fixing bugs.
- Learning Resource: Use ChatGPT with Codex to understand coding concepts and see practical examples.