clawdesk-adapters
The adapters crate provides implementations for connecting ClawDesk to external AI coding tools and agent environments.
What It Does (Plain English)
Adapters are like translators between ClawDesk and external AI tools. When you want to use Claude Code, Codex, Cursor, or other external AI agents, this crate handles the communication — translating ClawDesk's internal format to whatever format the external tool expects.
Adapter Types
| Adapter | Connects To | Use Case |
|---|---|---|
claude_local | Claude Code (local CLI) | Advanced coding with Claude |
codex_local | OpenAI Codex (local) | Code generation and editing |
cursor | Cursor editor | AI-assisted editing |
process | Shell processes | Running commands via agents |
http | HTTP endpoints | Custom APIs and services |
a2a_gateway | A2A protocol services | External agent communication |
Architecture Role
| Layer | Position |
|---|---|
| Adapters | Bridges ClawDesk to external systems |
Dependencies
clawdesk-types— Shared type definitionsclawdesk-agents— Agent runner integrationtokio— Async I/O for external communication