zeroclaw-labs/zeroclaw
Self-hosted Rust runtime for multichannel AI assistants and approval-gated automation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
ZeroClaw packages an agent runtime as a single Rust binary. Channel adapters, the HTTP/WebSocket gateway, and editor clients using Agent Client Protocol (ACP) feed the same runtime. The agent loop calls configured model providers and tools under security policy, while the SOP engine handles event-triggered procedures. Memory sits behind its own layer, with SQLite and embeddings among the documented options.
The Cargo workspace separates these responsibilities into crates such as zeroclaw-runtime, zeroclaw-providers, zeroclaw-channels, zeroclaw-tools, and zeroclaw-memory, alongside API and RPC crates. ACP uses JSON-RPC 2.0 over stdio. For extensions, custom MCP servers supply tools, while the WebAssembly plugin host supports packaged channel and tool extensions. The workspace is modular even though the operator-facing runtime is a single executable.
Key Capabilities & Differentiators
The same agent can serve Discord, Telegram, Matrix, email, webhooks, or the CLI through a catalog of more than 30 channel adapters. Model configuration covers Anthropic, OpenAI, Ollama, and OpenAI-compatible endpoints, with routing and fallback chains. The dashboard supports chat, memory browsing, configuration editing, cron management, and tool inspection.
Shell, browser, HTTP, and peripheral tools let the agent act beyond chat. Supervised autonomy requires approval for medium-risk actions and blocks high-risk actions; workspace boundaries, command policy, and cryptographic tool receipts provide additional controls. The SOP engine can start resumable, approval-gated procedures from MQTT, webhook, cron, or peripheral events. Hardware integrations expose GPIO, I2C, SPI, and USB through the Peripheral trait, with platforms named in the documentation including Raspberry Pi, STM32, Arduino, and ESP32.
Trade-offs & Limitations
Compared with a hosted assistant, ZeroClaw gives operators control over the machine, workspace, model routing, and action policy, but leaves channel credentials, updates, and service operation in their hands. Compared with a script around a model API, it removes the need to build shared channel adapters, approvals, and resumable procedures from scratch. That advantage is smaller for a single fixed task, where the provider, agent, and risk-profile configuration can be more machinery than the workflow needs.
Self-hosting the runtime does not make inference local: cloud models still add network latency, usage costs, and an external data path. Ollama can remove the remote inference dependency, but model choice and concurrency then determine local capacity. Shell and browser access widen the consequences of a policy mistake, so test the actual sandbox and workspace boundaries on the target OS. Scoped chat is useful for shared access, but does not by itself establish hard multi-tenant isolation.
Hardware & Deployment Guide
Start with a prebuilt CLI or build from the Rust workspace. zeroclaw quickstart writes the initial configuration, and zeroclaw agent -a <alias> opens an interactive session. For continuous operation, zeroclaw service install and zeroclaw service start integrate with systemd, launchctl, or Windows Service. The Compose example uses the GHCR image and shows the gateway at localhost:42617; it points to a Debian compatibility image if the distroless image exits immediately on ARM64. Remote inference needs provider credentials and connectivity; a local Ollama setup shifts inference sizing to the local model host.
Release history matters when selecting a deployment baseline. v0.8.6 added the WebAssembly plugin host to seven 64-bit CLI release archives. v0.8.7 updated Wasmtime, Rustls certificate verification, Tokio, and ctutils in response to advisories affecting v0.8.6. v0.9.0 introduced OIDC dashboard sign-in and scoped chat for non-admin accounts. Pin a tested release or image rather than inheriting the Compose example's floating latest tag, and verify identity and tool permissions before widening access.
Operators who want one self-hosted assistant across chat, CLI, and custom clients, with interchangeable models and approval-gated workflows.
You only need hosted chat or a small fixed script, or you require demonstrated hard tenant isolation before users can share a deployment.
Quick Start & Installation
curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/master/install.sh | sh "${CARGO_HOME:-$HOME/.cargo}/bin/zeroclaw" quickstart
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| zeroclaw ★ | 33.7k | +75 | Rust | Apache-2.0 | Self-hosted Rust runtime for multichannel AI assistants and approval-gated autom |
| eliza | 19.9k | +29 | Java | MIT | Specification-first framework for on-device agents with cloud-backed model acces |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
| ruflo | 82.8k | +342 | TypeScript | MIT | A TypeScript orchestration layer for coding agents, with shared memory and MCP |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/zeroclaw-labs/zeroclaw.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about zeroclaw
How do I connect an existing assistant client or editor?
~/.zeroclaw/config.toml; then configure the channel you want to use. For a custom client, use the HTTP/WebSocket gateway. For an editor that supports Agent Client Protocol, use JSON-RPC 2.0 over stdio.Do I need a GPU, and what determines host capacity?
Can we self-host ZeroClaw for commercial use and keep data on-premises?
When is ZeroClaw a better fit than a hosted assistant or a custom script?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy