View as markdown

OpenCode

Clisbot runs OpenCode through your installed opencode CLI. It uses your existing credentials and configuration.

Getting started

OpenCode is built into Clisbot and enabled by default.

  1. Install OpenCode on your daemon host:

    npm install -g opencode-ai
    
  2. Connect OpenCode to a model provider, and make sure that opencode runs in a terminal.

  3. In Clisbot, choose OpenCode when you start an agent.

If you use OpenCode v2, install version 2.0.10 or later. Clisbot rejects older v2 versions.

If opencode is outside your daemon PATH, use a command override.

Modes

Clisbot shows OpenCode agents as modes.

ModeEffect
BuildAllows edits and tool execution.
PlanRead-only planning. OpenCode avoids file edits.

Primary agents that you define in OpenCode appear in the same list.

See also