ZeroClaw: When OpenClaw Is Rewritten in Rust - 50x Lighter, 16x Faster
Just 3 days after OpenClaw disclosed CVE-2026-25253, a team released ZeroClaw — a complete Rust rewrite with standout numbers: 3.4MB binary (vs 180MB), under 5MB RAM (vs 200–400MB), 0.5s startup (vs 8–12s), and most importantly, memory-safe by default with no CVEs. Here is a comprehensive analysis of ZeroClaw and the ultra-light AI agent movement.

Trung Vũ Hoàng
Author
What Is ZeroClaw? Why Rewrite It in Rust?
Origins: A Response to the Security Crisis
On Feb 23, 2026, just 5 days after CVE-2026-25253 was disclosed, a group of 7 developers from the Rust community released ZeroClaw on GitHub. The lead developer is Alex Petrov, a former Cloudflare engineer and a Tokio contributor (Rust's async runtime).
In the launch blog, Alex wrote:
"OpenClaw is a great idea but the implementation is problematic. Python is a good language for prototyping but not the best choice for security-critical applications. We decided to rewrite it entirely in Rust for memory safety, zero-cost abstractions, and superior performance."
Why Rust?
Rust was chosen for the following reasons:
Memory safety without garbage collection: No buffer overflows, use-after-free, or data races — the common C/C++ issues behind 70% of CVEs
Zero-cost abstractions: High-level code with C/C++-like performance
Fearless concurrency: The compiler prevents race conditions
Small binary size: No heavyweight runtime like Python/Node.js
Cross-platform: Compile once, run anywhere (x86, ARM, RISC-V)
Detailed Comparison: ZeroClaw vs OpenClaw
Benchmark Performance (Test Machine: MacBook Pro M3, 16GB RAM)
Metric | OpenClaw 0.5.0 | ZeroClaw 0.1.0 | Improvement |
|---|---|---|---|
Binary size | 180MB | 3.4MB | 53x smaller |
Startup time (cold) | 8.2s | 0.51s | 16x faster |
RAM usage (idle) | 220MB | 4.8MB | 46x lower |
RAM usage (active) | 380MB | 18MB | 21x lower |
CPU usage (idle) | 2.1% | 0.1% | 21x lower |
Request latency (p50) | 45ms | 3ms | 15x faster |
Request latency (p99) | 180ms | 12ms | 15x faster |
Throughput (req/s) | 450 | 8,200 | 18x higher |
Benchmark on Raspberry Pi 4 (4GB RAM)
Metric | OpenClaw | ZeroClaw | Notes |
|---|---|---|---|
Does it run? | Yes (but slow) | Yes (smooth) | - |
Startup time | 28s | 1.8s | 16x faster |
RAM usage | 580MB | 12MB | 48x lower |
Response time | 200-500ms | 15-30ms | 13-17x faster |
Can it run alongside other services? | Difficult (runs out of RAM) | Easy | - |
Feature Comparison
Feature | OpenClaw | ZeroClaw |
|---|---|---|
WhatsApp integration | Yes | Yes |
Telegram integration | Yes | Yes |
Slack integration | Yes | Yes |
Discord integration | Yes | Yes |
Email (IMAP/SMTP) | Yes | Yes |
iMessage | Yes (macOS only) | In progress |
Signal | Yes | Not yet |
Microsoft Teams | Yes | Not yet |
Voice support | Yes | In progress |
Canvas UI | Yes (React) | Yes (Leptos - Rust WASM) |
Mobile apps | Q2 2026 | Q3 2026 |
Skills marketplace | ClawHub | ZeroHub (compatible with ClawHub) |
LLM support | Claude, GPT, Gemini, DeepSeek, Ollama | Claude, GPT, Gemini, DeepSeek, Ollama |
Security: ZeroClaw's Strongest Advantage
Memory Safety By Default
The Rust compiler prevents common memory safety bugs:
Buffer overflow: Impossible — compiler enforces bounds checks
Use-after-free: Impossible — the ownership system prevents it
Null pointer dereference: Impossible — no null, only Option
Data races: Impossible — the borrow checker guarantees safety
Studies from Microsoft and Google show that 70% of severe CVEs stem from memory safety issues. Rust eliminates this class of bugs.
Secure By Default Configuration
Unlike OpenClaw (which defaults to no authentication), ZeroClaw:
Requires an authentication token: It will not run without a token
Binds to 127.0.0.1 by default: Not exposed to the internet
Encrypts data by default: Uses ChaCha20-Poly1305
Mandatory sandbox: Skills run in an isolated environment
Default rate limiting: 100 req/s per IP
Audit Log and Monitoring
ZeroClaw includes built-in audit logging:
Every request is logged with timestamp, IP, and user agent
Every skill execution is logged with input/output
Every config change is logged
Export logs to JSON, CSV, or forward to syslog/Elasticsearch
Third-Party Security Audit
On Feb 25, 2026, Trail of Bits (a leading security audit firm) published their ZeroClaw audit:
0 Critical vulnerabilities
0 High vulnerabilities
2 Medium vulnerabilities (fixed in v0.1.1)
5 Low vulnerabilities (fixed in v0.1.2)
Trail of Bits concluded: "ZeroClaw is one of the safest AI agent implementations we have audited. Rust's memory safety guarantees combined with a secure-by-default design provide a solid foundation."
Technical Architecture: Why Is ZeroClaw Fast and Lightweight?
Async Runtime: Tokio
ZeroClaw uses Tokio — Rust's highest-performance async runtime:
Work-stealing scheduler: Automatically balances load across threads
Zero-copy I/O: Avoids unnecessary data copies
Efficient task spawning: Spawn millions of tasks with minimal RAM
HTTP Server: Axum
Axum is a web framework from the Tokio team, built for performance:
Type-safe routing: The compiler validates routes
Zero-cost extractors: Parse requests without extra allocations
Middleware composition: Easily add authentication, logging, and rate limiting
Database: SQLite + Rusqlite
Like OpenClaw, ZeroClaw uses SQLite, but with optimizations:
Connection pooling: Reuse connections
Prepared statements: Cache queries
WAL mode: Write-Ahead Logging for better performance
Encryption: SQLCipher integration for database encryption
Skills Sandbox: WebAssembly (WASM)
This is the biggest difference from OpenClaw:
Skills compile to WASM: Run inside a secure sandbox
Capability-based security: Skills only get explicitly granted permissions
Resource limits: Limit CPU, RAM, and execution time
No filesystem access by default: Must be explicitly granted
OpenClaw runs skills as Python scripts with full system access — very risky. ZeroClaw runs skills in a WASM sandbox — far safer.
ZeroClaw Installation Guide
Install from Binary (Easiest)
macOS (Apple Silicon):
curl -L https://github.com/zeroclaw/zeroclaw/releases/download/v0.1.2/zeroclaw-aarch64-apple-darwin.tar.gz | tar xz
sudo mv zeroclaw /usr/local/bin/
zeroclaw --versionLinux (x86_64):
curl -L https://github.com/zeroclaw/zeroclaw/releases/download/v0.1.2/zeroclaw-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv zeroclaw /usr/local/bin/
zeroclaw --versionRaspberry Pi (ARM64):
curl -L https://github.com/zeroclaw/zeroclaw/releases/download/v0.1.2/zeroclaw-aarch64-unknown-linux-gnu.tar.gz | tar xz
sudo mv zeroclaw /usr/local/bin/
zeroclaw --versionConfiguration
Create a config.toml file:
[server]
bind_address = "127.0.0.1"
port = 8080
auth_token = "your-strong-random-token-here" # Required
[security]
enable_encryption = true
sandbox_mode = "strict"
allow_unsigned_skills = false
rate_limit_per_ip = 100 # requests per second
[llm]
provider = "anthropic" # or "openai", "deepseek", "gemini"
api_key = "sk-ant-xxxxx"
model = "claude-3-5-sonnet-20241022"
[database]
path = "./zeroclaw.db"
enable_encryption = true
encryption_key = "your-32-byte-encryption-key"
[logging]
level = "info" # debug, info, warn, error
format = "json" # json or text
output = "stdout" # stdout, file, syslogRun ZeroClaw
zeroclaw --config config.tomlOr run with Docker:
docker run -d \
--name zeroclaw \
-p 127.0.0.1:8080:8080 \
-v $(pwd)/config.toml:/config.toml \
-v $(pwd)/data:/data \
zeroclaw/zeroclaw:latestAccess the Web UI
Open your browser: http://localhost:8080
Enter the auth token when prompted.
Case Study: ZeroClaw on Raspberry Pi
Setup: Home Automation Hub
Hardware: Raspberry Pi 4 (4GB RAM), $55
Use case: An AI agent to control smart home devices and answer questions via WhatsApp
Configuration:
ZeroClaw runs 24/7
Connected to Home Assistant (smart home platform)
Connected to WhatsApp via the WhatsApp Business API
Uses Claude 3.5 Haiku (the cheapest model, $0.25/1M tokens)
Results after 1 month:
Uptime: 99.8% (only 1 restart for an update)
RAM usage: 12-18MB (leaving 3.8GB for other services)
CPU usage: 0.1-2% (Pi remains responsive)
Response time: 15-30ms (very fast)
API cost: $3.20/month (processed 12.8M tokens)
Power: about 3W (Pi 4 idle about 2W, ZeroClaw adds about 1W)
Common commands:
"Turn on the living room lights" -> ZeroClaw calls the Home Assistant API
"What's the bedroom temperature?" -> Reads from the sensor
"Set an alarm for 7am" -> Creates an automation in Home Assistant
"Summarize today's email" -> Reads IMAP, summarizes with Claude
Compared to OpenClaw: OpenClaw did not run stably on a Pi 4 (too slow, memory-hungry). ZeroClaw ran flawlessly.
ZeroHub: ZeroClaw's Skills Marketplace
How It Differs from ClawHub
Criteria | ClawHub (OpenClaw) | ZeroHub (ZeroClaw) |
|---|---|---|
Skill language | Python | Rust (compiled to WASM) |
Sandbox | No (full system access) | Yes (WASM sandbox) |
Code signing | Optional | Required |
Review process | Automatic (341 malicious skills found) | Manual review by the team |
Number of skills | ~2,400 (temporarily closed) | ~180 (growing) |
Compatibility | OpenClaw only | ZeroClaw + can be ported to OpenClaw |
Top 10 Popular Skills on ZeroHub
email-triage (12,400 installs): Auto-triage email by priority
calendar-assistant (9,800 installs): Manage calendars and auto-schedule meetings
smart-reply (8,600 installs): Suggest replies for email/chat
expense-tracker (7,200 installs): Track expenses from email receipts
meeting-summarizer (6,900 installs): Summarize meeting notes
task-extractor (5,800 installs): Extract tasks from email/chat
travel-assistant (5,400 installs): Manage bookings and automate check-in
invoice-generator (4,900 installs): Generate invoices automatically
home-automation (4,600 installs): Connect to Home Assistant
crypto-tracker (4,200 installs): Track crypto prices and alerts
Writing a Skill for ZeroClaw
Simple example skill - "Hello World":
// src/lib.rs
use zeroclaw_sdk::prelude::*;
#[skill]
pub struct HelloSkill;
#[skill_impl]
impl HelloSkill {
#[handler]
async fn greet(&self, ctx: &Context, name: String) -> Result {
Ok(format!("Hello, {}! Current time: {}", name, ctx.now()))
}
}
// Cargo.toml
[package]
name = "hello-skill"
version = "0.1.0"
[dependencies]
zeroclaw-sdk = "0.1"
[lib]
crate-type = ["cdylib"]Build and publish:
cargo build --release --target wasm32-wasi
zeroclaw skill publish target/wasm32-wasi/release/hello_skill.wasmCommunity and Development
GitHub Stats (Feb 26, 2026)
Stars: 28,400 (~10K/day growth)
Forks: 1,800
Contributors: 87
Open issues: 124
Closed issues: 89
Pull requests: 156 (78 merged)
Discord Community
Members: 18,400
Active daily: ~2,000
Channels: 25 (general, support, development, skills, showcase)
Roadmap 2026
Q1 2026 (Current):
Core functionality parity with OpenClaw
Security audit by Trail of Bits
iMessage support (macOS)
Voice support
Q2 2026:
Mobile apps (iOS, Android) — native, not web wrappers
Signal and Microsoft Teams integration
Advanced memory system (long-term context)
Multi-agent collaboration
Q3 2026:
ZeroClaw Cloud (managed hosting)
Enterprise features (SSO, RBAC, audit logs)
Visual workflow builder
Plugin system for custom LLM providers
Q4 2026:
Hardware integration (smart home, IoT)
Blockchain skills (crypto wallets, DeFi)
ZeroClaw OS (minimal Linux distro)
Comparing ZeroClaw With Other Solutions
ZeroClaw vs OpenClaw vs NanoClaw vs PicoClaw
Criteria | OpenClaw | ZeroClaw | NanoClaw | PicoClaw |
|---|---|---|---|---|
Language | Python | Rust | Go | Go |
Binary size | 180MB | 3.4MB | 800KB | 400KB |
RAM usage | 220-380MB | 5-18MB | 8-15MB | 3-8MB |
Startup time | 8.2s | 0.5s | 0.3s | 0.1s |
Platforms | 10+ | 8+ | 2 (WhatsApp, Telegram) | 0 (CLI only) |
GUI | React | Leptos (WASM) | Basic web | CLI only |
Skills | 2,400+ | 180+ | None | None |
Security | Problematic | Excellent | Good | Good |
Use case | General purpose | General purpose | Lightweight chat | Embedded/IoT |
When Should You Use ZeroClaw?
Use ZeroClaw when:
You need high performance and low resource usage
You want to run on Raspberry Pi or embedded devices
You care about security (memory safety, sandbox)
You need fast startup time (0.5s vs 8s)
You want to run many instances on the same machine
You have Rust expertise (to write skills)
Use OpenClaw when:
You need all platforms (Signal, Teams, iMessage)
You want Python skills (2,400+ skills available)
You do not care about performance
You have a powerful machine (16GB+ RAM)
Use NanoClaw when:
You only need WhatsApp and Telegram
You want an ultra-small binary (800KB)
You do not need a skills marketplace
Use PicoClaw when:
You only need CLI (no GUI)
You want to run on routers or highly constrained IoT devices
You want the smallest possible binary (400KB)
Overall Assessment
Pros
Outstanding performance: 15-20x faster and 50x lighter than OpenClaw
Strong security: Memory-safe, sandboxed, secure-by-default
Runs everywhere: From Raspberry Pi to servers
Free and open-source: Like OpenClaw
Rapidly growing community: 28K stars in 3 days
Security audit: Audited by Trail of Bits
Cons
New: Only 3 days old, not battle-tested
Fewer skills: 180 vs OpenClaw's 2,400
Missing some platforms: Signal, Teams, iMessage not yet supported
Harder to write skills: Rust is harder than Python
Docs are incomplete: Still being expanded
Scores
Criteria | Score (0-10) | Remarks |
|---|---|---|
Performance | 10/10 | Excellent, fastest of all |
Security | 9/10 | Memory-safe, sandboxed, audited |
Features | 7/10 | Complete but missing some platforms |
Ease of use | 6/10 | Easy to install, harder to write skills |
Community | 7/10 | Growing rapidly |
Documentation | 6/10 | Being expanded |
Stability | 7/10 | New but audited |
Value | 10/10 | Free with outstanding performance |
Total | 7.8/10 | Very good, worth trying |
Conclusion: ZeroClaw - The Future of AI Agents?
ZeroClaw proves performance and security are not a trade-off. By adopting Rust, the ZeroClaw team built an AI agent that is 15-20x faster, 50x lighter, and significantly more secure than OpenClaw.
Key takeaways:
Rust is the right choice: Memory safety, zero-cost abstractions, and superior performance make Rust ideal for security-critical applications like AI agents
Secure-by-default design: Unlike OpenClaw (which needed patches), ZeroClaw was designed to be secure from day one
WASM sandbox: Skills run safely in a sandbox without arbitrary system access
Runs anywhere: From Raspberry Pi to servers, ZeroClaw runs smoothly
Challenges ahead:
Ecosystem: Needs time to build a marketplace as large as OpenClaw's
Learning curve: Rust is harder than Python; fewer developers can write skills
Platform support: Needs Signal, Teams, iMessage
Battle-testing: Needs time for community testing and bug discovery
Prediction: ZeroClaw could surpass OpenClaw in users in the next 6-12 months if the team keeps its current pace. The performance and security advantages are too significant to ignore.
Recommendations:
If you use OpenClaw and struggle with performance/RAM, try ZeroClaw
If you want to run an AI agent on Raspberry Pi, ZeroClaw is the only practical option
If you care about security, ZeroClaw is much safer
If you need all platforms and 2,400+ skills, wait for ZeroClaw to mature or use OpenClaw
ZeroClaw is not just a fork - it is a reimagination of AI agents with a focus on performance, security, and efficiency. This is the right direction for the future of AI agents.
Bài viết liên quan

Tesla Terafab: When Elon Musk Decides to Manufacture 100 Billion AI Chips In-House Each Year
On March 14, 2026, Elon Musk shocked the tech world by announcing Tesla’s “Terafab” project will officially launch within 7 days. This isn’t a typical chip factory — it’s an ambition to turn Tesla from an EV company into a semiconductor giant, designing and producing over 100 billion custom AI chips per year. If successful, Terafab would be the largest chip plant on the planet, dwarfing Tesla’s famed Gigafactories. Here’s a comprehensive analysis of this semiconductor revolution.

Paperclip: When You’re the CEO of a Company With No Employees — Only AI Agents
While the world debates AIs replacing humans, a group of developers built a tool to make it real: Paperclip — an open-source platform that lets you run an entire company with AI agents. Not a chatbot. Not automation tools. A full organization with a CEO, CTO, engineers, and marketers — all AI. And it works: Felix, a “one-person company” running on Paperclip, generated nearly $200,000 in revenue in just a few weeks. Here’s a comprehensive analysis of the zero-human company revolution.

Seedance 2.0: ByteDance's 'DeepSeek Moment' for AI Video
On 10/2/2026, ByteDance - parent of TikTok and CapCut - officially released Seedance 2.0, and AI video will never be the same. This is not a small update - it’s a complete shift in how we make video with AI. For the first time, a single model can produce cinematic video with native synced audio, seamless multi-shot storytelling, and phoneme-accurate lip-sync in 8+ languages. The AI community calls this the 'DeepSeek moment' for video - when a Chinese company ships something that outperforms Western rivals at a fraction of the cost.