ZeroClaw
Zero overhead. Zero compromise. 100% Rust. Autonomous agent runtime.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
ZeroClaw is an autonomous AI agent runtime with the tagline "Zero overhead. Zero compromise. 100% Rust." It ships as a single standalone binary that runs on ARM, x86, and RISC-V architectures. The project claims it can run on hardware costing around $10, with a memory footprint under 5MB. It is often compared with personal AI assistant frameworks such as OpenClaw (TypeScript), NanoBot (Python), and PicoClaw (Go), and is positioned as a lighter-weight alternative.
Note: The repository for this entry is
elev8tion/zeroclaw, but the clone URL in the README's quick start points tozeroclaw-labs/zeroclaw.
Performance figures (as stated in the README)
- Binary size of about 3.4MB
- Startup time under 10ms (normalized to a 0.8GHz core)
- Memory footprint under 5MB
- 1,017 tests included, with support for 23+ model providers
Architecture: every subsystem is swappable
Each ZeroClaw subsystem is defined as a Rust trait (interface), so you can swap implementations by changing the configuration, with no code changes:
| Subsystem | Built-in implementations |
|---|---|
| AI models | 23+ providers including OpenRouter, Anthropic, OpenAI, Ollama, Groq, Mistral, xAI, DeepSeek, and Bedrock; any OpenAI-compatible API can also be connected via custom: |
| Communication channels | CLI, Telegram, Discord, Slack, iMessage, Matrix, WhatsApp, Webhook |
| Memory | SQLite hybrid search (FTS5 + vector cosine similarity), Lucid, Markdown |
| Tools | shell, file read/write, memory access, browser, and optional Composio |
| Runtime | Native, Docker sandbox (WASM is still planned) |
| Tunnels | Cloudflare, Tailscale, ngrok, custom |
| Identity | OpenClaw format (Markdown), AIEOS v1.1 (JSON) |
It also supports Heartbeat scheduled tasks (HEARTBEAT.md), Skills packs (a TOML manifest plus SKILL.md), and 50+ integrations across 9 categories.
Memory system
The memory system is entirely custom-built and does not depend on Pinecone, Elasticsearch, or LangChain:
- Vector embeddings are stored in SQLite as BLOBs
- Keyword search uses FTS5 with BM25 scoring
- Vector and keyword results are merged using configurable weights
- Includes an embedding cache (LRU eviction) and safe reindexing
- The agent automatically saves and recalls memories through tools
Security design
- The gateway binds only to
127.0.0.1by default; public binding is refused unless a tunnel is used or it is explicitly allowed - A 6-digit one-time pairing code is generated at startup and exchanged for a Bearer Token
- The filesystem is restricted to the workspace by default, with system directories and sensitive dotfiles blocked, and symlink escapes are detected
- Channel allowlists deny all inbound messages by default
- API keys are stored encrypted
- Autonomy levels come in three tiers (readonly, supervised, full), with command allowlist support
Installation and usage
Prerequisites:
- The Rust toolchain is required
- On Linux/macOS, build-essential or the Xcode command-line tools are needed; on Windows, Visual Studio Build Tools are needed
- Docker is optional and only needed if you use the sandbox runtime
git clone https://github.com/zeroclaw-labs/zeroclaw.git
cd zeroclaw
cargo build --release --locked
cargo install --path . --force --locked
zeroclaw onboard --api-key sk-... --provider openrouter # 快速配置
zeroclaw agent # 交互式对话
zeroclaw gateway # 启动 Webhook 网关
zeroclaw daemon # 启动完整的自主运行时
zeroclaw migrate openclaw --dry-run # 从 OpenClaw 迁移记忆
The configuration file is located at ~/.zeroclaw/config.toml. The default release build is compatible with a Raspberry Pi 3 with 1GB of RAM; on more powerful machines you can use --profile release-fast to speed up compilation.
The project also provides a companion Python package, zeroclaw-tools. Built on LangGraph, it provides consistent tool calling for models whose native tool calling is unreliable.
Who it's for
- Users who want to self-host a personal AI assistant on low-power devices such as the Raspberry Pi
- Developers looking for a lighter alternative to OpenClaw
- Rust developers who need an agent framework with extensible, swappable components
License
MIT License.
Discover more
Agenta
Agenta is a workspace where you and your team build agents and automations.
AnythingLLM
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
AutoGPT
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Backlog.md
Backlog.md - A tool for managing project collaboration between humans and AI Agents in a git ecosystem
Codeman
Self-hosted mission control for AI coding agents: run Claude Code, OpenCode, Pi, Codex, and Antigravity & Gemini CLI 24/7, from any device, watch every subagent live
Context7
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors