Last updated: November 25, 2026
Codex CLI 0.172, released November 24, 2026, adds Tab completion for slash command arguments, clickable thread links, task-group jumps in the agent command center, on-demand startup for optional MCP servers, per-tool approval reviewers for connected apps and Amazon Bedrock Runtime selection. Update with npm install -g @openai/codex@0.172.0.
Contents
- What changed in Codex CLI 0.172
- How to update and try the new features
- Lazy MCP startup: what it means for your config
- Per-tool approval reviewers
- Amazon Bedrock Runtime selection
- Fixes power users will notice
- Codex CLI 0.172 vs. 0.171
- Frequently asked questions
What changed in Codex CLI 0.172
OpenAI lists version 0.172.0 in its ChatGPT and Codex changelog under November 24, 2026. The matching GitHub release, rust-v0.172.0, went out late on November 23 Eastern time. It arrives four days after 0.171, which we covered in our Codex CLI 0.171 guide.
It is a smaller release than 0.171, focused on navigation and large setups. The six new features are:
| Feature | What it does | Who benefits |
|---|---|---|
| Thread links | Follow links in search results and transcripts to open saved conversations and nested agents in the terminal | Anyone working with subagents or long histories |
| Slash argument completion | Press Tab to complete arguments, for example /mcp lo to /mcp login |
Keyboard-first users |
| Task-group navigation | Shift+Up and Shift+Down jump between task groups in the agent command center | People running many parallel chats |
| Lazy MCP startup | Optional stdio MCP servers with cached tool lists start on their first tool call | Users with many MCP servers |
| Per-tool approval reviewer | Choose a reviewer for one connected app tool in config.toml |
Teams tuning approvals |
| Bedrock Runtime in app-server | App-server clients can pick Amazon Bedrock Runtime during setup or sign-in | AWS-based organizations |
How to update and try the new features
- Update the CLI with
npm install -g @openai/codex@0.172.0, the command shown in the changelog. If your release supports self-update,codex updatedoes the same job, according to OpenAI’s command reference. - Start
codex, type/mcp loand press Tab. The argument completes to/mcp login. - Type
/agentsor runcodex agentsto open the agent command center. In the task list, press Shift+Down or Shift+Up to jump to the next or previous group. - Search for an older chat with F3 or
/, then follow a thread link from the results or a transcript to open that conversation or nested agent. - Open
~/.codex/config.tomland review your MCP and approval settings using the sections below.
Lazy MCP startup: what it means for your config
The most important behavior change is for MCP users. According to OpenAI’s MCP documentation, Codex can now wait until the first tool call to start an optional stdio server if it already has a usable tool list for that server. Without a cached tool list, the server still starts with the thread.
Why it matters: if you configure ten MCP servers but use two, the others no longer launch at startup. OpenAI does not publish timing figures.
The setting that controls this is listed in the configuration reference:
[features]
mcp_lazy_stdio_startup = false # default is true; false starts servers with the thread
Related keys worth knowing:
mcp_servers.<id>.required = truemakes startup fail if that server is not ready.startup_readiness = "catalog"lets a valid cached tool catalog satisfy that requirement, so a required stdio server can also start on first use. Tool calls still need a live connection.mcp_optional_startup_grace_mssets the shared wait for optional servers when Codex builds the initial tool catalog. It defaults to 1000 milliseconds.startup_timeout_secdefaults to 10 seconds andtool_timeout_secto 60 seconds per server.
If a server is slow to warm up, turn lazy startup off so the first tool call does not wait.
Per-tool approval reviewers
Codex already let you choose who reviews approval prompts. The configuration reference describes approvals_reviewer as user (the default) or auto_review, which uses the reviewer subagent. Version 0.172 extends this to individual connected app tools:
approvals_reviewer = "user"
[apps._default]
approvals_reviewer = "user"
[apps.<app-id>.tools.<tool>]
approvals_reviewer = "auto_review"
The per-tool value overrides the app’s reviewer, which in turn overrides apps._default and the top-level setting. Managed requirements set by an administrator still take precedence. A practical pattern is to send read-only or low-risk tools to auto_review while keeping tools that write data on user. If the automatic reviewer denies something you want, the /approve command retries it.
Amazon Bedrock Runtime selection
The changelog says app-server clients can now select Amazon Bedrock Runtime during setup or sign-in. In the CLI itself, the advanced configuration page explains that model_provider = "amazon-bedrock" targets the Bedrock Mantle endpoint and amazon-bedrock-runtime targets the Runtime endpoint:
model_provider = "amazon-bedrock"
model = "<bedrock-model-id>"
[model_providers.amazon-bedrock.aws]
profile = "default"
region = "eu-central-1"
If you omit profile, Codex uses the standard AWS credential chain. Model availability and pricing come from your Bedrock account, not from a ChatGPT plan. For a competing agent on the same clouds, see our Claude Code 2.1.331 guide to Code Mode on Bedrock, Vertex and Foundry.
Fixes power users will notice
- Resuming headless runs.
codex exec resumenow restores saved sandbox permissions, the working directory and workspace roots unless you override them. - Cross-platform remote sessions. Working directories, workspace roots and writable paths survive when client and server run different operating systems.
- Clearer errors. Provider errors appear as soon as they arrive in the stream, and Codex says which API spend limit was reached.
- Subagents. Interrupting a parent turn keeps queued replies from child agents for the next turn.
- Long questions. PageUp and PageDown let you read and answer choices taller than the answer area.
- Code Mode. All host connections now use gRPC, and the
code_mode_host_grpcsetting is deprecated, so you can remove it from your config.
The bundled openai-docs skill also now covers migration to GPT-6.2 Astra and Sol. Our GPT-6.2 Astra and Sol guide explains those models and their pricing.
Codex CLI 0.172 vs. 0.171
| Area | Codex CLI 0.171 (Nov. 20) | Codex CLI 0.172 (Nov. 24) |
|---|---|---|
| Headline change | Workspace on by default, remote exec, GPT-6.2 Sol default | Navigation, MCP startup and approval tuning |
| MCP servers | MCP status lines in the status bar | Optional stdio servers start on first tool call |
| Approvals | Existing reviewer settings | Reviewer per connected app tool |
| Providers | Configured in config.toml | Bedrock Runtime selectable in app-server setup |
| Composer | Undo and redo | Tab completion for slash command arguments |
If you skipped 0.171, read that guide first; its changes are larger. Earlier releases are covered in our Codex CLI 0.169 guide. For plan quotas, see Codex usage limits explained.
Limitations. The release notes list no model, pricing or context window changes. Lazy startup needs a cached tool list.
Frequently asked questions
When was Codex CLI 0.172 released?
OpenAI’s ChatGPT and Codex changelog lists Codex CLI 0.172.0 on November 24, 2026. The GitHub release rust-v0.172.0 was published late on November 23, 2026 Eastern time. It follows version 0.171.0, released on November 20.
How do I update to Codex CLI 0.172?
Run npm install -g @openai/codex@0.172.0, the install command shown in OpenAI’s changelog. If your installed release supports self-update, the codex update command checks for and applies the newest Codex CLI version.
Why does my MCP server no longer start when Codex opens?
Starting in 0.172, optional stdio MCP servers that have a cached tool list start on their first tool call by default. To restore the old behavior, set features.mcp_lazy_stdio_startup = false in config.toml.
Can Codex CLI use Amazon Bedrock?
Yes. Codex has built-in amazon-bedrock (Mantle endpoint) and amazon-bedrock-runtime (Runtime endpoint) providers. Version 0.172 also lets app-server clients choose Bedrock Runtime during setup or sign-in. Supported models depend on your Bedrock account and region.
What does approvals_reviewer = auto_review do?
It sends eligible approval prompts to Codex’s automatic reviewer subagent instead of to you. In 0.172 you can set it for a single connected app tool, which overrides the app-level and top-level settings, subject to managed requirements.
Sources
- OpenAI: ChatGPT and Codex changelog (Codex CLI 0.172.0, November 24, 2026)
- GitHub: openai/codex release rust-v0.172.0
- OpenAI Codex docs: Model Context Protocol
- OpenAI Codex docs: Configuration reference
- OpenAI Codex docs: Advanced configuration
Featured image: OpenAI logo (symbol) by OpenAI, public domain, via Wikimedia Commons. OpenAI and Codex are trademarks of OpenAI; FreeAnswers is not affiliated with OpenAI.