HardwareAgent on a machine

NanoClaw on a Mac mini: Docker, memory and the agent groups

NanoClaw runs every agent group in its own Linux container, and on a Mac those containers live in Docker Desktop's virtual machine. That design is why memory matters more for NanoClaw than for the other agents we follow, and why the Mac mini you order should be sized for the number of groups you plan.

In short: NanoClaw asks for about 4 GB of RAM; on a Mac, Docker Desktop and one container per agent group come on top. A Mac mini M4 with 16 GB is the comfortable choice for a handful of groups with a cloud model; 24 GB or more if a local model through Ollama runs on the same Mac. Docker is the only runtime NanoClaw ships today.

For NanoClaw with a few agent groups: the Mac mini M4, 16 GB.
Buy the Mac Mini M4 on Amazon
At a glance
PlatformsmacOS or Linux; Windows through WSL2
RAM (README)about 4 GB; the installer warns below 3,700 MB
Container runtimeDocker Desktop on macOS; Docker is the only runtime in the repository
Node22.23.4+, 24.22.1+ or 26.12.1+ and pnpm 10+, installed by the setup if needed
Agent imagebuilt per checkout on node:22 slim, with Chromium for browser automation
Servicea LaunchAgent with RunAtLoad and KeepAlive

Why NanoClaw needs more memory than its README says

The 4 GB in NanoClaw's README is what the installer checks for. On a Mac, Docker does not run natively: Docker Desktop starts a Linux virtual machine, and every NanoClaw agent group runs as a container inside it, each with its own Node process and, when the agent browses, its own Chromium. One group on an 8 GB Mac is fine; five groups that browse are another matter.

Agent groups (cloud model)Mac mini memory
1 or 216 GB (an older 8 GB Mac runs it, with little spare)
3 to 6, some browsing16 GB, 24 GB for headroom
Any, plus a 7-8B local model24 GB
Any, plus a 12-14B local model32 GB

Our estimate, not a measurement: NanoClaw publishes no per-container figure. Its Proxmox helper creates a Debian container with 8 GiB of RAM by default, which is a hint at what the project expects.

Install on the Mac

git clone https://github.com/nanocoai/nanoclaw.git
cd nanoclaw
bash nanoclaw.sh

The setup installs or updates Node and pnpm, and installs Docker if it is missing (on macOS through Homebrew, brew install --cask docker). On a Mac fresh from the box it first pulls Apple's Command Line Tools, which the docs say can take five to ten minutes. git itself is not installed for you. The service lands as a LaunchAgent that starts at login and restarts on a crash.

Docker, not Apple containers

NanoClaw's installation docs are explicit: "Docker is the only runtime shipped in this repository", and an unknown runtime driver fails rather than falling back. Support for Apple's own container runtime exists only in open pull requests at the time of reading. Give Docker Desktop enough memory in its settings for the groups you plan: the VM's limit, not the Mac's, is the one the containers hit (when a container is killed).

A local model beside it

NanoClaw runs Claude by default; local Ollama models are a skill you add per agent group. Run Ollama on macOS, outside Docker, so it uses the GPU through Metal. The M4 writes 24.11 tokens per second with a 7B model on llama.cpp's Apple Silicon scoreboard. Memory is shared between Docker's VM, the model and macOS, which is why the table above jumps to 24 GB as soon as a model runs locally (what each memory size loads).

Mac mini, MacBook or Linux box

NanoClaw also runs on Linux with Docker Engine, where the containers skip the VM. A Linux mini PC with 32 GB is the cheaper way to many groups (mini PC guide); the Mac mini wins on silence, power at idle (4 W for the M4, by Apple's measure) and local models. Keep it on through short power cuts with a small UPS.

What to buy

The machine for this setup: the Mac Mini M4 / M4 Pro.
Buy the Mac Mini M4 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

How much RAM does NanoClaw need?
Its README asks for about 4 GB and the installer warns below 3,700 MB. On a Mac, Docker Desktop's VM and one container per agent group come on top: 16 GB is the comfortable size, by our estimate.
Does NanoClaw use Apple's container runtime on macOS?
Not in the shipped code: Docker is the only runtime in the repository. Apple Container support exists only in open pull requests at the time of reading.
Does NanoClaw run on a Mac mini M1?
It runs on macOS with Docker Desktop. An 8 GB M1 leaves little room once Docker's VM and a few agent groups are up; a 16 GB M1 is fine with a cloud model.
Can NanoClaw use a local model on the Mac mini?
Yes, through an Ollama skill added per agent group. Run Ollama on macOS itself and order 24 GB or more.

Sources