Skip to main content
OpenCode is an open-source command-line agent that works with the model provider you choose. In CoClip it runs in an OpenCode tab of the AI dock, with the CoClip tools, skills and agent roles added for that session.

Version CoClip needs

CoClip needs OpenCode v2: or newer, below .
  • opencode --version prints opencode v2.x for the v2 line.
  • The older v1 line uses the same opencode command and is refused. Install v2 to replace it.

Install and sign in

CoClip never installs or updates OpenCode. The install commands come from the OpenCode project; check the OpenCode v2 docs for the current steps.
1

Install OpenCode v2

Open PowerShell and run:
2

Sign in to a provider once

Run opencode and sign in to the model provider you want to use. Your sign-in stays on your computer.
3

Open an OpenCode tab

In CoClip, click + in the AI dock and pick OpenCode.

Choose the setup

Open Settings → AI assistants → OpenCode: The choice applies to the next OpenCode session the AI dock starts. CoClip never writes to your OpenCode config.

Messages and fixes