CrabTalkCrabTalk

CrabTalk Documentation

Build and run autonomous AI agents with CrabTalk — a Rust-powered composable agent runtime.

CrabTalk is an open-source agent runtime that runs autonomous AI agents on your machine. Built in Rust, it connects to LLM providers and dispatches tools through composable extensions.

How it works

CrabTalk runs a background daemon that manages agents, routes events, and dispatches tool calls. You interact with agents through the CLI, or connect them to Telegram via the gateway service.

[Sources] ──→ [Event Loop] ──→ [Agents]
 Socket (UDS)   mpsc channel    Agent 1
 Socket (TCP)                   Agent 2
 Gateway                        ...
 Tool calls

Every event flows through a single mpsc::unbounded channel. The event loop dispatches each event as its own async task — agents never block each other.

Architecture

The runtime is composed of focused crates:

CratePurpose
crabtalk-coreAgent execution, runtime, sessions, hooks, model trait
crabtalk-modelLLM providers (OpenAI, Claude, DeepSeek, Ollama)
crabtalk-daemonBackground service, tasks, permissions, event loop, service manager
crabtalk-socketUnix domain socket transport
crabtalk-tcpTCP transport
crabtalk-cliCLI interface and REPL

Each crate can be used independently. The daemon composes them all into a running system.

What you can do

On this page