Codex CLI runs on Google Cloud Vertex AI and adds GPT-6.1 Terra

1 hour ago

Codex CLI v0.164.0 to v0.166.0: a built-in Google Cloud Vertex AI provider, GPT-6.1 Terra in the model list, /presets for saved prompts, inline /model and /permissions settings, keyboard selection in the transcript, safer rewrites after a safety block, codex doctor --network-only, credential masking on remote executors, enterprise MCP sign-in, and fixes for compaction, resume, Windows proxies and reconnects. v0.164.0 release notes: https://github.com/openai/codex/releases/tag/rust-v0.164.0 v0.165.0 release notes: https://github.com/openai/codex/releases/tag/rust-v0.165.0 v0.166.0 release notes: https://github.com/openai/codex/releases/tag/rust-v0.166.0 Full changelog: https://github.com/openai/codex/compare/rust-v0.163.0...rust-v0.166.0

Ask about this presentation

Chapters

  1. 0:00Codex CLI runs on Google Cloud Vertex AI and adds GPT-6.1 Terra
  2. 0:13Some Codex features are off on Vertex AI
  3. 0:26GPT-6.1 Terra joins the Codex model list
  4. 0:39In the terminal
  5. 0:40/presets keeps ten prompts one keypress away
  6. 0:53Change model settings without leaving the conversation
  7. 1:07Select and copy the transcript with the keyboard
  8. 1:19A safety block explains itself and offers a safer prompt
  9. 1:33codex doctor --network-only checks only your connection
  10. 1:47Credentials
  11. 1:48Remote commands get placeholders instead of your credentials
  12. 2:02Enterprise MCP servers accept your Codex sign-in
  13. 2:16Security fixes for marketplaces and the sandbox
  14. 2:32Fixes
  15. 2:33Compaction stops damaging your conversation
  16. 2:49Resumed and forked threads keep their own settings
  17. 3:02Fixes for missing models, Windows proxies and reconnects
  18. 3:16On Google Cloud? Point Codex at Vertex AI
