OpenAI debuts Codex CLI, an open-source coding agent tool for terminals that links AI models with local code and computing tasks, like moving files
OpenAI Codex CLI Lightweight coding agent that runs in your terminal npm i -g @openai/codex OpenAI on YouTube : OpenAI Codex CLI Bluesky: Tim Kellogg / @timkellogg.me : hands down, the biggest news is codex — open source Claude Code, but with OpenAI models — no MCP or Azure support yet, although it is open source, and PRs emerged 30 min after the live stream ended — github.com/openai/codex Sung Kim / @sungkim : OpenAI releases Codex CLI — Anthropic releases Claude Code. — Claude Code becomes popular. — OpenAI copies Claude Code. — OpenAI cannot release its copy without facing significant criticism, so it open-sources it. — github.com/openai/codex Alice / @alice.mosphere.at : praise be, they made a claude code without claude (claude does not have the mandate of heaven) — can't wait to play with this — i do wonder if a third-party agent with gemini 2.5 pro is still the best though. we'll see — github.com/openai/codex [image] X: Sam Altman / @sama : o3 and o4-mini are super good at coding, so we are releasing a new product, Codex CLI, to make them easier to use. this is a coding agent that runs on your computer. it is fully open source and available today; we expect it to rapidly improve. Simon Willison / @simonw : Wrote some notes on OpenAI codex, their new open CLI “agent” tool for writing and iterating on code. Since it's open source (Apache 2) the workings are available, including an interesting system prompt and a macOS sandbox using the sandbox-exec mechanism https://simonwillison.net/... [image] Ian Nuttall / @iannuttall : openai literally just threw down the gauntlet to anthropic by launching an open source coding agent alongside o3 and o4-mini [image] Michael Bommarito / @mjbommar : for once, i will give true props to openai - making the codex cli fully open under Apache-2.0 is the right thing to do, unlike what anthropic did with claude code (including the gh dmca after it was reverse engineer/deobfuscated). to be clear, i still don't trust the incentives behind the latest wave of open source, but the end is laudable either way... Forums: Hacker News : OpenAI Codex CLI: Lightweight coding agent that runs in your terminal r/LocalLLaMA : OpenAI introduces codex: a lightweight coding agent that runs in your terminal r/ChatGPTCoding : OpenAI quietly releases their own terminal based coding assistant! [Codex] Lobsters : codex: Lightweight coding agent that runs in your terminal Msmash / Slashdot : OpenAI Debuts Codex CLI, an Open Source Coding Tool For Terminals
Context & Ripple Effects
This is a shift in Codex from an earlier private API beta that powered GitHub Copilot toward a developer-facing work surface. By making the terminal client Apache-2.0 licensed and publishing its source, OpenAI gives developers a visible, modifiable layer between its models and local repositories.
The release also establishes the lightweight entry point for the subsequent broader Codex rollout to ChatGPT business and paid users and later expansion of Codex capabilities. The important change is not just code generation: the agent can act on local computing tasks within the developer’s existing command-line workflow.
First-order effects
- Developers can install Codex CLI through npm and use OpenAI’s o3 and o4-mini models from the terminal for coding and local file-related tasks.
- Open-sourcing the client lets developers inspect, modify, and submit contributions to the tool’s workflow layer, rather than treating it solely as a closed hosted interface.
Second-order effects
- OpenAI gains a lower-friction distribution path into repositories and terminal workflows, while model access remains the service dependency behind the client.
- Terminal-based coding-agent products face pressure to make their interaction and integration layers easier for developers to audit and adapt, especially where local system actions are involved.
Third-order effects
- If terminal agents become a standard developer interface, competition will increasingly center on how reliably models can plan and execute multi-step work across code and local tools—not only on autocomplete quality.
- Open client layers may separate the agent interface from the underlying model provider, making developer control, extensibility, and safeguards around local actions durable differentiators.
The trend: Coding assistants are evolving from code-suggestion features into workflow-native agents that operate where developers already build, test, and manage files.