Connect
- Install Codex if needed.
- Download a compatible model in Magnitude.
- Open Connections → Codex and click Connect.
- Open or restart Codex and choose your Magnitude model.
magnitude-local/ prefix inside Codex. Keep Magnitude running while connected, including when you select a hosted model: hosted requests pass through the gateway to their provider. Disconnect in Magnitude and restart Codex before using it independently again.
Select a model from the terminal
To configure the connection and select a specific downloaded model, first find its exact ID:MODEL_ID with the ID from the first command, not the friendly display name. Restart the agent after changing its configuration.
Configuration
Default configuration files:~/.codex/config.toml~/.codex/magnitude.config.toml~/.codex/magnitude.models.json
~ means your user profile directory.
Supported location overrides: CODEX_HOME. The paths displayed in Connections show which files Magnitude is actually checking.