~/.codex/config.toml, so connecting one connects the other.
Quick start
Install and sign in
git, and bash. On Windows, run the installer from Git Bash. PowerShell breaks the script’s line endings.fw_...).If the Nexus CLI is already installed and signed in, skip to step 2.Connect Codex
Close open Codex sessions and quit the ChatGPT desktop app, then run:
Restart and pick Auto
Start a new Codex session. Codex opens on Nexus Auto (Auto in
/model).nexus codex off.
Use Nexus Auto
- Fireworks model turns use your Fireworks key.
- OpenAI model turns use your Codex sign-in. When Codex asks, pick ChatGPT, a device code, or an API key, or run
codex login. - Anthropic model turns need an Anthropic Provider Key from your admin.
Who pays for OpenAI model turns
MCP and tools
- MCP servers and ChatGPT connectors are unchanged.
- Native web search is supported. Fireworks runs the search server-side, so no search MCP server is required.
Troubleshooting
- Nothing changed after
--model: start a new or resumed session, because Codex loads a new model only at session start. - Resuming an old session: select the provider explicitly with
codex resume <id> -c model_provider="fireworks-ai". - MiniMax models don’t work on Codex. Use a Chat Completions harness such as OpenCode for MiniMax.
Manual setup (advanced)
Add a Fireworks provider to~/.codex/config.toml, then run codex:
~/.codex/config.toml
What the Nexus CLI writes
Nexus CLI writes~/.codex/config.toml and ~/.codex/fireworks-model-catalog.json.