Skip to content

Hivemind Plugin Development

Build connector plugins for Hivemind in TypeScript. Plugins can provide AI agent tools, configuration UIs, and background sync loops.

Guides

GuideDescription
Quick StartGet a working plugin in 5 minutes
ConceptsArchitecture, lifecycle, and how plugins work
Config SchemasZod-based config schemas and UI rendering
Tools GuideWriting tools — parameters, results, side-effects
Background LoopsPolling, message emission, sync cursors
Auth GuideOAuth2, API keys, token-based authentication
Testing GuideUsing the test harness, mocking, CI setup
Publishing GuideHow to publish to npm and submit to the registry

Cookbook

RecipeDescription
REST API CRUD ToolsPattern for wrapping REST APIs
Polling LoopEfficient polling with dedup and cursors

Reference

Released under the MIT License.