Save ten presets and run each with one key
2 days ago
Codex 0.164 adds presets: ten numbered slots for the prompts and slash commands you reuse. Type /presets, or press leader P, and a menu opens above the composer. Press a digit to run a preset, or to fill an empty slot. A preset can also hold your model, reasoning effort and speed. Presets live in your user config.
Ask about this presentation
Chapters
0:00Ten presets, one key each
0:23Inline /model and /permissions
0:42Image previews in the transcript
1:01Enterprise MCP sign-in and Bedrock setup
1:26Compaction and resume fixes
1:49Windows proxies, -c overrides, queued prompts
2:11Security: masking and sandbox hardening
2:38Before you upgrade
3:02Upgrade to 0.164.0
Show transcriptHide transcript
Codex 0.164 adds presets: ten numbered slots for the prompts and slash commands you reuse. Type /presets, or press leader P, and a menu opens above the composer. Press a digit to run a preset, or to fill an empty slot. A preset can also hold your model, reasoning effort and speed. Presets live in your user config.
/model now takes the model name, a reasoning level and a speed tier on one line. Leave out the model to adjust the one you are on. /permissions takes a profile, built-in or custom, like read-only. An inline model change applies to this session and leaves your saved defaults alone.
Images now show up in the fullscreen transcript. On a terminal with Kitty or Sixel graphics, images Codex looked at, and images it generated, appear as thumbnails. On other terminals, in remote workspaces, or when a file is missing or too large, you get the same text entry as before.
Two changes to signing in. Enterprise MCP connections can now authenticate with an eligible Codex account grant or a dedicated sign-in, including OAuth clients that require a secret. And the Amazon Bedrock setup wizard is on by default. When AWS credentials are detected, API key entry sits with the other AWS sign-in methods. One feature flag turns it off.
Now the fixes, starting with long sessions. When compaction fails, your conversation history stays intact, without a half-written summary in it. A background compaction that fails falls back instead of crashing. And resuming a session finds histories that were compressed on disk, and brings back that thread's model settings rather than replacing them with your global defaults.
On Windows behind an authenticating proxy, connections now answer the challenge with your Negotiate or NTLM credentials. Config overrides passed with -c at more than one subcommand level are all kept. Before, only the deepest level's values survived. And a queued prompt now waits until a pending permission choice is settled.
In supported remote Bash commands and Zsh snapshot sessions, the command sees a placeholder, and the real credential is added by the proxy only for matching destinations. That now covers custom credential providers, and where masking is unavailable, Codex warns you. The sandbox also blocks metadata writes through case-variant paths on macOS, and rejects replaceable symlinks when it looks up executables.
The release notes list no breaking changes. The worktree and voice feature flags are retired, and transcript_v2 is marked removed, so if your config sets any of them, check it after upgrading. Codex now prunes unused installations and abandoned marketplace checkouts, and caps daemon logs. If you build from source, the toolchain moved to Rust 1.99.1.
To upgrade, reinstall from npm or upgrade the Homebrew cask. Two limits to know: image previews need a Kitty or Sixel terminal, and credential masking covers only supported shells, with a warning elsewhere. Codex 0.164 saves ten presets, one keypress each.
