nullclaw
Fastest, smallest, and fully autonomous AI assistant infrastructure written in Zig
What is nullclaw?
Fastest, smallest, and fully autonomous AI assistant infrastructure written in Zig
Overview of nullclaw
What it is
NullClaw is an AI assistant infrastructure written in Zig. It is described as fast, small, and fully autonomous. The compiled binary is 678 KB and uses approximately 1 MB of RAM. It has no runtime dependencies and is a static binary.
Key features
- Written in Zig, compiled to a static binary with zero runtime dependencies.
- Supports over 50 AI model providers, including OpenAI, Anthropic, Gemini, Ollama, and many OpenAI-compatible endpoints.
- Supports multiple messaging channels: CLI, Telegram, Signal, Discord, Slack, iMessage, Matrix, WhatsApp, Webhook, IRC, Lark/Feishu, OneBot, Line, DingTalk, Email, Nostr, QQ, MaixCam, Mattermost.
- Memory subsystem with multiple backends: SQLite (with FTS5 and vector cosine similarity), Markdown, ClickHouse, PostgreSQL, Redis, LanceDB, Lucid, LRU, API.
- Includes a gateway runtime, scheduler, and heartbeat for autonomous operation.
- Provides a built-in set of tools: shell, file operations, web fetch, web search, browser open, screenshot, memory operations, and more.
Use cases
- Running a fully autonomous AI assistant on low-cost hardware (any $5 hardware).
- Deploying AI agents that communicate over multiple messaging platforms simultaneously.
- Building custom AI workflows with interchangeable provider, channel, memory, and tool implementations via vtable interfaces.
- Edge deployment with a hybrid host + WASM logic pattern (example for Cloudflare Worker + Telegram + OpenAI).
Getting started
Install via Homebrew:brew install nullclawBuild from source (requires Zig 0.16.0):git clone https://github.com/nullclaw/nullclaw.gitcd nullclawzig build -Doptimize=ReleaseSmallzig build test --summary allRun with Docker Compose:make buildmake configmake up
License and pricing
License: MIT. Pricing: open source (free).
Based on the project's public README and repository metadata.