OpenCode

OpenCode plugins

Plugins are JavaScript or TypeScript modules that subscribe to events and add custom tools, loaded from local plugin folders or npm packages listed in config.

hookstools

At a glance

Manifest file
None documented
Install
Add the npm package to the "plugin" array in your OpenCode config, or place .js or .ts files in .opencode/plugins/
Official directory
None documented
Your own marketplace
Not documented

Links

OpenCode setup guides

Other plugin systems

Get the weekly agent stack update

New official MCP servers, spec changes and harness releases, checked against the source. One email a week, no fluff.

Reviewed Oct 9, 2026.