Creating a Paperclip Agent Adapter An adapter bridges Paperclip's orchestration layer to a specific AI agent runtime (Claude Code, Codex CLI, a custom process, an HTTP endpoint, etc.). Each adapter is a self-contained package that provides implementations for three consumers : the server, the UI, and the CLI. --- 1. Architecture Overview Three separate registries consume adapter modules: | Registry | Location | Interface | |----------|----------|-----------| | Server | | | | UI | | | | CLI | | | --- 2. Shared Types ( ) All adapter interfaces live in . Import from (types) or (runtime helpers).…