New release
Codex CLI 0.165.0 adds Vertex AI and Memory v2
Codex CLI 0.165.0 adds a built-in Google Cloud Vertex AI provider and GPT-6.1 Terra, and makes Memory v2 the default for fresh profiles.
- Date
- Works with
- Codex CLI
What’s new
Codex CLI 0.165.0 came out on 27 October 2026. It adds a built-in Google Cloud Vertex AI provider. You turn it on with model_provider = "gcp" in the Codex settings. It also adds GPT-6.1 Terra to the model list.
The release "Enabled memory v2 by default for fresh profiles and added support for importing external-agent memories into it". A change to reasoning effort during a conversation is now on by default for supported models. The session picker can filter by repository.
It also "Closed a marketplace URL validation gap that could allow Git to connect to a different host than the one checked against allowed patterns".
Why it matters
Teams on Google Cloud can run Codex through Vertex AI. By default the provider uses your gcloud sign-in, and web search and image generation are off with it. Memory v2 is the default only when memories are on and you have no memories folder yet. If you already have memories, Codex keeps the old system.
How to try it
Run this command: see the command below. This installs 0.165.0. If you installed Codex another way, use the update command for that method. Then run codex --version.
npm install -g @openai/codex@latestRelated
Source
Checked against the source on 28 Oct 2026