Developer Guide
For developers who want to build plugins and adapters within the Docket system.
Developer Guide
Welcome to the Docket Developer Guide. This section is for developers who want to extend Docket with new adapters, connectors, and integrations — without forking or modifying core code.
What you'll find here
- Overview — How the adapter contract model works
- Architecture — System layout, data flows, control/data plane, plugin mechanics, integration patterns
- Adapter Contracts — The five frozen interfaces
- Adding an LLM — Implement
LlmAdapterfor a new provider - Adding a Store — Implement
StoreAdapterfor a new database - Adding a Blob Provider — Implement
BlobAdapter - Adding a Queue Provider — Implement
QueueAdapter - Config Schema Reference — Full configuration options
- Plugin Ecosystem — Create, publish, and onboard adapters as npm packages
Who this is for
You are a developer (plugin author) if you want to:
- Add support for a new LLM provider (Groq, Together, etc.)
- Integrate a new vector database (Qdrant, Weaviate, etc.)
- Build a connector that ingests from GitHub, Notion, or email
- Package your extension as an npm module (
@docket/llm-groq)
If you only want to run and configure Docket, see the User Guide instead.
Getting started
- Read Adapter Contracts
- Pick the interface you want to implement
- Use the implementation templates in this guide
- Write contract tests
- Publish or submit your adapter