Skip to content
FossShelf
Home / Categories / For AI Engineers

Nullclaw

Self-hosted AI agent runtime, 678 KB Zig binary, 50+ model providers

Replaces —

8.23K starsMITlast commit 8 Oct 2026

Who it's for

Developers running a personal AI assistant on private hardware

Nullclaw connects a local terminal session to any configured model provider from one binary, with session save and restore across restarts. The product website's first documented use case is launching in terminal mode to refactor code, run tests, and open pull requests with human-in-the-loop oversight.

If you want a polished chat interface with document uploads, image generation, or first-party integrations maintained by the model provider, a managed service like Claude.ai or ChatGPT is simpler to configure and maintain.

Teams building multi-channel bots across Telegram, Discord, and Slack

A single Nullclaw gateway instance serves multiple channels simultaneously from one configuration. Adding a Telegram bot, a Discord bot, and a Slack workspace channel requires separate API keys in config, not separate processes. The same agent configuration, memory store, and tool set back all channels.

If your bot requires native platform features not exposed through Nullclaw's channel abstraction, such as reactions, threads, or platform-specific rich embeds, a platform-native SDK offers more direct access.

Engineers deploying agents on edge and embedded hardware

The binary targets ARM, x86, and RISC-V, boots in under 8 ms at 0.8 GHz, and uses under 1 MB of RAM. The README documents a Cloudflare Worker edge deployment path using Zig WASM modules that keeps networking and secrets in the edge host while swapping agent logic by replacing the WASM module.

If your edge deployment requires a managed update system or remote configuration UI, check the NullHub ecosystem's current beta status before committing to the full stack.

DevOps teams running automated background pipelines

Gateway mode with headless execution handles task assignments from an orchestrator without human supervision. The `nullclaw service install` command registers a systemd user service on Linux (or OpenRC on compatible systems) with an optional secret injection hook that runs before the gateway starts.

If your pipeline requires structured workflow graphs, conditional branching, or integration with an existing orchestration platform, Nullclaw's gateway is a subprocess host, not a workflow engine.

The problem

Running an AI agent on your own hardware means working around the weight of most existing frameworks. Python-based agent runtimes require 100+ MB of RAM and take 30 seconds or more to start on low-power hardware. TypeScript-based alternatives ship distributable bundles in the 20-30 MB range and depend on a Node.js runtime that must be installed and maintained separately. Neither option fits edge devices, ARM SBCs, or scenarios where binary size and startup time matter. Managed commercial AI assistant platforms trade infrastructure weight for ongoing per-seat subscription costs and give up model choice, channel flexibility, and data ownership in the process. Teams that need to run agents across multiple messaging platforms simultaneously, route requests through multiple model providers, or keep conversation data off third-party servers have no good option among managed services.

How it works

678 KB static binary with no runtime dependencies

A single self-contained binary compiled from Zig with no external runtime, no garbage collector, and no framework overhead. Weighs 678 KB and loads from a cold start in under 2 ms on Apple Silicon or under 8 ms on a 0.8 GHz edge core, measured with /usr/bin/time on ReleaseSmall builds.

Universal model multiplexer with 50+ providers

Routes requests to OpenRouter, OpenAI, Anthropic, Gemini, Vertex AI, Azure OpenAI, Ollama, Mistral, Groq, DeepSeek, Together, Fireworks, Perplexity, Cohere, Bedrock, and any OpenAI-compatible endpoint via a custom prefix. Handles automatic model discovery, streaming, key rotation, and rate limit responses across all configured providers.

19 built-in communication channels

Ships channels for CLI, Telegram, Signal, Discord, Slack, iMessage, Matrix, WhatsApp, Webhook, IRC, Lark/Feishu, OneBot, Line, DingTalk, Email, Nostr, QQ, MaixCam, and Mattermost. Each channel uses the same vtable interface, so running multiple channels simultaneously requires only a config change, not code modifications.

Hybrid memory system with no external database required

The default SQLite backend combines FTS5 keyword search (BM25 scoring) with cosine-similarity vector search for hybrid recall, with no external service needed. Additional backends including PostgreSQL, Redis, ClickHouse, and LanceDB swap in via config. Memory state exports and imports support backend migrations, and automatic hygiene purges stale entries on a schedule.

Multi-layer security sandbox with explicit allowlists

Auto-detects the best available isolation backend: Landlock, Firejail, Bubblewrap, or Docker. The gateway binds to 127.0.0.1 by default and refuses public access without an active tunnel. API keys encrypt with ChaCha20-Poly1305 using a local key file. Channel allowlists default to deny-all inbound messages until explicitly configured.

Pluggable vtable architecture across all subsystems

Providers, channels, memory engines, tools, tunnels, sandbox backends, and hardware peripherals (Arduino, Raspberry Pi GPIO, STM32) are all vtable interfaces. Swapping a memory backend, adding a custom channel, or pointing the runtime at a private model endpoint requires a config change only, no recompiles.

