Codex CLI 0.171.0 Makes TUI Default

OpenAI’s Codex CLI 0.171.0 enables the TUI workspace by default. That matters because the release turns terminal-side review into the normal path, adds codex exec --remote for existing app servers, and fixes a specific enterprise MCP sign-in case. For readers following Codex CLI GitHub history, this is the changelog entry to read before changing local habits.
| Question | Answer |
|---|---|
| Who must act | No one is required to act; this is an installable CLI release. |
| What changes for them | The default terminal path is now the TUI workspace, with Sol selected in the model catalog and remote exec available for existing app servers. |
| Who can skip | Users who do not use the TUI workspace or remote app servers can wait. |
Read the release as a workspace change
The official changelog is terse, but the main change is easy to miss. The TUI workspace is now stable and enabled by default, so the terminal UI becomes the expected surface for review work.
That replaces opt-in workspace behavior with default behavior. The release says the workspace includes searchable document previews, image previews, and subagent transcripts alongside the main conversation.
There is a useful limit in the note too. The full changelog calls the document previews read-only, so this is a better review surface before it is an editing surface.
Rolling this out in your team?
We train engineering teams on their own codebase in two days. Codex setup, shared rules and review included.
Compare the changes before switching habits
This release is broader than a UI default. It touches model selection, remote execution, MCP status display, and session state.
| Area | What changed in 0.171.0 | Limit to check |
|---|---|---|
| TUI workspace | The workspace is stable and enabled by default, with file preview and transcript support beside the conversation. | Read-only previews still require a separate edit path. |
| Model catalog | GPT-6.2 Sol and Astra were added, with Sol as the default catalog selection. | Existing assumptions about the selected model should be checked after upgrade. |
| Remote exec | codex exec --remote can start or resume noninteractive sessions on an existing app server. |
The note assumes an app server already exists. |
| MCP surfaces | /statusline can select and author custom MCP status lines when tui_extensions_statusline is enabled. |
The status line work is still behind that setting. |
The MCP sign-in fix is narrow and important. It covers enterprise identity providers that issue ID tokens without refresh tokens, which is exactly the sort of failure that looks like a local setup problem until the client handles it correctly.
Try it in one existing repository
Use a real repository with active Codex use, preferably one where file review inside the terminal would save a context switch. Keep this inside your normal CLI workflows, because the point of the release is the day-to-day terminal path.
npm install -g @openai/codex@0.171.0
When checking Codex CLI GitHub links from the changelog, treat the PR references as detail rather than the upgrade plan. The first check is whether the new default helps in one repo you already understand.
| Check | Action | Pass condition |
|---|---|---|
| Version pin | Install @openai/codex@0.171.0 with the changelog command. |
Codex launches on the intended version in that repo. |
| Workspace default | Open Codex in the repo and inspect a Markdown or source document from the TUI workspace. | The preview opens and the main conversation stays visible. |
| Remote path | If you already run an app server, try codex exec --remote against an existing noninteractive session. |
The session starts or resumes through the app server path. |
| MCP path | If enterprise MCP sign-in has failed with your identity provider, retry after the upgrade. | The old ID-token-only failure no longer blocks sign-in. |
Keep approvals tied to the right turn
The bug fixes are mostly about state staying attached to the right work. Drafts and queued follow-ups stay with their original threads when switching or resuming sessions.
Permission profiles now survive working directory changes. Late completion events should no longer cancel approvals for a newer turn.
That belongs to Review in our methodology: keep the agent’s proposed change beside the supporting evidence before accepting work. If you are comparing this with the previous MCP and sandbox work, the closest related note is Codex CLI 0.170.0 Fixes MCP and Sandbox.
Further reading
Upgrade one repo deliberately
Pick one repository with active Codex use, install 0.171.0, and run the table above once before changing your normal command alias.
Train your team on Codex
Two days on your team's own repository, onsite or remote, with a written proposal before you commit.
Book a callPrefer to measure first? Take the free team check.