selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

ZeroClaw logo

Self-host ZeroClaw

v0.9.0

Personal AI agent runtime: one Rust binary you own

BetaOpen SourceApache-2.0
docker run -d --name zeroclaw -v zeroclaw-data:/zeroclaw-data -p 42617:42617 ghcr.io/zeroclaw-labs/zeroclaw:latest
Updated2 days ago
LanguageRust
Setup difficultyModerate
Stars
33 356
Port
42617 (HTTP / WebSocket gateway serving the dashboard, webhooks and API)
Docker
ghcr.io/zeroclaw-labs/zeroclaw

What is ZeroClaw?

Should you self-host ZeroClaw?

ZeroClaw scores 79/100 on selfhost.directory (how scoring works) and ranks #5 of 120 in AI Assistant. It has 33 356 GitHub stars, +337 in the last 30 days.

It shipped 10 stable releases in the past year. The latest, v0.9.0, came out on 12 November 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is hermes-agent (89/100, 263 239 stars). It scores higher overall, so compare the two before you pick. See ZeroClaw vs hermes-agent side by side.

Features

  • Cryptographic tool receiptsopt-in
  • Event-triggered SOP automations
  • Hardware / GPIO control
  • IDE integration via Agent Client Protocol
  • Local model support
  • MCP tool servers
  • Multi-agent runtime
  • Multi-channel messaging gateway
  • OS-level sandboxing
  • Pluggable LLM providers with fallback routing
  • REST/WebSocket gateway API
  • Scheduled Tasks
  • Supervised autonomy with approvals
  • Terminal UI (zerocode)
  • Web Dashboard

ZeroClaw README

ZeroClaw

🦀 ZeroClaw — Personal AI Assistant

You own the agent. You own the data. You own the machine it runs on.

Build Status Latest release License Rust Edition 2024 Contributors Discord

Website · Docs · Philosophy · Quick start · Architecture · Discord


ZeroClaw is an agent runtime — a single Rust binary you configure and run. It talks to LLM providers (Anthropic, OpenAI, Ollama, and ~20 others), reaches the world through 30+ channels (Discord, Telegram, Matrix, email, voice, webhooks, your own CLI), and acts through tools (shell, browser, HTTP, hardware, custom MCP servers). Everything runs on your machine, with your keys, in your workspace.

Read the Philosophy for the four opinions that shape it.

Install

Unix (recommended)
curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/master/install.sh | sh
"${CARGO_HOME:-$HOME/.cargo}/bin/zeroclaw" quickstart
Windows (recommended)

Use the Rust-free prebuilt PowerShell path in the Windows setup guide. It installs the current release, updates PATH, and runs Quickstart.

For the guided Unix installer, source builds, app and feature selection, and PATH behavior, compare the installation paths.

Run ./install.sh --help for the complete Unix installer flag reference.

Working on the docs? The translated documentation catalogues live in a git submodule (docs/book/po). The Rust build does not need it, but building or syncing the docs does. Clone with it, or add it to an existing clone:

git clone --recurse-submodules https://github.com/zeroclaw-labs/zeroclaw.git
git submodule update --init docs/book/po   # existing clone

Platform-specific notes: Linux · macOS · Windows · FreeBSD · NixOS · Docker

Quick start

zeroclaw quickstart               # one-shot setup: pick a provider, write a working config
zeroclaw agent -a <alias>         # interactive chat using the [agents.<alias>] entry
zeroclaw service install          # register as systemd/launchctl/Windows Service
zeroclaw service start            # run it always-on in the background

Full walkthrough: Quick start — or skip the safety gates with YOLO mode for dev boxes.

