Runtime Selection
Select AI runtime by nameIf not specified, AI Runner auto-detects: tries Claude Code first, falls back to Codex CLI.
Claude Code — Anthropic’s AI coding CLI (default if installed)Shorthand for
--tool cc. This is the default runtime when both are installed.Codex CLI — OpenAI’s coding agentShorthand for
--tool codex.Authentication: Codex uses browser login by default (codex login). Set OPENAI_API_KEY or CODEX_API_KEY for API key auth, or use --apikey to require it.Install:Effort Level
Reasoning effort — control how deeply the model thinksWorks with both runtimes. AI Runner maps to each tool’s native format:
Note: Claude Code’s Save as default:
| AI Runner | Claude Code | Codex CLI |
|---|---|---|
low | --effort low | -c model_reasoning_effort=low |
medium | --effort medium | -c model_reasoning_effort=medium |
high | --effort high | -c model_reasoning_effort=high |
max | --effort max (Opus only) | -c model_reasoning_effort=xhigh |
max is Opus 4.6 only. Codex has additional levels (none, minimal) not exposed via AI Runner.Combine with other flags:Provider Profile
Select a config profile — Codex CLI onlySelects a named profile from See the Codex CLI docs for the full config reference.
~/.codex/config.toml. Use this for providers that aren’t built into AI Runner’s flag system (OpenRouter, Mistral, DeepSeek, xAI, Groq, etc.).Setup — configure profiles in ~/.codex/config.toml:Examples
Save Runtime as Default
Shebang Scripts
Combining Flags
Related Pages
Runtimes
Full cross-interpreter compatibility reference
Provider Flags
Switch between cloud providers