OpenAI's coding agent moves into your terminal
It brings OpenAI's coding agent into your terminal as a lightweight Rust binary, using your existing ChatGPT plan or an API key.

What it does Codex CLI is OpenAI’s terminal-native coding agent. The README is vague on mechanics, but the tool connects to OpenAI’s models and runs locally on macOS and Linux as a Rust binary. You authenticate through an existing ChatGPT subscription or an API key.
The interesting bit OpenAI is shipping this agent across every surface—CLI, IDE, desktop, web—yet only the terminal version is open source under Apache 2.0. That makes this repo the inspectable piece of a broader product strategy, even if the documentation keeps the actual capabilities opaque.
Key highlights
- Native binaries for Apple Silicon, Intel Macs, and Linux (x86_64 and arm64)
- Uses your existing ChatGPT plan (Plus, Pro, Business, Edu, Enterprise) or an API key
- Also installable via npm and Homebrew, despite being a Rust project
- Apache-2.0 licensed, with a dedicated open-source fund
Caveats
- The README never clarifies what the agent actually does once running—file edits, command execution, or chat
- Windows installation is mentioned, but release artifacts are only listed for macOS and Linux
Verdict Try it if you already pay for ChatGPT and want a coding assistant inside your shell. Pass if you need transparent documentation before letting an AI agent loose in your repository.
Frequently asked
- What is openai/codex?
- It brings OpenAI's coding agent into your terminal as a lightweight Rust binary, using your existing ChatGPT plan or an API key.
- Is codex open source?
- Yes — openai/codex is open source, released under the Apache-2.0 license.
- What language is codex written in?
- openai/codex is primarily written in Rust.
- How popular is codex?
- openai/codex has 100.7k stars on GitHub and is currently accelerating.
- Where can I find codex?
- openai/codex is on GitHub at https://github.com/openai/codex.