Codex CLI v0.172.0 opens saved conversations from a link and completes slash commands with Tab

2 days ago

Codex CLI v0.172.0: thread links open saved conversations in the terminal, Tab completes slash command arguments, optional MCP servers start on their first tool call, and codex exec resume keeps the sandbox it started with.

Ask about this presentation

Chapters

  1. 0:00Codex CLI v0.172.0 opens saved conversations from a link
  2. 0:12Tab completes slash command arguments
  3. 0:22Shift+Up and Shift+Down jump between task groups
  4. 0:30Tools and sign-in
  5. 0:32Optional MCP servers start on their first tool call
  6. 0:40Pick who approves each connected app tool
  7. 0:50App-server clients can pick Amazon Bedrock Runtime
  8. 0:59Fixes
  9. 1:00codex exec resume keeps the sandbox it started with
  10. 1:13Remote sessions keep their paths across operating systems
  11. 1:22Errors arrive at once and name the spend limit
  12. 1:33Three smaller fixes
  13. 1:46The openai-docs skill covers GPT-6.2 Astra and Sol
  14. 1:58Code Mode now uses gRPC for every host connection
  15. 2:07Worth updating if you resume exec runs
Show transcript
  1. Codex CLI v0.172.0 lets you follow a link to an old conversation without leaving the terminal. Thread links in search results and transcripts now open that saved conversation, or jump straight to a nested agent inside it.

    Slide text
    01 02 03 Getting around the terminal
    openai/codex · GitHub release rust-v0.172.0 · pull request #62332
    Codex
    Search results Transcripts Nested agents
  2. Slash commands now complete their arguments. Type /mcp and the first letters of login, press Tab, and Codex fills in /mcp login. Enter still sends exactly what you typed.

    Slide text
    codex-cli v0.172.0
    01 02 03 Getting around the terminal
    openai/codex · GitHub release rust-v0.172.0 · pull request #62343
    › /mcp lo Tab › /mcp login
  3. In the agent command center, you no longer step through every task to reach the next group. Shift Up and Shift Down jump to the first task in the previous or next group.

    Slide text
    codex-cli v0.172.0
    01 02 03 Getting around the terminal
    openai/codex · GitHub release rust-v0.172.0 · pull request #62200

    Jump between task groups in the agent command center

    Shift ↑ Shift ↓
  4. Next, tools and sign in.

    Slide text
    codex-cli v0.172.0
    01 02 03 Tools and sign-in
    02
    Tools and sign-in
  5. Optional MCP servers with a cached tool list now start only when the agent first calls one of their tools, by default. Required servers still connect at startup.

    Slide text
    codex-cli v0.172.0
    01 02 03 Tools and sign-in
    openai/codex · GitHub release rust-v0.172.0 · pull request #62366

    Optional MCP servers wait for their first tool call

    Required servers still connect at startup.

  6. You can now choose an approval reviewer for a single tool in a connected app. Review calendar event creation yourself, say, and keep automatic review for the calendar's other tools. Managed requirements still apply.

    Slide text
    codex-cli v0.172.0
    01 02 03 Tools and sign-in
    openai/codex · GitHub release rust-v0.172.0 · pull request #62360
    # config.toml [apps.calendar.tools.calendar_create_event] approvals_reviewer = "user"
  7. Apps built on the Codex app server can now choose Amazon Bedrock Runtime during setup or sign in. Mantle is still the default when a client doesn't ask for Runtime.

    Slide text
    codex-cli v0.172.0
    01 02 03 Tools and sign-in
    openai/codex · GitHub release rust-v0.172.0 · pull request #62222

    App-server clients can pick Amazon Bedrock Runtime at sign-in

    Leave it unset and Bedrock Mantle stays the default.

  8. And the fixes.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    03
    Fixes
  9. The biggest fix is in codex exec resume. It used to apply your current sandbox defaults, so a session started read only could come back able to write. Now it restores the saved permissions, working directory and workspace roots, unless you override them.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0 · pull request #62194

    A session saved read-only no longer comes back with write access.

  10. Remote sessions where the client and server run different operating systems, say a Mac talking to a Linux box, now keep the working directory, the workspace roots and the writable paths intact.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0 · pull request #62375, #62376, #62377
    Working directory Workspace roots Writable paths
  11. Codex now shows a provider error the moment it arrives, instead of losing it to a timeout. And when you hit a spend limit, it says whether it's the API key, project or organization limit, and stops retrying.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0 · pull request #62329, #62356

    Provider errors show up at once, and name the spend limit you hit

    API key Project Organization
  12. Page Up and Page Down now scroll answer choices too tall for the answer area. Cloud replies that finish late update in place, keeping the transcript in order. And interrupting a parent turn no longer drops replies its child agents had queued.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0 · pull request #62209, #62403, #62348
    Page Up, Page Down scroll answer choices taller than the answer area
    Cloud replies finish in place, so the transcript stays in order
    Child agents queued replies survive when you interrupt the parent
  13. The openai-docs skill that ships with Codex now guides a move to GPT-6.2 Astra and Sol, including which endpoint to use. Both models work with Responses and Chat Completions, but tool calling needs Responses.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0 · pull request #62447

    The bundled openai-docs skill now covers GPT-6.2 Astra and Sol

    Tool calling on both requires the Responses API.

  14. Code Mode drops its old framed protocol and talks to its host over gRPC every time. The setting that switched it on is now deprecated and ignored.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0 · pull request #62476

    The code_mode_host_grpc setting is deprecated and ignored.

  15. I would update, especially if you resume codex exec runs. It also helps with optional MCP servers and busy task groups. The limit: required MCP servers still start up front. Every change is in the v0.172.0 release notes on GitHub.

    Slide text
    codex-cli v0.172.0
    01 02 03 Fixes
    openai/codex · GitHub release rust-v0.172.0

    Worth updating if you resume codex exec runs

    Also for anyone with optional MCP servers or several task groups
    Still the same required MCP servers connect at startup
    Full list the v0.172.0 release notes on GitHub

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York