HardwareAgent on a machine

ZeroClaw on a Raspberry Pi: Zero 2 W, Pi 3, Pi 4 or Pi 5

ZeroClaw is a single Rust binary, and it is the one agent we follow whose documentation names the Raspberry Pi Zero 2 W as a target. Its Raspberry Pi guide says the runtime "is small enough to run comfortably on any Pi". What changes from board to board is everything around it.

In short: Any Pi that runs a 64-bit or 32-bit Raspberry Pi OS runs ZeroClaw's prebuilt binary, the Zero 2 W included. Use the prebuilt binary rather than building on the board. For a Zero 2 W, keep it to the agent and a cloud model; for Docker or Podman sandboxing and more tools, a Pi 4 or Pi 5.

The smallest board ZeroClaw names: the Raspberry Pi Zero 2 W.
Buy the Raspberry Pi Zero 2 W on Amazon
At a glance
Prebuilt binariesaarch64, armv7 and armv6 Linux, picked by the install script
Boards namedPi 4 and Pi 5 (64-bit OS), Pi Zero 2 W and older Pi 3 (32-bit OS), Pi 1 and Zero (armv6)
Memory floor"no meaningful memory floor for the runtime", per its Pi guide
Servicezeroclaw service install: a user systemd unit
Container imageghcr.io/zeroclaw-labs/zeroclaw, linux/amd64 and linux/arm64 (no armv7)

Which binary for which board

ZeroClaw's Raspberry Pi guide maps boards to builds: the 64-bit build for a Pi 4 or Pi 5 on 64-bit Raspberry Pi OS, the armv7 build for a Pi Zero 2 W or an older Pi 3 on a 32-bit OS, and the armv6 build (arm-unknown-linux-gnueabihf) for a Pi 1, Zero or Zero W. The install script detects the architecture and fetches the matching release, and falls back to a source build only when it has to:

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

Do not build it on the Pi

The guide's one warning is about compiling: "The only constraint is building from source on the device". Its link step "peaks during the final link; without swap, a low-RAM board OOM-kills mid-link", and the guide creates a 4 GB swap file before it builds. On an SD card, a 4 GB swap file is also a fast way to wear the card out. If a prebuilt binary exists for your board, and the release page lists builds for every Pi architecture, use it.

What each board leaves room for

BoardMemoryZeroClaw with a cloud model
Pi Zero 2 W512 MBThe agent and its channels; no container runtime
Pi 3 Model B+1 GBThe agent, light tools
Pi 42 to 8 GBThe agent with Podman or Docker for sandboxing
Pi 52 to 16 GBEverything above, NVMe storage, other services beside it

The last column is our reading, not a measurement; ZeroClaw publishes no RAM figure for the runtime. Other agents on the same boards: OpenClaw on a Pi 4 (its docs rate the Zero 2 W "Not recommended").

Sandboxing on a small board

ZeroClaw turns on the best OS sandbox it detects on Linux (Landlock, Bubblewrap, Firejail or Docker). For containers on a small Pi, its guide prefers Podman: "Docker keeps dockerd resident; Podman does not, freeing the largest single chunk of memory without losing isolation." The official container image is built for amd64 and arm64 only, so on a 32-bit Zero 2 W the binary runs on the host with an OS sandbox rather than in the image.

As a service, and the GPIO side

zeroclaw service install writes a user unit at ~/.config/systemd/user/zeroclaw.service running zeroclaw daemon, and zeroclaw service start runs it in the background. ZeroClaw also reads GPIO, I2C, SPI and USB on the Raspberry Pi through its peripheral layer, which is what makes a Zero 2 W useful as a small agent wired to sensors. Give it a proper supply and an A2 SD card; on a Pi 5, an NVMe SSD (Pi 5 NVMe).

What to buy

The machine for this setup: the Raspberry Pi Zero 2 W.
Buy the Raspberry Pi Zero 2 W on Amazon

Shop links go through /go/ and open Amazon (amazon.fr in the EU and Switzerland, amazon.com elsewhere). As an Amazon Associate we earn from qualifying purchases. Your price does not change and no brand pays for a place on this page (disclosure). We write no price down: it moves, the shop shows today's.

Questions

Does ZeroClaw run on a Raspberry Pi Zero 2 W?
Yes. Its Raspberry Pi guide lists the Zero 2 W with the armv7 build on a 32-bit Raspberry Pi OS, and says there is no meaningful memory floor for the runtime.
How much RAM does ZeroClaw need?
ZeroClaw's current README gives no figure, and its Pi guide says there is no meaningful memory floor for the runtime. Building it from source is what needs memory: the guide adds 4 GB of swap for that.
Should I build ZeroClaw from source on the Pi?
Only if no prebuilt binary fits. The release ships aarch64, armv7 and armv6 Linux builds, and the guide warns that a low-RAM board without swap gets OOM-killed during the final link.
Docker or Podman on a small Pi?
ZeroClaw's guide prefers Podman on a small Pi, because Docker keeps its daemon resident in memory. Its container image is amd64 and arm64 only.

Sources