Skip to main content
OpenCode is SST’s open-source terminal coding agent (MIT, source). It reads a provider block from its config file, so Opper slots in as one more provider.

Setup

One command, no config files:
This writes the Opper provider block into ~/.config/opencode/opencode.json and starts OpenCode.
To wire it by hand, add an opper provider to ~/.config/opencode/opencode.json:
If opencode.json already exists, merge the opper block into it rather than overwriting the file — replacing it wholesale drops any other providers you have configured.

Choosing a model

Use /model inside a session to switch. The picker lists whatever the provider block exposes; model IDs follow the provider/model convention from the catalog.

Troubleshooting

OPPER_API_KEY has to be exported in the shell that launches OpenCode. Opper keys start with op-.
opper launch opencode merges its entry alongside your existing providers rather than replacing the file, so re-running it restores the Opper block without touching the rest.

Opper CLI

Every agent the CLI can launch.

All integrations

Every app that runs on Opper.