
Codex CLI 0.171.0: Remote Execution and GPT 6.2 Defaults
Version 0.171.0 introduces the --remote flag for codex exec and new TUI slash commands to connect directly to persistent app servers. We also cover the new GPT 6.2 Sol and Astra model catalog additions, the stable TUI workspace, and key security and reliability fixes.
Chapter 1
Remote Execution in Codex CLI 0.171.0
James Turner
Codex CLI 0.171.0 dropped on November twentieth, twenty twenty six, and it finally solves a workflow headache that has been bugging anyone running persistent agent servers. Before we get into the flags and commands, thanks to Jellypod AI for sponsoring this episode. If you are building developer tools or just trying to keep up with fast moving releases, having a clean way to turn changelogs into audio is pretty handy.
James Turner
So, what actually changed in 0.171.0? The centerpiece for automation and multi device workflows is a new flag on codex exec. In pull request sixty one thousand seven hundred seven, OpenAI added the remote flag, which you pass as double dash remote followed by an address. Instead of spinning up a fresh local process every time you run a noninteractive script, codex exec can now attach directly to an existing app server. You can start a new session or resume an existing one right on that running server.
James Turner
And it pairs with a second update in the terminal UI. Pull request sixty two thousand one hundred twenty one introduces two new slash commands inside the TUI, slash rc and slash remote. Those let you manage local remote control and display device pairing codes right from your terminal session. No manual tunnel setup, no wrestling with port forwarding just to check in on a session from another machine.
James Turner
Why does this matter in practice? Think about how people actually run Codex in production or on a team. A lot of developers keep a persistent Codex app server running as a background daemon, or on a beefy remote dev box. Previously, if you wanted to trigger a scripted codex exec run, it would spin up its own isolated local process. Now, your CI scripts, local cron jobs, or automation hooks can target that persistent server directly. And if you are working interactively in the TUI on your workstation, running slash remote lets you pair an external device cleanly without leaving the session.
James Turner
Here is how to use it today. First, update your CLI with npm install global at openai slash codex at 0.171.0. Once you are on 0.171.0, you can run codex exec with the double dash remote flag and your target server address to start or resume a noninteractive session. Inside an active TUI session, just type slash rc or slash remote to bring up remote control management and view your device pairing codes. One caveat to watch out for: the release notes do not specify the exact address format or any authentication flags required for the remote address, so you will want to run codex exec help locally to check the exact syntax before wiring it into a pipeline.
Chapter 2
New Models, Workspace Defaults, and Security Fixes
James Turner
Beyond remote execution, 0.171.0 packs a few major default changes you will notice the moment you upgrade. First, the model catalog. Pull request sixty two thousand one hundred six adds GPT 6.2 Sol and GPT 6.2 Astra to the catalog, and Sol is now the default catalog selection. According to OpenAI's November seventeenth Model Release Notes, Astra is built for advanced reasoning, coding, and complex professional work, while Sol balances speed and lower cost for multistep tasks. Both models also generate fewer output tokens than their predecessors, which should keep latency and token burn down.
James Turner
Second, the TUI workspace is now marked stable and enabled by default. That gives you searchable document previews, image previews, and subagent transcripts sitting right alongside your main conversation. If you are using the non Vim prompt composer, you also get configurable undo and redo shortcuts now, and they actually restore attachments and large pastes, which was a real pain point before. Plus, if you enable the tui extensions statusline flag, you can use slash statusline to select and author custom MCP status lines.
James Turner
Finally, there is a solid batch of reliability and security fixes worth noting. Drafts, queued follow ups, and interrupted input now stay attached to their original threads when you switch or resume sessions. Permission profiles stay intact when you change working directories, and late completion events will no longer cancel approvals for a newer turn. On the security and enterprise side, MCP sign in now works for identity providers that issue ID tokens without refresh tokens, Linux seccomp restrictions are enforced for x32 syscalls, and request key is blocked in Linux network sandbox filters. That is a clean, high impact release. Go grab 0.171.0, test out the remote flag, and we will catch you on the next changelog.