OpenAI · 2026-11-20 · notable
Codex CLI 0.171.0 — GPT-6.2 Sol becomes the default, TUI workspace on
In short
Codex CLI 0.171.0 adds GPT-6.2 Sol and GPT-6.2 Astra to its model list with Sol as the default, turns on the TUI workspace with document and image previews, and lets codex exec start or resume sessions on a remote app server.
OpenAI · 2026-11-20 · 1 source checked

Codex CLI switches its default model to GPT-6.2 Sol and turns on a workspace view with previews and subagent transcripts.
What is it?
GPT-6.2 Sol is now the default model in Codex CLI 0.171.0, and GPT-6.2 Astra joins it in the model catalog. OpenAI's open-source coding agent also enables the TUI workspace by default, which shows document previews, image previews and subagent transcripts in the terminal.
How does it work?
A new remote option for `codex exec` starts or resumes a session on an existing app server, and new `/rc` and `/remote` commands manage remote control and show device pairing codes. The `/statusline` command can now select and author a custom MCP status line, and the prompt composer gets configurable undo and redo shortcuts.
Why does it matter?
The fixes target lost work: drafts, queued follow-ups and interrupted input now survive switching or resuming sessions, and permission profiles stay intact when the working directory changes. Late completion events no longer cancel approvals for a newer turn, and enterprise MCP sign-in works with identity providers that issue no refresh tokens.
Who is it for?
developers who use the Codex agent in the terminal
Try it
npm i -g @openai/codex@0.171.0