It's quiet, sips power, runs macOS (which means iMessage), and Apple Silicon handles local model inference surprisingly well. By the end of this guide, you'll have a 24/7 agent that costs $5โ€“15/month in API fees instead of $50โ€“150.

What You Need

Hardware

Buying Guide (March 2026)

ModelRAMUsed PriceNew PriceLocal Models
M1 Mac Mini16GB$350โ€“450N/A7B models
M2 Mac Mini16GB$400โ€“500N/A7B models
M2 Mac Mini24GB$500โ€“650N/A13B models โญ
M4 Mac Mini16GBN/A$500โ€“6007B models
M4 Mac Mini24GBN/A$600โ€“70013B models โญ
M2 Pro32GB$750โ€“900N/A30B models
M4 Pro48GBN/A$1,40070B models
๐ŸŸข Best budget pick: Used M1 16GB (~$400). Handles cloud APIs perfectly and can run small local models.
โญ Best overall pick: M2 or M4 with 24GB (~$600). Runs 13B models smoothly โ€” covers most tasks without API costs.

1 Prepare Your Mac Mini

Initial Setup

  1. Connect via ethernet โ€” plug directly into your router. WiFi drops kill your agent.
  2. Enable auto-login โ€” System Settings โ†’ Users & Groups โ†’ Auto Login โ†’ your account
  3. Disable sleep โ€” System Settings โ†’ Energy Saver โ†’ Prevent automatic sleeping
  4. Enable SSH โ€” System Settings โ†’ General โ†’ Sharing โ†’ Remote Login โ†’ ON
  5. Set a static IP (or reserve one in your router's DHCP settings)

Enable Headless Operation

Your Mac Mini will run without a monitor, keyboard, or mouse. Prevent display-related issues:

# Prevent sleeping when display is off
sudo pmset -a displaysleep 0 sleep 0 disksleep 0

# Auto-restart after power failure
sudo pmset -a autorestart 1

Install Prerequisites

# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Node.js
brew install node

# Verify
node --version # Should be v20+ or v22+

2 Install OpenClaw

# Install OpenClaw globally
npm install -g openclaw

# Run the setup wizard
openclaw setup

The wizard will ask for:

Configure as Service (Auto-Start on Boot)

# Start OpenClaw gateway as a service
openclaw gateway start

# Verify
openclaw gateway status

OpenClaw will now start automatically when your Mac boots and restart if it crashes.

3 Install Ollama (Local Models)

This is where the Mac Mini really shines. Local models = $0 API costs.

# Install Ollama
brew install ollama

# Start Ollama service
brew services start ollama

# Pull a model (Qwen 2.5 7B โ€” excellent for agent tasks)
ollama pull qwen2.5:7b

# Test it
ollama run qwen2.5:7b "Hello, are you working?"

Recommended Models by RAM

Your RAMModelPull CommandQuality
8GBQwen 2.5 3Bollama pull qwen2.5:3bBasic tasks
16GBQwen 2.5 7Bollama pull qwen2.5:7bGood for most tasks
24GBQwen 2.5 14Bollama pull qwen2.5:14bStrong reasoning
32GBQwen 3.5 32Bollama pull qwen3.5:32bNear-Sonnet quality
48GB+Llama 3 70Bollama pull llama3:70bPremium, free

4 Configure Hybrid Model Routing

The magic setup: local model for easy tasks, cloud API for hard tasks. This typically cuts monthly API costs by 70โ€“80%.

What This Looks Like in Practice

TaskModel UsedCost
"Good morning"Qwen 2.5 7B (local)$0
"What's on my calendar?"Qwen 2.5 7B (local)$0
"Summarize this article"Qwen 2.5 7B (local)$0
"Write a business proposal"Claude Sonnet (cloud)~$0.03
"Review this contract"Claude Sonnet (cloud)~$0.05
"Build a pricing strategy"Claude Opus (cloud)~$0.15
Heartbeat checksQwen 2.5 7B (local)$0

Result: 80% of messages hit the local model ($0). Only the complex 20% use cloud API. Monthly bill: $10โ€“20 instead of $80โ€“150.

5 Set Up Messaging Channels

๐Ÿ“ฑ iMessage (Mac-Only Feature)

The killer feature that makes Mac Mini the preferred hardware. iMessage integration only works on macOS. Text your agent like you'd text a friend โ€” it reads and sends iMessages directly through the Messages app.

๐Ÿ’ฌ WhatsApp

Scan a QR code to link your WhatsApp. Your agent can then receive and respond to WhatsApp messages.

โœˆ๏ธ Telegram

Create a bot via @BotFather, get a token, plug it into OpenClaw config. Most reliable channel โ€” doesn't require QR re-linking.

๐ŸŽฎ Discord

Create a bot in the Discord Developer Portal, add it to your server, configure the token.

6 Customize Your Agent

SOUL.md โ€” Your Agent's Personality

# SOUL โ€” My AI Assistant

## Identity
- Name: [Your agent's name]
- Role: Personal assistant + [your use case]
- Tone: [Casual / Professional / Mixed]

## Boundaries
- Never: share passwords, make purchases without asking
- Always: ask before anything irreversible

HEARTBEAT.md โ€” What Your Agent Does When Idle

Configure idle behavior so your agent works while you sleep โ€” research, monitoring, documentation, anything you define.

Memory Architecture

Create a memory/ folder for persistent knowledge: key facts, projects, contacts, preferences. Your agent remembers everything between conversations.

7 Security Hardening

Don't skip this. A misconfigured agent is an open door.

  1. API key security โ€” store in .env file, never in committed code
  2. Firewall โ€” enable macOS firewall (System Settings โ†’ Network โ†’ Firewall)
  3. SSH keys โ€” disable password auth, use SSH keys only
  4. Router โ€” don't expose ports to the internet unless using a tunnel (Cloudflare, Tailscale)
  5. Updates โ€” keep macOS, Node.js, and OpenClaw current

Monthly Cost Breakdown

ItemMonthly Cost
Electricity (~10W average)~$1.50
Internet (existing connection)$0 incremental
API fees (hybrid routing)$5โ€“20
Hardware (amortized 2 years)$17โ€“30
Total: $24โ€“52/month

Compare to managed hosting ($30โ€“40/mo) โ€” similar cost, but you get local models, iMessage, and full control.

Troubleshooting

Agent not responding after reboot
Check that OpenClaw gateway is running: openclaw gateway status. If not: openclaw gateway restart.
WhatsApp disconnected
WhatsApp links expire periodically. Re-scan the QR code via openclaw setup or the web UI.
Ollama model slow
Check Activity Monitor for memory pressure. If yellow/red, you need a smaller model or more RAM.
High API costs despite routing
Check your model config โ€” make sure the local model is set as default, not just available.
Mac Mini runs hot
Normal under load. Ensure good ventilation. If sustained >95ยฐC, check for runaway processes.

Next Level: Multiple Agents

Once comfortable with one agent, you can run multiple:

A Mac Mini with 24GB RAM can comfortably run 2โ€“3 agents simultaneously.

Don't Want to Do This Yourself?

ClawReady Pro Setup ($199) โ€” We do everything in this guide for you, plus security hardening, model routing optimization, and a 30-minute walkthrough. Running in a day, not a weekend.

Book a Pro Setup ($199) โ†’

Or skip the hardware entirely:

Lobster Condo โ€” Dedicated Hosting from $20/mo โ†’

A dedicated Mac Mini in our facility with 99.5%+ uptime, monitoring, and zero maintenance.