r/CodexAutomation • u/anonomotorious • 22d ago
News & Releases Codex CLI 0.167.0 adds an agent command center, backend switching and image previews
TL;DR
Codex CLI 0.167.0 is the latest stable release. It adds a terminal agent command center, lets the session picker switch connected backends while preserving drafts, and previews local image attachments in supported terminals. The release also fixes provider-switching, network approval and context-compaction behavior.
What changed
Run codex agents --no-daemon to open the agent command center. The command center and session picker mark unread results. The terminal session picker can switch connected backends without discarding drafts.
On supported terminals, local image attachments can be previewed while composing, and clickable transcript paths can open viewed local images. During an approval prompt, patch details can now be expanded directly in the transcript.
The sign-in screen groups API-key and cloud-provider options under “Sign in another way.” A Google Cloud Vertex AI setup wizard is available by enabling gcp_setup_wizard; it supports Application Default Credentials or a credential file. System proxy settings on macOS and Windows are opt-in through /experimental.
Fixes and upgrade
Saved chats remain visible after changing providers. If a chat cannot resume, its transcript remains readable and an editable prompt can be prepared for a new chat. Network approval prompts close when requests end, and concurrent requests to the same endpoint prompt one at a time. Automatic context compaction now accounts for retained output from failed responses and responses missing token-usage data.
For an npm installation, the official changelog lists npm install -g @openai/codex@0.167.0. Follow the installation method you use and check your version after upgrading. The 0.168 alpha builds are prereleases, separate from this stable release. Features marked experimental require opting in; image preview depends on terminal support.