- Use external models alongside your ChatGPT subscription in Codex CLI
- Configure any chat completions endpoint and model and merge with Codex model list
- Change models on the fly with
/modelselector
# Edit the models config
codex-bridge edit
# Start the proxy service
codex-bridge start
# Sync models (--force restarts the Codex server)
codex-bridge sync --force
# Start Codex as usual and choose a model with /model
codexLinux and macOS, on amd64 or arm64:
curl -fsSL https://raw.githubusercontent.com/agent0ai/codex-bridge/main/install.sh | shThe installer detects your OS and architecture and installs the latest release to ~/.local/bin/codex-bridge. It requires curl and a POSIX shell; no Go installation is needed.
To update an installed bridge and restart its proxy immediately:
codex-bridge updateIf ~/.local/bin is not already on PATH, add it for this shell and put the same line in ~/.zshrc (macOS's default Zsh) or ~/.bashrc (Bash) for future terminals:
export PATH="$HOME/.local/bin:$PATH"Config · Guide · MIT License · Contributing · Third-party notices
Made by Agent Zero
