OpenWalrusOpenWalrus

OpenWalrus Documentation

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

OpenWalrus 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

OpenWalrus 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
walrus-coreAgent execution, runtime, sessions, hooks, model trait
walrus-modelLLM providers (OpenAI, Claude, DeepSeek, Ollama)
walrus-daemonBackground service, tasks, permissions, event loop, service manager
walrus-socketUnix domain socket transport
walrus-tcpTCP transport
walrus-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