Starter template for building new AgentDispatch provider adapters.
Use this package when adding support for GCP, Azure, Kubernetes, local runtimes, or a new cloud service. The goal is simple: new infrastructure should plug into AgentDispatch without adding new MCP tools.
- Declaring provider, capabilities, task types, and target modes.
- Validating account profile and adapter configuration.
- Resolving provider-neutral targets into provider-specific runtime references.
- Emitting provider-neutral lifecycle, log, artifact, result, and error events.
- Returning optional
cloudAgentmetadata for A2A, MCP, AG-UI, or HTTP interaction. - Supporting adapter conformance tests from
@agent-dispatch/core.
- Keep provider SDK types inside the adapter package.
- Put provider-specific fields under adapter config or
target.details. - Return durable provider refs for every runtime, session, job, invocation, or artifact.
- Implement cancellation and cleanup even if the provider can only offer best-effort behavior.
- Add tests for capability registration, target resolution, event mapping, cancellation, and cleanup.
git clone https://github.com/agent-dispatch/adapter-template my-agentdispatch-adapter
cd my-agentdispatch-adapter
npm installMost teams should copy or fork the template rather than depend on it directly. The package is private template source and is not published to npm.
npm install
npm run typecheck
npm test
npm run buildSee template maintenance for release policy. This package is private template source and should not be published unless intentionally converted into a public package.