← Plugins

opencode

Use OpenCode for coding

View source

Opencode plugin for Stavrobot

Lets Stavrobot use opencode as its coding backend. Provides two tools:

  • code — send a coding task to opencode (async; results arrive via callback).
  • list_sessions — list recent opencode sessions.

Installation

Tell Stavrobot to install https://github.com/stavrobot/plugin-opencode.git, then configure it with:

  • provider — the LLM provider to use (e.g. anthropic, openai).
  • api_key — your API key for that provider.
  • model — the model to use (e.g. claude-sonnet-4-5).