AI Coding Agent. Powered by ChatGPT.

Codex Download

A coding agent that helps you build and ship with AI—powered by ChatGPT. Download Codex for macOS or Windows and start shipping better code, faster.

Download Codex

Available on macOS and Windows

$ npx codex init my-project
> Analyzing repository structure...
> Detected: React + TypeScript + Vite
> Generating feature plan...
8 files generated, 0 errors
$ codex run

Trusted by engineering teams at

The best way to build with agents

Codex is an AI coding agent that handles real engineering work end to end. From routine pull requests to your hardest problems, Codex reliably completes tasks like building features, complex refactors, migrations, and more, powered by OpenAI's frontier coding models.

Built to drive real engineering work

Codex completes complex multi-step engineering tasks reliably—feature development, large-scale refactoring, dependency migrations, and architectural changes across your entire codebase.

Designed for multi-agent workflows

The Codex app is a command center for agentic coding. With built-in worktrees and cloud environments, agents work in parallel across projects, completing weeks of work in days.

Adapts to how your team builds

With Skills, Codex goes beyond writing code to directly contribute to the full development lifecycle—code understanding, prototyping, documentation, code review—aligned with your team's standards.

Made for always-on background work

With Automations, Codex works unprompted—picking up routine but important work like issue triage, alert monitoring, CI/CD, and more—so you can stay focused on building.

Raises the bar across your team

Codex raises baseline quality with more thorough designs, comprehensive testing, and high-signal code review—so issues are caught early and your team ships with confidence.

The same agent everywhere you build

Use Codex across multiple surfaces, all connected by your ChatGPT account. Start in the Codex app, move to your editor, or keep going in the terminal. Download Codex today and experience the future of AI-powered software development.

01

Start in the Codex app

The native desktop app gives you the full Codex experience—multi-agent orchestration, worktree management, cloud environments, and real-time collaboration.

The macOS download is available as a DMG installer. The Windows download is available through the Microsoft Store. Both versions sync with your ChatGPT account for seamless continuity.

02

Move to your editor

Codex integrates directly with VS Code and JetBrains IDEs. Install the Codex extension and bring agentic coding into the editor you already use, with full project context awareness.

Codex respects your editor's theme, keybindings, and extensions—so switching between the app and your editor feels natural.

03

Keep going in the terminal

Codex CLI gives you the same powerful agent directly in your shell. Run codex to start a session, pipe output, and integrate Codex into your existing CI/CD pipelines and automation scripts.

The CLI is ideal for headless environments, remote servers, and automated workflows where a GUI isn't available.

How Codex works

Codex understands your codebase, plans the work, executes changes, and validates results—all within a reliable loop you can trust.

1

Understand your codebase

Codex indexes your repository, builds a dependency graph, and understands your project structure, architecture, and conventions before making any change.

2

Plan the implementation

Given a task, Codex creates a detailed plan—identifying files to change, dependencies to update, tests to write, and edge cases to handle.

3

Execute with precision

Codex generates code, runs linters and type checkers, creates and updates tests, and iterates until all checks pass—producing production-ready changes.

4

Review and ship

Every change comes with a clear summary, test results, and diff preview. You review, approve, and merge—confident that the work has been thoroughly validated.

What builders are saying

Engineering leaders and developers share how Codex has transformed their workflow.

"At Wonderful, Codex has completely replaced every other agentic harness for our core technology and architecture work requiring deep reasoning and understanding."
DS
Daniel Sikorskiy Chief Architect, Wonderful
"At Harvey, Codex transformed how we build by cutting early iteration time by 30–50%, freeing engineers to focus on system design and high-leverage decisions."
JW
Joey Wang Mobile Lead, Harvey
"Codex performed best in our backend Python code-review benchmark. It was the only one to catch tricky backward compatibility issues and consistently found the hard bugs that other bots missed."
AW
Aaron Wang Senior Software Engineer, Duolingo
"With Codex, we ship in a weekend what previously took a quarter. It's become our go-to for projects we wouldn't have otherwise been able to take on."
TR
Tess Rosania Software Engineer, Sierra
"I needed to update another team's codebase for a release. Codex handled the refactor and test generation, delivering fully tested code I handed back fast—keeping the feature on schedule without added risk."
TW
Tres Wong-Godfrey Tech Lead, Cisco Meraki
"The recent Codex releases have been a step change. Codex PR reviews catch bugs our team would have missed, and we ship with more confidence because of it."
AR
Austin Ray AI Dev X Team Lead, Ramp

Frequently asked questions

Common questions about downloading and using Codex.

What is Codex?

Codex is an AI coding agent from OpenAI, powered by ChatGPT. It helps developers build and ship software faster by handling complex engineering tasks end to end—from feature development and refactoring to code review and testing. Codex is available as a desktop app for macOS and Windows, as IDE extensions, and as a CLI tool.

How do I download Codex?

Click the Download button at the top of this page to get the latest version of Codex for your platform. macOS users can download the DMG installer directly. Windows users can install Codex through the Microsoft Store. Both versions are free to download and use with your ChatGPT account.

Is Codex free to use?

Yes, Codex is free to download and use. It is powered by your ChatGPT account, and usage may be subject to your ChatGPT plan's limits. Teams can earn up to $500 in credits when their members start using Codex.

What operating systems does Codex support?

Codex is available on macOS and Windows. The macOS version is distributed as a DMG file, and the Windows version is available through the Microsoft Store. Codex CLI works on any platform that supports Node.js, including Linux.

Can Codex work with my existing codebase?

Yes. Codex indexes your repository, builds a dependency graph, and understands your project structure, architecture, and coding conventions. It works with any language and framework, and integrates with VS Code, JetBrains IDEs, and your terminal.

How does Codex compare to GitHub Copilot or Cursor?

Codex is designed for end-to-end engineering tasks rather than inline autocomplete. It handles multi-step workflows—planning, implementing, testing, and reviewing changes autonomously. Codex is built on OpenAI's frontier coding models and is purpose-built for agentic coding workflows with multi-agent orchestration, worktrees, and cloud environments.

Download Codex today

A coding agent that helps you build and ship with AI—powered by ChatGPT. Download Codex now and start shipping better code, faster.

Download Codex