Show transcript
  1. Codex CLI now has Google Cloud Vertex AI built in as a model provider. If your company buys models through Google Cloud, Codex runs there on your gcloud credentials.

    Slide text
    01 02 03 04 Vertex AI and Terra
    openai/codex · release notes rust-v0.165.0 · #56265
    Codex

    Codex CLI runs on Google Cloud Vertex AI

    Built-in provider Signs in with gcloud
  2. Vertex AI leaves some Codex features behind. Web search, image generation and custom tools are off there, and so are reasoning summaries. Function tools and remote compaction keep working.

    Slide text
    codex-cli
    01 02 03 04 Vertex AI and Terra
    openai/codex · pull request #56265
    Web search off
    Image generation off
    Custom tools off, with reasoning summaries
  3. GPT-6.1 Terra is now in the Codex model lists. You can pick it on OpenAI, on Vertex AI, and on Amazon Bedrock, including its global and United States variants.

    Slide text
    codex-cli
    01 02 03 04 Vertex AI and Terra
    openai/codex · release notes rust-v0.165.0 · #57337 · openai/codex · release notes rust-v0.166.0 · #57293

    On OpenAI, Vertex AI, and Amazon Bedrock with its Global and US variants.

  4. In the terminal.

    Slide text
    codex-cli
    01 02 03 04 In the terminal
    02
    In the terminal
  5. The new /presets menu saves prompts or slash commands in ten numbered slots. Press a digit to run one. A preset can also capture your current model, effort and speed.

    Slide text
    codex-cli
    01 02 03 04 In the terminal
    openai/codex · release notes rust-v0.164.0 · #54380, #54381

    Slots 0 to 9 hold a prompt or a slash command. A preset can also capture your current model settings.

  6. The model command now sets model, effort and speed on one line, for this session only. Permissions takes a profile the same way. And reasoning effort can change mid-conversation.

    Slide text
    codex-cli
    01 02 03 04 In the terminal
    openai/codex · pull request #54378, #54383 · openai/codex · release notes rust-v0.165.0 · #56163
    /model model, effort and speed inline, this session only
    /permissions a profile inline, such as read-only
    Reasoning effort changes mid-conversation, on by default
  7. The transcript has a keyboard selection mode for copying without the mouse. Move by word, line or page, select whole lines, and search inside the selection.

    Slide text
    codex-cli
    01 02 03 04 In the terminal
    openai/codex · release notes rust-v0.166.0 · #57221, #57222, #57223
    Motions word, line, page, start and end
    Whole lines V selects the line
    Find / searches, n repeats
  8. When a request hits a biological or cybersecurity safety block, the terminal now explains why. It offers safer follow-up prompts, and the one you pick runs in a fork, leaving your original chat alone.

    Slide text
    codex-cli
    01 02 03 04 In the terminal
    openai/codex · release notes rust-v0.166.0 · #57363, #57365

    Biological and cybersecurity blocks. The rewrite you pick runs in a fork, and your original chat keeps its draft.

  9. Codex doctor has a network-only mode for when Codex can't reach its model. It checks your configuration, the provider and the Responses WebSocket, and skips the database and MCP scans.

    Slide text
    codex-cli
    01 02 03 04 In the terminal
    openai/codex · release notes rust-v0.166.0 · #57606

    Configuration, provider reachability and the Responses WebSocket. Database and MCP scans are skipped.

  10. Credentials.

    Slide text
    codex-cli
    01 02 03 04 Credentials
    03
    Credentials
  11. On a remote executor, Bash and Zsh on Linux and macOS now see placeholders instead of your credentials. A proxy swaps the real ones in. Other shells run unmasked, with a warning.

    Slide text
    codex-cli
    01 02 03 04 Credentials
    openai/codex · pull request #54309, #54432, #56049

    Bash and Zsh on Linux and macOS. A network proxy puts the real credential back for matching destinations.

  12. MCP servers behind an enterprise login can now accept an eligible Codex account grant. Or Codex uses a dedicated enterprise sign-in, which now works with OAuth clients that need a secret.

    Slide text
    codex-cli
    01 02 03 04 Credentials
    openai/codex · release notes rust-v0.164.0 · #55334, #55859, #56001

    Or a dedicated enterprise sign-in, including OAuth clients that need a secret.

  13. A backslash in a marketplace URL could fool the host check, so Codex rejects it. On macOS, the sandbox guards the git config even when the folder is spelled in capitals. And replaceable sandbox symlinks are refused.

    Slide text
    codex-cli
    01 02 03 04 Credentials
    openai/codex · pull request #56263, #54273, #55384
    Marketplace URLs a backslash can't send Git to another host
    macOS sandbox .GIT/config is protected like .git/config
    Sandbox helpers replaceable symlinks are rejected
  14. Fixes.

    Slide text
    codex-cli
    01 02 03 04 Fixes
    04
    Fixes
  15. A compaction that fails partway no longer leaves half a summary in your history. A failed background compaction falls back instead of crashing. And resumed threads stop compacting early from counting reasoning twice.

    Slide text
    codex-cli
    01 02 03 04 Fixes
    openai/codex · pull request #53932, #55581 · openai/codex · release notes rust-v0.166.0 · #57839
    Failed compaction no partial summary left in history
    Background compaction falls back instead of crashing
    Resume and fork reasoning is counted once, so compaction waits
  16. Resume now finds sessions Codex compressed on disk. Resumed threads get back their own service tier, reasoning summary and personality, and the permission settings you accepted.

    Slide text
    codex-cli
    01 02 03 04 Fixes
    openai/codex · pull request #54008, #55923, #57227
    Compressed sessions resume finds them
    Model settings service tier, reasoning summary, personality
    Permissions the approval settings you accepted
  17. A missing model now ends the turn with the provider's message instead of retrying. Windows proxies that demand a sign-in get your Windows account. And quit and exit work while the terminal is offline.

    Slide text
    codex-cli
    01 02 03 04 Fixes
    openai/codex · pull request #56445, #56000, #57820
    Missing model the turn ends with the provider's message
    Windows proxy signs in with Negotiate or NTLM
    Offline /quit and /exit work
  18. If your team already buys models through Google Cloud, I'd switch Codex to Vertex AI first, since it uses credentials you already have. Setup is in the Codex release notes on GitHub.

    Slide text
    codex-cli
    01 02 03 04 Fixes
    openai/codex · release notes rust-v0.164.0 · openai/codex · release notes rust-v0.165.0 · openai/codex · release notes rust-v0.166.0

    Setup and every change: the Codex release notes, github.com/openai/codex › Releases

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York