Skip to main content

clawdesk-threads

The threads crate manages conversation threads, enabling multi-threaded discussions and persistent agent sessions.

What It Does (Plain English)

When you have a conversation with an AI, that conversation is a "thread." This crate manages threads — creating them, organizing them, linking them to agents, and making every thread an A2A-capable agent endpoint. Think of it as the filing system for all your conversations.

Key Features

  • Thread lifecycle management — Create, pause, resume, archive threads
  • Thread-as-Agent architecture — Every chat thread is an A2A-capable agent
  • Multi-agent threads — Multiple agents can participate in one thread
  • Thread metadata — Tags, labels, and search across threads
  • Persistence — Threads survive app restarts via SochDB

Architecture Role

LayerPosition
ServicesConversation management

Dependencies

  • clawdesk-types — Thread type definitions
  • clawdesk-storage — Persistence trait
  • clawdesk-sochdb — Storage implementation