Codex CLI v0.171.0 opens your files, images and subagents in a sidebar beside the chat

5 hours ago

Codex CLI v0.171.0 (November 20, 2026) turns the workspace on by default: file links open as searchable previews in a sidebar, images preview there too, and subagents open as transcripts beside your conversation. Also codex exec --remote, /rc remote-control pairing, undo and redo in the prompt, MCP status line providers, GPT-6.2 Sol as the default pick, and fixes for drafts, approvals, diffs, scrolling and enterprise MCP sign-in.

Ask about this presentation

Chapters

  1. 0:00Codex CLI v0.171.0 opens your files, images and subagents in a sidebar beside the chat
  2. 0:15A file link opens the file in the sidebar
  3. 0:28Images open there too
  4. 0:40Watch a subagent without leaving your conversation
  5. 0:53Remote
  6. 0:55codex exec can run on a server that is already up
  7. 1:07/rc pairs another device with your local Codex
  8. 1:21Prompt and status line
  9. 1:23The prompt box gets undo and redo
  10. 1:37An MCP server can fill your status line
  11. 1:50Models
  12. 1:52GPT-6.2 Sol is the default pick
  13. 2:01Fixes
  14. 2:02Your work stays where you left it
  15. 2:18The terminal behaves
  16. 2:30Permissions and sign-ins hold up
  17. 2:45Worth updating today
Show transcript
  1. Codex CLI v0.171.0 switches the workspace on for everyone. Files, images and subagent transcripts now open in a sidebar, right next to your conversation, so you never leave the chat to check them.

    Slide text
    01 02 03 04 05 The workspace
    openai/codex · rust-v0.171.0 release notes · #61352
    Codex

    Codex CLI v0.171.0 turns on the workspace

    Files, images and subagents open in a sidebar beside the chat

    https://github.com/openai/codex/releases/tag/rust-v0.171.0

  2. Click a file link in the conversation and the file opens in a sidebar tab, as a preview you can't edit. You can search it, copy from it as Markdown, and follow its links to other files.

    Slide text
    codex-cli
    01 02 03 04 05 The workspace
    openai/codex · rust-v0.171.0 release notes · #61888, #61889
    Search find text inside the file
    Copy select and copy it as Markdown
    Follow links Tab to a link, Enter to open it
  3. Image files open in the sidebar as well, scaled to the space you have. And when Codex generates an image, it now lands after the answer, with a larger preview.

    Slide text
    codex-cli
    01 02 03 04 05 The workspace
    openai/codex · rust-v0.171.0 release notes · #61919

    Image files preview in the sidebar, sized to fit

    A generated image now appears after the answer that made it

  4. The sidebar menu now lists every subagent with its status, like idle or completed. Pick one and its transcript opens in a tab beside the main chat, to watch, search and scroll.

    Slide text
    codex-cli
    01 02 03 04 05 The workspace
    openai/codex · rust-v0.171.0 · TUI test snapshot · #62149, #62157
    Open in sidebar › + New side chat Available after first message Subagents 2 ○ Source navigation reviewer Idle ○ Builder Completed esc back · ↑/↓ move · ⌃x - hide pane
  5. Remote.

    Slide text
    codex-cli
    01 02 03 04 05 Remote
    02
    Remote
  6. Scripts and CI jobs that call codex exec can now point it at an app server that's already running. It starts or resumes a thread there, with that server's settings and sign-in.

    Slide text
    codex-cli
    01 02 03 04 05 Remote
    openai/codex · rust-v0.171.0 release notes · #61707
    $ codex exec --remote <ADDR>

    Starts a new thread or resumes one, using that server’s config and credentials

  7. A new command, /rc, or /remote, switches remote control on for the background server on your machine. Add device shows a pairing code to type on the other device. It only reaches local sessions.

    Slide text
    codex-cli
    01 02 03 04 05 Remote
    openai/codex · rust-v0.171.0 · TUI test snapshot · #62121
    Add device Enter this pairing code on your other device: ABCD-EFGH. If it expires, select Add device again. › 1. Done

    Local sessions only. Cloud sessions are unaffected.

  8. Prompt and status line.

    Slide text
    codex-cli
    01 02 03 04 05 Prompt and status line
    03
    Prompt and status line
  9. Deleted half a prompt by mistake? Alt+Z undoes it, or Ctrl+Z on Windows, and adding Shift redoes it. Undo even restores attachments and big pastes. It isn't in Vim mode.

    Slide text
    codex-cli
    01 02 03 04 05 Prompt and status line
    openai/codex · rust-v0.171.0 release notes · #61954
    Undo Alt+Z, or Ctrl+Z on Windows
    Redo the same keys with Shift
    Brings back attachments and large pastes too
  10. In /statusline you can now pick an MCP server to draw the bar at the bottom of the screen, or ask Codex to build a custom one for you. It needs the status line extensions feature switched on.

    Slide text
    codex-cli
    01 02 03 04 05 Prompt and status line
    openai/codex · rust-v0.171.0 release notes · #61979, #61988, #62037

    Choose one in /statusline, or have Codex write a custom one

    Only with the status line extensions feature turned on

  11. Models.

    Slide text
    codex-cli
    01 02 03 04 05 Models
    04
    Models
  12. GPT-6.2 Sol is now the default in Codex's model catalogs, with GPT-6.2 Astra listed right beside it.

    Slide text
    codex-cli
    01 02 03 04 05 Models
    openai/codex · rust-v0.171.0 release notes · #62106
    GPT-6.2 Sol the default selection in the model catalogs
    GPT-6.2 Astra listed beside it
  13. Fixes.

    Slide text
    codex-cli
    01 02 03 04 05 Fixes
    05
    Fixes
  14. Switch sessions and your half-written draft and queued follow-ups stay with their own thread. An old turn finishing late no longer cancels a newer approval prompt, and steering mid-turn keeps the earlier edits in its diff.

    Slide text
    codex-cli
    01 02 03 04 05 Fixes
    openai/codex · rust-v0.171.0 release notes · #61216, #61801, #61820
    Drafts stay with their thread when you switch sessions
    Approvals a late-finishing turn no longer cancels the next one’s
    Diffs steering a turn keeps its earlier edits
  15. Three terminal glitches are gone. Scrolling the mouse wheel no longer types junk characters into your prompt, the cursor stops jumping when you type, and shrinking the window redraws at the right size.

    Slide text
    codex-cli
    01 02 03 04 05 Fixes
    openai/codex · rust-v0.171.0 release notes · #62139, #62174, #62175
    Scrolling no stray characters in the prompt
    Typing the cursor stays on its line
    Resizing the next redraw uses the new size
  16. Changing the working directory now keeps your permission profile. And company MCP sign-ins work with identity providers that never issue a refresh token, though you'll sign in again once the ID token expires.

    Slide text
    codex-cli
    01 02 03 04 05 Fixes
    openai/codex · rust-v0.171.0 release notes · #61195, #62129
    Permission profiles kept when you change working directory
    Enterprise MCP sign-in works without a refresh token
  17. I'd say yes, update today, above all if you run subagents or jump between lots of files. Image previews need a terminal that can draw pictures. I haven't tried remote pairing myself yet.

    Slide text
    codex-cli
    01 02 03 04 05 Fixes
    openai/codex · rust-v0.171.0 release notes · #61919

    Most of all if you run subagents or work across many files

    Image previews need a terminal that can draw images

    Details: the rust-v0.171.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