~/.codex/config.toml, so connecting one connects the other.
Quick start
Install and sign in
bash. You don’t need git or a GitHub account. On Windows, run the installer from Git Bash. PowerShell breaks the script’s line endings.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 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.
- Image generation is off by default because Fireworks doesn’t serve it. Nexus CLI preserves an explicit image-generation setting.
Track session usage
Runnexus codex usage to select a local Codex session and open its live token and estimated-cost meter. For Nexus Auto calls, the meter estimates cost using the rates of the model that served each call.
To inspect one session as JSON, set SESSION_ID to the Codex session ID you want to inspect.
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.