usage

Codex 0.164.0

Tools and page contents
On this page

New 7

01

/presets adds ten shortcut slots for instant access to frequent prompts and commands

When you repeatedly enter the same inspection commands or standard questions during a conversation, retyping them is often time-consuming. ⟦Picture a car radio with station presets, where listening to a favorite channel once required manual tuning each time, but now only takes selecting a saved station.⟧ You can now type /presets to store frequently used prompts and slash commands into ten numbered slots. Invoking it brings up a dedicated keyboard menu so you can quickly choose the preset you need. For example, whenever you start compiling a report, you can select a saved review command through the keyboard menu, eliminating the hassle of searching around and copy-pasting.

Original changelog

Save reusable prompts and slash commands in ten numbered /presets slots, with a keyboard menu for quick access. (#54380, #54381)

02

/model and /permissions support inline arguments to apply settings in one command

When you need to switch models or adjust execution permissions on the fly, you can append your desired settings directly to the command. ⟦Think of turning a brew strength knob on an espresso machine, where cup speed and flavor intensity once had to be adjusted separately, but now can be set with a quick twist when selecting a beverage.⟧ When typing /model or /permissions, you can now pass arguments directly on the same line. You can specify the model name, compute speed, and reasoning effort right after the command. If you need to change authorization levels, you can also specify a permission profile through inline arguments. This lets you switch immediately to the required runtime environment with a single command.

Original changelog

Set model, reasoning effort, speed, and permission profiles directly with inline /model and /permissions arguments. (#54378, #54383)

03

Kitty and Sixel protocols supported to preview images directly in fullscreen logs

When asking AI to generate or inspect images in a plain-text terminal, you often have to switch to an external viewer to verify results. ⟦Much like checking a digital camera's electronic viewfinder right after pressing the shutter, where reviewing composition once required plugging a memory card into a computer monitor, you can now inspect image details without taking your eye off the eyepiece.⟧ If your terminal supports the Kitty or Sixel graphics protocol, you can now preview images directly inside fullscreen conversation transcripts. Whether the tool reads an existing local image file or displays a new image generated by the model, the graphic renders directly within the log without opening an external window.

Original changelog

Preview viewed and generated images in the fullscreen transcript on terminals supporting Kitty or Sixel graphics. (#54216)

04

Enterprise MCP supports dedicated login and account authorization with secret client access

When enterprise teams connect internal systems to external tools, they are often constrained by strict identity verification and security policies. ⟦Just as entering a partner business center with an employee badge once only supported basic visitor decals, the gate now accepts corporate digital access cards as well as dedicated passes with security keys.⟧ Enterprise MCP (a protocol connecting AI to external tools) connections now support more diverse authentication methods. You can authenticate directly using eligible Codex account authorization or complete verification through dedicated login channels. OAuth clients requiring client secrets can now also pass identity verification smoothly and securely connect to various enterprise services.

Original changelog

Authenticate enterprise MCP connections using eligible Codex account grants or dedicated sign-in, including OAuth clients requiring secrets. (#55334, #55859, #56001)

05

Amazon Bedrock setup wizard enabled by default to integrate AWS login methods

When configuring a cloud model provider in the tool for the first time, complex authentication flows can feel overwhelming. ⟦Consider the initial setup guide of a smart TV, where you once had to find Ethernet cables and enter remote codes manually, but now a setup wizard appears automatically and brings brand login options together on one screen.⟧ The configuration setup wizard for Amazon Bedrock is now enabled by default. When credentials are detected in the environment, the API key input option is automatically grouped into the same section alongside other AWS login methods. This allows you to clearly view and select the appropriate sign-in path without searching around for configuration menus.

Original changelog

The Amazon Bedrock setup wizard is now enabled by default, with API key entry grouped alongside other AWS sign-in methods when credentials are detected. (#56033, #56023)

06

Prune unused installs and marketplace caches while capping daemon logs to free disk space

When tools run continuously in the background or download plugins frequently, disk space often fills up unnoticed with temporary files. ⟦Similar to periodic storage cleanups on a smartphone, where unused old versions and abandoned package archives once piled up in corners while background logs grew without bound, cleanup tools now purge obsolete packages and cap log pages.⟧ The tool now includes several disk maintenance mechanisms to reduce disk usage. The system actively prunes unused installation versions and cleans up abandoned marketplace checkouts (extracted working copies of files). It also sets a size limit on daemon log files to prevent logs from growing indefinitely and consuming disk storage.

Original changelog

Reduced disk usage by pruning unused installations, cleaning abandoned marketplace checkouts, and bounding daemon logs. (#53827, #55149, #55689, #55690, #55856)

07

Harden runtime security by masking terminal credentials and strictly validating paths

When executing scripts or invoking system environments, preventing sensitive information leaks and closing potential execution vulnerabilities are essential to securing the system.

For terminal operations, supported remote Bash commands and Zsh snapshot sessions now automatically mask various credentials, including sensitive authentication keys from custom providers, preventing secrets from being exposed in logs or screen output.

Sandbox defenses have also been strengthened by adding strict validation mechanisms against case-variant metadata paths on macOS and symlinks (shortcut files pointing to another location) used to locate executables, preventing paths from being maliciously substituted.

The embedded JavaScript runtime has also been updated to add safety checks to optimized Array.sort operations, guarding against anomalies. While running or debugging scripts remotely once raised concerns about leaked keys or swapped paths, dedicated security safeguards now protect each execution stage.

Original changelog

Mask credentials during supported remote Bash commands and Zsh snapshot sessions, including credentials from custom providers. (#54309, #54432, #56049)

Hardened sandbox checks for case-variant metadata paths on macOS and replaceable symlinks used to locate executables. (#54273, #55384)

Updated the embedded JavaScript runtime with safety checks for optimized Array.sort operations. (#54519)

Fixed 2

08

Compaction failures fall back smoothly while resumed sessions preserve thread settings

When extensive discussions with AI accumulate substantial conversation history, the underlying summary compaction mechanism is essential for maintaining smooth exchanges. ⟦Like an autosave feature while editing a long document, where a save failure once left a broken half-summary in drafts and reset personal preferences to factory defaults upon reopening, background compaction failures now fall back smoothly and restore original layouts upon relaunch.⟧ If conversation history compaction fails, it no longer leaves partial summary fragments in transcripts, and background compaction failures now fall back safely without triggering crashes. When resuming a session, the tool reliably finds compacted history and fully restores the thread's saved settings instead of overwriting them with global defaults.

Original changelog

Failed compaction no longer leaves partial summaries in conversation history, and background compaction failures fall back without panicking. (#53932, #55581)

Resuming sessions now finds compressed histories and restores saved thread settings instead of replacing them with global defaults. (#54008, #55923)

09

Windows supports proxy authentication alongside fixes for CLI config overrides and prompt queuing

In enterprise network environments or complex command-line workflows, the reliability of connection authentication and parameter passing directly impacts work progress.

On Windows, HTTPS and WebSocket connections now properly handle proxy authentication challenges by automatically verifying identities with the logged-in user's Negotiate or NTLM credentials, preventing connection failures.

When running nested subcommands in the terminal with -c or --config arguments repeated across different levels, configuration overrides at each tier are now fully preserved instead of being accidentally overwritten or lost.

Queued prompts have also received updated execution logic, now reliably waiting for preceding pending permission menus to finish their selection before continuing execution. While corporate proxies or consecutive prompts once led to dropped connections or permission mix-ups, the entire command and scheduling pipeline now runs smoothly.

Original changelog

Windows HTTPS and WebSocket connections now handle proxy authentication challenges using the signed-in user’s Negotiate or NTLM credentials. (#55994, #56000)

CLI configuration overrides are preserved when -c or --config appears at multiple subcommand levels. (#56022)

Queued prompts now wait for pending permission selections to resolve before continuing. (#55682)