Hivemind Plugin Development
Build connector plugins for Hivemind in TypeScript. Plugins can provide AI agent tools, configuration UIs, and background sync loops.
Guides
| Guide | Description |
|---|---|
| Quick Start | Get a working plugin in 5 minutes |
| Concepts | Architecture, lifecycle, and how plugins work |
| Config Schemas | Zod-based config schemas and UI rendering |
| Tools Guide | Writing tools — parameters, results, side-effects |
| Background Loops | Polling, message emission, sync cursors |
| Auth Guide | OAuth2, API keys, token-based authentication |
| Testing Guide | Using the test harness, mocking, CI setup |
| Publishing Guide | How to publish to npm and submit to the registry |
Cookbook
| Recipe | Description |
|---|---|
| REST API CRUD Tools | Pattern for wrapping REST APIs |
| Polling Loop | Efficient polling with dedup and cursors |
Reference
- @hivemind-os/plugin-sdk README — SDK API overview
- Type definitions — Full TypeScript types
- Sample Plugin — Complete GitHub Issues connector
- Test Plugin — Plugin exercising every host API