What ZeroClaw does

  • Multi-channel — one agent answering you across every channel you configure. Inbound messages from Discord, Telegram, Matrix, email, webhooks, CLI — all delivered to the same agent loop.
  • Provider-agnostic — model providers are pluggable. Configure Anthropic, OpenAI, local Ollama, or any OpenAI-compatible endpoint. Fallback chains and routing keep the agent running when a provider flakes.
  • Security-first, with escape hatches — default autonomy is supervised: medium-risk ops require approval, high-risk blocked. Workspace boundaries, command policy, OS-level sandboxes (Landlock / Bubblewrap / Seatbelt / Docker), and cryptographic tool receipts on every action. YOLO mode exists for trusted dev environments.
  • Hardware-capable — GPIO / I2C / SPI / USB on Raspberry Pi, STM32, Arduino, and ESP32 via the Peripheral trait. See Hardware.
  • Gateway + dashboard — HTTP / WebSocket gateway for clients, with a web dashboard for chat, memory browsing, config editing, cron management, and tool inspection.
  • SOP engine — event-triggered Standard Operating Procedures (MQTT / webhook / cron / peripheral) with approval gates and resumable runs.
  • ACP — IDE / editor integration via Agent Client Protocol (JSON-RPC 2.0 over stdio).

Configuration

One TOML file at ~/.zeroclaw/config.toml. Pointers:

A V3 config has at minimum four section headers (<type>.<alias> shaped) — a provider entry, an agent that references it, and a risk profile the agent gates against. A hand-written file should also start with schema_version = 4, the current schema version. See Provider Configuration → Minimal working example for the canonical four-section form with inline type/alias commentary.

For standard OpenAI Codex subscription auth, Quickstart can write the provider entry for you:

zeroclaw auth login --model-provider openai-codex --import ~/.codex/auth.json  # if already signed in with Codex CLI
zeroclaw quickstart --model-provider openai-codex --model gpt-5.4

The provider entry uses the canonical OpenAI shape; the alias below is an example:

[providers.models.openai.coding]   # type = openai; alias = coding (you choose)
model = "gpt-5.4"
wire_api = "responses"
requires_openai_auth = true

…and point your agent at it with model_provider = "openai.<alias>".

Notes:

  • Normal OpenAI Codex subscription auth uses stored auth profiles, not an api_key on the provider entry.
  • Claude Max setup-token auth stays on the canonical Anthropic slot: run claude setup-token, choose setup_token in Quickstart, and paste the generated token into the API key/token prompt.
  • Only set api_key / uri on [providers.models.openai.<alias>] when intentionally targeting a custom OpenAI-compatible gateway or endpoint.
  • If you see provider streaming failed, falling back to non-streaming chat, ZeroClaw retries the same request in non-streaming mode. Check zeroclaw auth status before changing provider config.

Architecture

┌──────────────────────────────────────────────────────────────┐
│            channels       gateway        ACP                 │
│          (30+ adapters)   (REST/WS)    (JSON-RPC)            │
│                        ↓                                     │
│                   ZeroClaw runtime                           │
│         ┌──────────┬──────────┬──────────┐                   │
│         │  agent   │ security │   SOP    │                   │
│         │   loop   │  policy  │  engine  │                   │
│         └──────────┴──────────┴──────────┘                   │
│              ↓          ↓           ↓                        │
│          providers    tools      memory                      │
│         (Anthropic,  (shell,    (SQLite,                     │
│          OpenAI,     browser,    embeddings)                 │
│          Ollama,     HTTP,                                   │
│          ~20 more)   hardware)                               │
└──────────────────────────────────────────────────────────────┘

Full detail with Mermaid diagrams: Architecture overview · Request lifecycle · Crates.

Contributing

Start with how to contribute. Larger changes go through the RFC process. Real-time chat lives on Discord (the best way to reach the team); durable work tracking is on GitHub issues.

Good places to start:

  • New channel → crates/zeroclaw-channels/
  • New provider → crates/zeroclaw-providers/
  • New tool → crates/zeroclaw-tools/
  • Hardware support → crates/zeroclaw-hardware/
  • Docs → docs/book/src/

