Codex 0.166.0 polishes the terminal workflow and brings GPT-6.1 Terra to more catalogs
Codex CLI 0.166.0, released 29 October 2026, adds keyboard-driven transcript selection and search, a network-only doctor check, queue resume for unloaded threads, and GPT-6.1 Terra in the bundled, Vertex AI, and Amazon Bedrock model catalogs.
Codex CLI 0.166.0, released on October 29, is the kind of update that tells you where a coding agent is heading by what it polishes rather than what it announces. The headline for many developers will be practical: transcripts can now be selected and searched from the keyboard, with word, line, and page motions and configurable shortcuts, and a new codex doctor check runs only the configuration, connectivity, and WebSocket diagnostics when a session is misbehaving. A codex queue command can also resume unloaded threads after you queue a message, and fixes preserve approval and permission settings, plus reasoning-token accounting, when threads are resumed or forked. None of that is glamorous, and all of it is the difference between an agent you tolerate and one you trust on a long job.
The other headline is about models. GPT-6.1 Terra, which OpenAI released on October 26 as a fast, efficient model for visual reasoning, precise computer use, and clear writing, is now in Codex's bundled model catalog as well as the Vertex AI and Amazon Bedrock catalogs. That matters because it gives teams a cheaper, faster option inside the same terminal workflow, and it gives cloud teams a consistent model choice whether they run through OpenAI, Google, or Amazon. Terra is not the most powerful model in the GPT-6 family, and it is not trying to be. Its job is to handle the large volume of routine coding work quickly, leaving the heaviest reasoning for larger models.
Taken together, 0.166.0 reads as OpenAI tightening the loop between writing code and checking it. Better transcript handling makes it easier to review what the agent actually did, a focused doctor command makes it easier to diagnose a broken session, and a fast model in more catalogs makes it easier to keep costs down while the agent works. For developers who live in the terminal, that combination is more useful than a single dramatic feature, because it removes friction from the everyday cycle of prompt, run, review, and fix.
