Skip to main content
Codex is an AI coding agent by OpenAI that runs in the terminal.

Installation

Open CC Switch and add a ruoli configuration: Select Codex and click Apply.

Manual Configuration

Edit ~/.codex/config.toml:
Set the environment variable:

Switch Models

Change the model field in config.toml, or specify it at launch:
You can also switch models in CC Switch.
Official Documentation: developers.openai.com/codex