AI-assisted PRs are welcome; see Contribution culture (RFC #5615) for the co-authorship norms.

Security

Do not file public issues for security vulnerabilities. Email security@zeroclaw.dev. See SECURITY.md for the full policy.

Official repository & impersonation notice

This is the only official ZeroClaw repository:

https://github.com/zeroclaw-labs/zeroclaw

Any other repository, organization, domain, or package claiming to be "ZeroClaw" or implying affiliation with ZeroClaw Labs is unauthorized and not affiliated with this project.

License

Dual-licensed: MIT OR Apache 2.0. You may choose either. Contributors automatically grant rights under both — see CLA. The ZeroClaw name and logo are trademarks of ZeroClaw Labs.

Sponsors

Thanks to Blacksmith for sponsoring the CI infrastructure that builds and tests ZeroClaw.

CI powered by Blacksmith

Credits

Built and maintained by the community — original creator @theonlyhennygod; project lead @JordanTheJet. Full maintainer list in Communication.

Thanks to the communities that incubated early work: Harvard University, MIT, Sundai Club, and every contributor pushing it forward.

Star History Chart

How to install ZeroClaw

Install ZeroClaw with Docker

docker run -d \
  --name zeroclaw \
  -v zeroclaw-data:/zeroclaw-data \
  -p 42617:42617 \
  ghcr.io/zeroclaw-labs/zeroclaw:latest

docker exec -it zeroclaw zeroclaw quickstart

Persistent state expected at /zeroclaw-data; :latest is distroless (use :debian for a shell).

How to configure ZeroClaw

  • ZEROCLAW_gateway__hostEnv override for gateway.host; 0.0.0.0 selects the in-container interface so published ports reach the gateway

    values: 0.0.0.0 / host address

  • ZEROCLAW_gateway__allow_public_bindAcknowledges a non-loopback listener and silences the startup warning; does not gate the bind

    values: true / false

  • ZEROCLAW_gateway__require_pairingtrueAuthentication boundary for the gateway; true in the schema, false in the official image's baked config

    values: true / false

  • ZEROCLAW_tunnel__tunnel_providerEnv override for the top-level [tunnel] tunnel_provider, used to expose webhook channels through a tunnel

    values: supported tunnel providers listed in the config reference

  • ZEROCLAW_providers__models__ollama__home__uriExample of the generic schema-mirror env override for a provider entry field (here an Ollama endpoint reachable from the container)

    values: container-reachable URL

ZeroClaw releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Who builds it, and how often does it ship?

It is developed openly on GitHub with a large contributor base, and the v0.8.x line has shipped a stable release roughly monthly with public release notes; the roadmap is the project's live GitHub milestones.

What can it connect to?

30+ channels such as Telegram, Discord, WhatsApp, Slack, Signal, iMessage, email, Matrix and webhooks, plus 70+ LLM providers from local Ollama to Anthropic, OpenAI or any OpenAI-compatible endpoint, with fallback routing.

How is it secured?

Autonomy starts in supervised mode (medium-risk actions need approval, high-risk are blocked), OS sandboxes and allowlists limit what it can touch, and optional HMAC-signed tool receipts make tool calls provable.

Does my data leave my machine?

The agent always runs locally; with a local model nothing leaves the box, and with a hosted provider only your prompts go to that provider using your own key — there is no ZeroClaw cloud in between.

How lightweight is it?

One native binary with no Node, JVM or Python runtime; the core agent starts in milliseconds and uses less memory than a browser tab, on ARM or x86 hardware down to a Raspberry Pi.

Is ZeroClaw free?

Yes — it is open source under MIT OR Apache-2.0, with no subscription and no hosted seat; you only pay your own LLM provider, or nothing when you run a local model.

What is ZeroClaw?

A personal AI assistant that runs as one Rust binary on your own machine, using your own keys or local models, talking to many providers and messaging channels and acting through shell, browser, HTTP and hardware tools.

More in AI Assistant

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…