What problem does it solve?
Technical guide for creating a new Sprint agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. It covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.
Core Features & Use Cases
- Provides a repeatable blueprint for implementing the server, UI, and CLI interfaces and for exporting the adapter module in the four-exports convention.
- Documents how to implement execute, testEnvironment, parse, and configuration builders, plus how to wire the adapter into server, UI, and CLI registries.
- Describes the lifecycle of an adapter package, including agentConfigurationDoc, models, and registration in the registries.
Quick Start
Create a new adapter package under packages/adapters/<name>, implement the four exports, and wire it into the server, UI, and CLI registries.