Features

  • 678 KB static binary with no runtime dependencies
  • Universal model multiplexer with 50+ providers
  • 19 built-in communication channels
  • Hybrid memory system with no external database required
  • Multi-layer security sandbox with explicit allowlists
  • Pluggable vtable architecture across all subsystems

How to install

Install Nullclaw with Homebrew on macOS or Linux.

brew install nullclaw

Recommended for this setup

Strengths

  • Runs on $5 hardware: The binary weighs 678 KB, uses under 1 MB of RAM, and boots in under 8 ms at 0.8 GHz. The README benchmarks Nullclaw against OpenClaw (TypeScript), NanoBot (Python), PicoClaw (Go), and ZeroClaw (Rust) normalized to 0.8 GHz hardware; Nullclaw uses less RAM and starts faster than all four. A Raspberry Pi or cheap ARM SBC runs it without modification.
  • MIT license with no commercial use restriction: The full codebase is MIT licensed with no commercial tier, no enterprise restriction, and no usage-based limitation. You can run it on private infrastructure, fork it, modify it, and include it in commercial products without licensing fees beyond preserving the license file.
  • 5,300+ tests across CI and nightly runs: The README reports 5,300+ tests, the highest count in its benchmark comparison table. The next closest, ZeroClaw in Rust, lists 1,017. CI and nightly build badge status are visible on the GitHub repository. The test suite covers the full build path on ReleaseSmall.
  • Migration path from OpenClaw: Ships a documented `nullclaw migrate openclaw` command. The config structure is compatible with OpenClaw's snake_case format, with providers under `models.providers` and model defaults under `agents.defaults.model.primary`. Existing provider keys and channel accounts carry over without manual reformatting.

Trade-offs

  • Source builds require exactly Zig 0.16.0: The README states that Zig 0.16.0 is the only supported version for source builds, with other versions potentially failing to compile. Developers without Zig 0.16.0 need to manage the toolchain version separately. The Homebrew install bypasses this requirement on macOS and Linux; Windows users building from source must install the exact version.
  • Project is less than a year old and NullHub ecosystem is in beta: The repository was created in February 2026, giving it under a year of public history at time of writing. The surrounding NullHub ecosystem (nullhub UI, nullboiler orchestrator, nullwatch, nulltickets) is described as currently in beta in the README. 47 open issues are on record as of the research date.
  • Public-facing gateway requires manual tunnel configuration: The gateway binds to 127.0.0.1 by default. Exposing it externally requires setting up an active tunnel (Tailscale, Cloudflare, or ngrok) plus a pairing step. The Docker Compose documentation warns that setting NULLCLAW_BIND=0.0.0.0 should only happen on trusted networks with pairing, webhook secrets, and host firewall rules already configured.

Tech stack

Languages
Zig, Dockerfile, Nix, Makefile, Shell
Frameworks
—
Databases
—
Tooling
—

FAQ

How do I install Nullclaw?

The recommended path is Homebrew: `brew install nullclaw` on macOS or Linux. A Docker Compose path is documented in the README using `make build`, `make config`, and `make up`. Building from source requires exactly Zig 0.16.0 and the `zig build -Doptimize=ReleaseSmall` command; the README also covers PATH setup for macOS, Linux, and Windows PowerShell.

What model providers does Nullclaw support?

The README lists 50+ providers including OpenRouter, OpenAI, Anthropic, Azure OpenAI, Gemini, Vertex AI, Ollama, Mistral, Groq, DeepSeek, Together AI, Fireworks, Perplexity, Cohere, Bedrock, NEAR AI Cloud, Atlas Cloud, Evolink, Eden AI, xAI, Venice, and any OpenAI-compatible endpoint via a `custom:` prefix. Configure providers under `models.providers` in `~/.nullclaw/config.json` after running `nullclaw onboard`.

Can Nullclaw run on a Raspberry Pi or other low-power hardware?

Yes. The binary targets ARM, x86, and RISC-V, uses under 1 MB of RAM, and starts in under 8 ms on a 0.8 GHz edge core per the README's benchmark. The stated target is hardware costing $5 or more. The binary is a static build with no dependencies beyond libc.

What is Nullclaw's license?

MIT. The full codebase is MIT licensed with no commercial use restriction, no enterprise tier, and no hosted service dependency. You can run it on private infrastructure, fork it, modify it, and ship it in commercial products without paying licensing fees beyond preserving the license file.

How does Nullclaw secure a public-facing gateway?

The gateway binds to localhost (127.0.0.1) by default and refuses external connections without an active tunnel (Tailscale, Cloudflare, or ngrok) plus a pairing code exchange. Channel allowlists default to deny-all inbound messages. API keys encrypt at rest with ChaCha20-Poly1305. Audit logging with signed events and configurable retention is built in. The README's security section covers 8 items with implementation status and method.

Similar tools

More in AI Engineers