Skip to main content

Extend OpenCode

Build plugins that add tools, integrations, commands, agents, and custom behavior while keeping the rest of OpenCode intact.

Run it as a server

Connect to OpenCode with the same client used by the TUI and desktop app, then build any interface, workflow, or agent experience around it.

Embed it

Embed OpenCode directly into your application and build a completely custom agent, interface, or developer product around it.
The plugin API, client, and SDK are still being finalized during beta and may change before OpenCode 2.0 is stable.