- [Refresh Agent Instructions] Push the latest Synth guidance into 
AGENTS.mdfor your automations. - [Configure OpenCode with Synth] Optionally persist provider, credential, and model settings.
 - [Launch OpenCode] Start the desktop app once setup is complete.
 
Refresh Agent Instructions
- Resolves the OpenCode binary (prompting for installation if missing) and verifies it can launch.
 - Writes the current Synth agent handbook into 
AGENTS.md, replacing the placeholder copy. - Handy for keeping automation up to date even when you do not want to modify OpenCode settings.
 
In your terminal, run:
Configure OpenCode with Synth
- Provide 
--modelto enable Synth inside OpenCode. - Prompts for 
SYNTH_API_KEY(respecting--force) and stores it in~/.local/share/opencode/auth.json. - Loads 
~/.config/opencode/opencode.json, creating it if needed, and inserts the Synth provider section with the selected model. - Sets 
modeltosynth/<model>so the desktop app opens pointed at Synth. 
Example usage:
Launch OpenCode
- After refreshing 
AGENTS.md, starts the OpenCode binary in the same process. - Carries over any Synth configuration you applied with 
--modelso the app opens ready to use. - Pass 
--forcealongside--modelto re-select credentials before launching.