Skip to main content

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​

AdapterConnects ToUse Case
claude_localClaude Code (local CLI)Advanced coding with Claude
codex_localOpenAI Codex (local)Code generation and editing
cursorCursor editorAI-assisted editing
processShell processesRunning commands via agents
httpHTTP endpointsCustom APIs and services
a2a_gatewayA2A protocol servicesExternal agent communication

Architecture Role​

LayerPosition
AdaptersBridges ClawDesk to external systems

Dependencies​

  • clawdesk-types — Shared type definitions
  • clawdesk-agents — Agent runner integration
  • tokio — Async I/O for external communication