Codex version history
The Codex version history lists the OpenAI Codex CLI releases from 0.95.0 (February 2026) to 0.157.1 (26 September 2026), with each release’s npm publish date, its main features, and the changes that break scripts or configuration, such as removed flags and retired models. Dates come from the npm registry; features come from OpenAI’s GitHub release notes.
This page is for the developer or tech lead who owns Codex in a pipeline, a script, or a shared team config. Codex ships a minor release roughly every week. A nightly codex exec job that installs @openai/codex without a version pin can fail one morning with unexpected argument '--full-auto', and nobody on the team changed anything.
What you get from this Codex changelog
Section titled “What you get from this Codex changelog”- The breaking changes since August 2026 in one table, each with its version, date, and replacement.
- A seven-step upgrade routine that proves a new version works before your CI depends on it.
- Two copy-paste prompts: one finds removed flags in your repository, one writes an upgrade note for your team.
- The release history by month, one line per release, so you can see what arrived between your version and the latest.
Which Codex version is current?
Section titled “Which Codex version is current?”As of 26 September 2026:
| Item | Current value | How to check |
|---|---|---|
Codex CLI (npm latest) | 0.157.1, published 2026-09-26 | codex --version · npm view @openai/codex version |
Pre-release channel (npm alpha) | Changes almost daily; do not pin it in CI | npm view @openai/codex dist-tags |
| TypeScript and Python SDKs | @openai/codex-sdk 0.157.1 · PyPI openai-codex 0.157.1 (versions match the CLI since 0.155.0) | npm view @openai/codex-sdk version |
| GitHub Action | openai/codex-action@v1 (newest tag v1.12) | the action’s tags on GitHub |
| Default model | GPT-6 Astra since CLI 0.153.4 (2026-09-04) | /model in the TUI · codex debug models --bundled |
For model prices, context windows, and effort defaults, see the models hub. This page names models only where a release changed what Codex runs.
Which Codex changes break scripts and config?
Section titled “Which Codex changes break scripts and config?”Every row below was checked against the installed CLI, codex-cli 0.157.1, on 26 September 2026. Where the removal version is known, it comes from OpenAI’s release notes.
| Change | Since | What breaks | Use instead |
|---|---|---|---|
codex exec --full-auto removed | 0.147.0 (2026-08-07) | error: unexpected argument '--full-auto' found | A permission profile, -c default_permissions=":workspace" (beta); or --approve-for-me; or --sandbox workspace-write. Pick one: do not combine a profile with --sandbox or --approve-for-me; OpenAI says the profile and legacy sandbox systems do not compose |
codex mcp-server removed | 0.154.0 (2026-09-09) | Codex can no longer run as an MCP server. In 0.157.1 the CLI reads mcp-server as a prompt and tries to open the TUI, so an MCP client that launches it fails with stdin is not a terminal | codex exec, the Codex SDK, or codex app-server (experimental). codex mcp only manages the servers Codex connects to |
-a on-failure and -a untrusted rejected on the command line | checked on 0.157.1; re-run on 0.160.1 (2026-10-10) | error: invalid value 'on-failure' for '--ask-for-approval'; 0.160.1 prints error: invalid value 'on-failure' for '--ask-for-approval <APPROVAL_POLICY>' and [possible values: on-request, never] | -a on-request or -a never. In config.toml, approval_policy = "on-failure" still parses as on-request |
-a placed after exec | checked on 0.157.1 | codex exec -a never … fails with unexpected argument '-a' | Drop the flag: codex exec already runs with approval never (on-request under --approve-for-me), and a codex -a … exec prefix does not change that |
Untrusted projects no longer supply project AGENTS.md | 0.150.0 (2026-08-26) | Codex silently ignores your repository’s instructions in a directory you have not trusted | Trust the project before relying on its AGENTS.md, and check the loaded instructions in a first run |
| Planning tool off by default | 0.152.0 (2026-09-01) | Prompts or harnesses that expect update_plan output get none | Plan mode (/plan), or set tools.update_plan.enabled = true |
| Default model changed to GPT-6 Astra | 0.153.4 (2026-09-04) | Cost, speed, and eval baselines shift for every run that does not set model | Pin model in config.toml or pass -m in CI, and re-run your evals before you move the pin |
| GPT-5.4 retired; GPT-5.2 and GPT-5.4-mini removed from the bundled catalog | 2026-08-31 · 2026-09-09 | Configs that name them no longer get those models; GPT-5.4 users see “GPT-5.4 is no longer available” and move to GPT-6 Sol | Choose a current model from the models hub |
--profile reads $CODEX_HOME/<name>.config.toml | 0.134.0 (2026-05-26) made --profile the primary selector | Team docs that tell people to edit [profiles.<name>] describe the legacy form (still parsed in 0.157.1) | One file per profile, layered on the base config with -p <name> |
Feature flags steer, tool_search, remote_control, personality retired | stage removed in 0.157.1 codex features list | --enable steer or --disable tool_search has no effect | Nothing to toggle: the behaviour, where it still exists, is built in. The personality setting is deprecated and selects nothing |
Newer models also need newer CLIs: GPT-6 Astra needs Codex CLI 0.153.0 or later, and GPT-6 Sol and GPT-6 Luna need 0.155.0 or later. A pinned old CLI cannot select them, so move the CLI pin before the model pin.
How do you upgrade Codex without breaking CI?
Section titled “How do you upgrade Codex without breaking CI?”Treat a Codex upgrade like a dependency bump: one pull request, a pinned version, and a smoke test whose result you can read without reading the agent’s output line by line.
-
Record what you run today and what is available.
Terminal window codex --versionnpm view @openai/codex version -
Read the release notes for every version in between. Each release lives at
https://github.com/openai/codex/releases/tag/rust-v<VERSION>, for examplerust-v0.157.0. Scan for “removed”, “deprecated”, “default”, and “no longer”. The second prompt below does this for you. -
Search your repository for the removed flags in the table above. The first prompt below does this and proposes the replacements.
-
Install the new version on a branch, pinned to an exact version:
Terminal window npm install -g @openai/codex@0.157.1On a workstation,
codex updatealso updates an existing install to the latest version. -
Run the diagnostics and make config drift fail loudly:
Terminal window codex doctor --summarycodex --strict-config exec --ephemeral --sandbox read-only "Reply with the single word OK."codex doctorexits with status 1 when any check fails, so a CI step can gate on it. In a runner without outbound network access, the reachability check fails by design; run it where Codex can reach its provider.--strict-configstops on anyconfig.tomlfield the new version does not recognise, instead of ignoring it. -
Run your real automation once with structured output. If your job uses
codex exec --output-schema schema.json -o result.json, compareresult.jsonagainst the last known-good run: same keys, same verdicts on the same fixture. A schema-valid answer on a fixed fixture is your pass signal. -
Bump the pin in CI in the same pull request. The engineer who owns the CI config approves the merge once steps 5 and 6 pass. If the nightly run fails after merge, revert the pin (
npm install -g @openai/codex@<PREVIOUS_VERSION>) before you debug.
Replace <PREVIOUS_VERSION> with the version from step 1.
Start Codex with codex --search so it can read the release pages, then paste:
Replace 0.150.0 with your version from step 1. The prompt asks for a quotation behind every breaking change, so the reviewer checks each claim against its source sentence instead of trusting a summary.
What changed in Codex, month by month?
Section titled “What changed in Codex, month by month?”Dates are npm publish dates (UTC). Each row lists the release’s headline changes, not every fix; the full notes are on the GitHub release page for that tag. Model and product events appear in the month they happened.
September 2026
Section titled “September 2026”| Release | Date | Highlights |
|---|---|---|
| 0.157.1 | 2026-09-26 | Patch release; OpenAI published no highlights |
| 0.157.0 | 2026-09-25 | GPT-6 Sol and GPT-6 Luna across providers, including Amazon Bedrock, with migration prompts from older models; fullscreen transcripts by default; the background server starts automatically |
| 0.156.1 | 2026-09-23 | GPT-6 Sol and GPT-6 Luna in the model picker; the rate-limit prompt recommends GPT-6 Luna |
| 0.156.0 | 2026-09-22 | Optional fullscreen /tui; voice on by default; /usage; worktree support on by default (a session uses one only when you pass --worktree or run /worktree); /daemon |
| 0.155.0 | 2026-09-17 | Experimental /voice; live reasoning summaries; archive and delete tasks in the agents overview; Touch ID confirmation for MCP requests on Macs; Python SDK versions now match the CLI |
| 0.154.0 | 2026-09-09 | GPT-6 Astra in the picker and Bedrock catalogs; experimental --worktree; inline answers while Codex works; codex mcp-server removed |
| 0.153.3–0.153.4 | 2026-09-04 | GPT-6 Astra in the Bedrock picker; GPT-6 Astra becomes the bundled default model |
| 0.153.0 | 2026-09-03 | codex plugin CLI with remote marketplaces; tui.auto_recap = false turns off automatic recaps; earlier allowance warnings for Plus and Team |
| 0.152.0 | 2026-09-01 | Planning tool off by default; rate-limit banners with credit actions; per-tool MCP output_token_limit |
August 2026
Section titled “August 2026”| Release | Date | Highlights |
|---|---|---|
| 0.151.0 | 2026-08-29 | Grace period for optional MCP server discovery; extensions can rewrite MCP results; nested subagent tokens count toward goal budgets |
| 0.150.0 | 2026-08-26 | @-mention other tasks; Interrupt hooks; untrusted projects no longer supply project AGENTS.md |
| 0.149.0 | 2026-08-20 | codex agents dashboard to search, start, open, rename, and stop tasks; /cd, /pwd, /cwd; codex queue; broader codex doctor checks; SDK accepts max and ultra effort |
| 0.148.0 | 2026-08-18 | /export to Markdown; codex exec fork; estimated credits or cost in /status for eligible workspaces; built-in Amazon Bedrock provider; async hooks and MCP-tool hooks |
| 0.147.0 | 2026-08-07 | Agent Plugins install; --approve-for-me (automatic approval review); opt-in MCP 2026-07-28 protocol, still under development and off in 0.157.1; codex exec --full-auto removed |
July 2026
Section titled “July 2026”| Release | Date | Highlights |
|---|---|---|
| 0.146.0 | 2026-07-29 | Named and pinned sessions; side conversations; Agent Plugins manifests and workspace plugin publishing; admin controls for in-app updates |
| 0.145.0 | 2026-07-21 | /import of settings, MCP servers, plugins, and sessions from Cursor and Claude Code; experimental Bedrock login; audio input; GPT-5.4 users migrated to GPT-5.6 Terra or Luna |
| 0.144.6 | 2026-07-18 | Refreshed instructions for GPT-5.6 Sol, Terra, and Luna and corrected their context windows to 272,000 tokens |
| 0.144.0 | 2026-07-09 | writes app-approval mode (read-only actions run, writes ask first); usage-limit reset credits now show their type and expiry and let you choose which one to redeem; a warning when Ultra reasoning with high multi-agent concurrency may use allowance quickly |
| Model | 2026-07-09 | GPT-5.6 Sol, Terra, and Luna become generally available; they need Codex CLI 0.144.0 or later. The same day, OpenAI moved the Codex desktop app into the ChatGPT desktop app (secondary: Neowin) |
| 0.143.0 | 2026-07-08 | Remote plugins on by default; system proxy (PAC and WPAD) support; codex remote-control pair; MCP tool search on by default |
| 0.142.5 | 2026-07-01 | Patch in the 0.142 line, which added redeeming usage-limit reset credits in /usage and configurable multi-agent delegation (0.142.0, 2026-06-22) |
June 2026
Section titled “June 2026”| Release | Date | Highlights |
|---|---|---|
| 0.142.0 | 2026-06-22 | /usage shows and redeems usage-limit reset credits; /plugins groups remote plugins into OpenAI Curated, Workspace, and Shared; rollout token budgets across agent threads; multi-agent delegation set to disabled, explicit-only, or proactive; indexed web-search mode |
| 0.141.0 | 2026-06-18 | End-to-end encrypted relay channels for remote executors; executor plugins can start their stdio MCP servers per thread; TUI prompts can auto-resolve after inactivity |
| 0.140.0 | 2026-06-15 | /usage token views; codex delete and /delete; /import from Claude Code; @ opens the unified mentions menu by default; encrypted local storage for CLI and MCP OAuth credentials |
| 0.138.0 | 2026-06-08 | /app hands the current CLI thread to the desktop app on macOS and Windows; saved image paths exposed to the model; plugin commands gain JSON output |
| 0.137.0 | 2026-06-04 | F13–F24 keybindings; codex remote-control controller pairing; parallel standalone web search |
| 0.136.0 | 2026-06-01 | /archive, codex archive, and codex unarchive; clickable links in TUI Markdown; alpha codex sandbox setup --elevated for Windows admins |
May 2026
Section titled “May 2026”| Release | Date | Highlights |
|---|---|---|
| 0.135.0 | 2026-05-28 | Richer codex doctor diagnostics; /status shows remote connection details; Vim text objects; /permissions lists named permission profiles |
| 0.134.0 | 2026-05-26 | Search across local conversation history; --profile becomes the primary profile selector; per-server environment targeting and OAuth options for MCP; read-only MCP tools run concurrently when they set readOnlyHint |
| 0.133.0 | 2026-05-21 | Goals on by default; codex remote-control runs in the foreground; permission profiles gain inheritance and managed requirements.toml support |
| 0.132.0 | 2026-05-20 | Python SDK authentication; codex exec resume accepts --output-schema |
| 0.131.0 | 2026-05-18 | codex doctor; one @ picker for files, directories, plugins, and skills; Python SDK renamed to openai-codex |
| 0.130.0 | 2026-05-08 | codex remote-control for a headless app server; plugin sharing controls; thread pagination for app-server clients; Bedrock auth from aws login profiles |
| 0.129.0 | 2026-05-07 | Modal Vim editing (/vim); redesigned resume and fork picker; browse and toggle hooks in /hooks; theme-aware status line |
April 2026
Section titled “April 2026”| Release | Date | Highlights |
|---|---|---|
| 0.128.0 | 2026-04-30 | Persistent /goal workflows; codex update; permission profiles with built-in defaults; plugin marketplace install and plugin-bundled hooks; import of sessions from external agents; explicit multi-agent v2 limits |
| 0.124.0 | 2026-04-23 | Alt+, and Alt+. lower and raise reasoning effort; Amazon Bedrock support with AWS SigV4 signing; hooks stable and configurable in config.toml and requirements.toml; Fast service tier by default on eligible ChatGPT plans |
| Model | 2026-04-23 | GPT-5.5 (gpt-5.5-2026-04-23) released; Codex now labels it a legacy model |
| 0.122.0 | 2026-04-20 | /side conversations; Plan mode shows context usage before implementation; deny-read filesystem globs; codex exec --ignore-user-config and --ignore-rules for isolated runs |
| 0.121.0 | 2026-04-15 | codex marketplace add (now codex plugin marketplace add); Ctrl+R prompt history search; memory reset and deletion controls; secure devcontainer profile |
February and March 2026
Section titled “February and March 2026”| Release | Date | Highlights |
|---|---|---|
| 0.117.0 | 2026-03-26 | Plugins become a first-class workflow (/plugins, startup sync, install and remove); subagents get path-based addresses such as /root/agent_a |
| 0.98.0 | 2026-02-05 | GPT-5.3-Codex support; steer mode stable and on by default (Enter sends during a running task, Tab queues) |
| 0.95.0 | 2026-02-04 | codex app <path> launches the desktop app on macOS; personal skills from ~/.agents/skills; shell tools run in parallel |
What breaks after a Codex upgrade, and how do you recover?
Section titled “What breaks after a Codex upgrade, and how do you recover?”- A CI job fails with
unexpected argument. A flag was removed or moved. Match the message against the breaking-changes table, apply the replacement, and re-run the smoke test from step 5. If the fix is not obvious within the hour, revert the pin and fix it in a branch. - An MCP client hangs or reports
stdin is not a terminalwhen it starts Codex. The client still launchescodex mcp-server, which 0.154.0 removed. Drive Codex throughcodex execor the SDK instead, and delete the server entry from the client’s config. - The agent ignores
AGENTS.mdafter the upgrade. Since 0.150.0, an untrusted project supplies no project instructions. Trust the directory, then ask Codex in a fresh session to restate the repository rules it loaded; a missing rule shows up in the first answer. - Costs or run times jump with no config change. The default model moved (GPT-6 Astra since 0.153.4). Pin
modelexplicitly, compare a week of/statusor/usagenumbers, and change the pin only after your evals pass. codex --strict-configfails on a key you have used for months. The new version no longer recognises it. Look the key up in the release notes, move it to its replacement, or delete it if it was a retired feature flag.- A model name fails on an older CLI. GPT-6 models need 0.153.0 (Astra) or 0.155.0 (Sol and Luna). Upgrade the CLI first; do not work around it by running with a model the team has not evaluated.
Where to go next after a Codex upgrade
Section titled “Where to go next after a Codex upgrade”The sibling changelogs track the other two tools the same way: Claude Code version history and Cursor version history. For the full, unabridged notes, read the Codex releases on GitHub.