Back to Openviking

OpenCode Plugin

docs/images/agents/en/opencode.md

0.3.23761 B
Original Source

OpenCode Plugin

OpenCode has two plugin variants with different designs. Choose the one that matches how you want to use it.

opencode-memory-plugin - Explicit tool version

Source: examples/opencode-memory-plugin

This variant exposes OpenViking memory as explicit tools through OpenCode's tool mechanism. The model decides when to call them, and data is fetched on demand.

opencode/plugin - Context injection version

Source: examples/opencode/plugin

This variant injects indexed code repositories into OpenCode context and starts the OpenViking server automatically when needed.