English
Documentation
Build on OpenCode
Overview

Build on OpenCode

Build on OpenCode with plugins, the TypeScript client for its HTTP API, or the SDK that embeds it in your application.

OpenCode is used by millions every day. Build on top of it to create your own applications, integrations, and agent experiences without starting from scratch.

We also offer Effect APIs for plugins, clients, and embedded apps.

  • 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.