Overview
While cmd’s agent mode can autonomously take on complex tasks, you might prefer to bring in an external agent.Setting up Codex gives you access to powerful agentic capabilities through cmd’s native interface in Xcode.
Prerequisites
Before configuring Codex in cmd, you need to have Codex installed and set up on your system.Install Codex
Follow the official setup guide to install Codex.
Configuring Codex in cmd
Once Codex is installed and configured, you can enable it in cmd:Configuration
cmd should automatically detect where Codex is installed on your system.Otherwise, or if you need specific launch arguments, you can manually specify how to launch Codex
- Click “Add Provider” or “Configure” for Codex
- Provide the path to the Codex binary
- Optionally, specify a custom command if you use a specific way to run Codex
Example: Direct binary path
Example: Direct binary path
If you have Codex installed in a specific location:
Example: Homebrew install
Example: Homebrew install
If installed via Homebrew:

