Connect
- Install OpenCode if needed.
- Download a compatible model in Magnitude.
- Open Connections → OpenCode and click Connect.
- Open or restart OpenCode and choose your Magnitude model.
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:~/.config/opencode/opencode.json
~ means your user profile directory.
Supported location overrides: OPENCODE_CONFIG, XDG_CONFIG_HOME. The paths displayed in Connections show which files Magnitude is actually checking.