OpenClaw on a Mac mini: run AI agents 24/7 the right way
Turn a Mac mini into an always-on AI agent box: the Energy settings that matter, OpenClaw's launchd gateway, Fluf as a server, and a security checklist.

On this page
Part of Best OpenClaw alternatives (2026): 5 options compared
A Mac mini is the most popular box for running OpenClaw around the clock, and for good reason: it idles at 4 W, runs macOS-only apps like iMessage, and sits on your own network with your own logins. Getting the OpenClaw Mac mini setup right takes four things most guides skip: stopping macOS from sleeping, bringing the mini back after a power cut, keeping the gateway alive as a service, and locking down a computer that holds your keys and answers messages while you're away.
This guide covers each step for OpenClaw, then shows the same mini running Fluf, where you control the agents from your laptop and phone instead of a terminal.
The demand was real. In May 2026, TNW reported Mac mini and Mac Studio stock sold out across the US for weeks, with buyers setting up minis as home servers for personal agents, often on OpenClaw (TNW).
1. Why a spare Mac mini beats renting cloud agent VMs
A small Linux server costs a few dollars a month and is the right call for many people. Our guide to running AI agents 24/7 covers that route. A Mac mini wins in four cases:
- You want Apple-only channels. iMessage needs a Mac. So does anything that drives a macOS app.
- Your agents use a real browser with your logins. A mini at home signs in to Google Ads or Shopify from your home connection, not a data-centre IP that triggers security checks.
- You want local models. Apple silicon's unified memory runs Ollama and LM Studio models that would need a GPU server elsewhere.
- You'd rather pay once. Apple rates the Mac mini (M6) at 4 W idle and 70 W at most (Apple). At idle that's under 3 kWh a month.
The trade-off: a server in a data centre has redundant power and a fixed address. Your mini has your home router and whatever the power company does next. The next step deals with that.
2. Prevent macOS sleep and set auto-restart
Out of the box, a Mac mini sleeps, and a sleeping Mac runs no agents. Open Apple menu › System Settings › Energy (Apple) and set:
- Prevent automatic sleeping when the display is off: on. Without it, the mini sleeps a few minutes after the screen does.
- Wake for network access: on, as a fallback if something else puts the mini to sleep.
- Start up automatically after a power failure: on.
On a Mac mini from 2024 or later with macOS Tahoe 26.5 or later, use Start up when power is connected and choose Always. Apple says the Mac then "will also turn on automatically when power is restored after a power failure" (Apple).
Use a wired Ethernet connection if you can, and give the mini a fixed address in your router so it's always where you left it.
3. OpenClaw on a Mac mini: daemon maintenance and security hardening
Install OpenClaw as normal; our OpenClaw setup guide walks through onboarding. On a Mac, the gateway runs as a launchd LaunchAgent (Gateway on macOS):
openclaw gateway install
openclaw gateway status --deep
openclaw gateway restart
openclaw health
What to know for an always-on mini:
- The service label is
ai.openclaw.gatewayand its plist lives at~/Library/LaunchAgents/ai.openclaw.gateway.plist. Reinstall withopenclaw gateway install --forceafter changing service settings. - Turn on "Keep OpenClaw running when the app is closed". It's off for fresh setups. Without it, quitting the menu bar app takes the agent down. Launch at login is a separate switch next to it.
- Logs go to
~/Library/Logs/openclaw/gateway.log. Check it first when the agent goes quiet. - Keep state off iCloud Drive. The docs warn that sync latency and file locks in cloud-synced folders can affect sessions, credentials and gateway state.
- Don't add your own KeepAlive jobs. OpenClaw's docs warn that ad-hoc
launchctl submitor KeepAlive jobs for the gateway can cause restart loops. - Control it from your laptop. The macOS app has a Remote mode: the mini runs the gateway and your laptop controls it over SSH, LAN or your tailnet (macOS app).
Then update and audit on a schedule. openclaw update keeps the gateway current, and openclaw security audit tells you if your config has drifted from a safe baseline (security docs). The audit matters more on a box that never sleeps, because its uptime is also its exposure.
4. Fluf on an always-on Mac mini: desktop UI and phone control
Fluf is a desktop app for Mac, Windows and Linux where you hire AI agents, each a named character with persistent memory, routines and approval rules. On a Mac mini you have two ways to run it.
The simple way: run the app on the mini. Install Fluf, then in App settings › Screen control turn on Keep this computer awake while agents work and Open Fluf when you log in (Keep agents running). Fine if the mini is also your desk computer.
The server way, with Pro: connect the mini from your laptop. In Fluf on your laptop, open App settings › Computers › Add computer › Your server and add the mini over SSH. Fluf installs and starts itself there; the password is used once and never saved. SSH works with Apple silicon Macs and Linux servers (Computers). Prefer the terminal? Run the installer on the mini, then:
fluf serve
fluf service install
fluf service install keeps it running across logouts and reboots (command line).
- 1Add the miniComputers › Add computer › Your server
- 2Pick what movesSet a business's Runs on to the mini
- 3Close your laptopAgents, routines and chat apps carry on
- 4Reach it anywhereDesktop app, phone browser or Telegram
Each business, team and agent has a Runs on setting. Point your store's business at the mini and its agents, routines and chat apps run there; leave the rest on your laptop. If the mini goes offline, its work waits until it's back.

From your phone you have three doors. Telegram gives each agent its own contact, and approval requests arrive with Approve and Deny buttons (Telegram). Slack and other chat apps carry messages and voice notes, with approvals waiting in Fluf. Remote access (Pro) opens the full app in your phone's browser at app.fluf.bot, encrypted between phone and computer (phone and remote access).
On the Free plan Fluf covers 1 business and 6 agents, with chat apps on 1 agent; connecting your own server is part of Pro at $49€49 a month, with 7 days free. Fluf Cloud, computers we run for you, is coming soon.
| On a Mac mini | OpenClaw | Fluf |
|---|---|---|
| Price | Yes, free and MIT-licensed | Partly: Free plan, server use is Pro |
| Set up from your laptop | Partly: Remote mode over SSH, LAN or tailnet | Yes, Add computer over SSH |
| Keeps running after reboot | Yes, launchd LaunchAgent | Yes, fluf service install |
| Dollar spend limits per agent | No | Yes |
| Open source | Yes | No |
5. Security checklist for an always-on home or office box
A Mac mini running agents holds your model keys, chat sessions and often your browser logins. Treat it like a server, whatever runs on it.
- Patch first. OpenClaw before 2026.1.29 accepted a
gatewayUrlfrom a query string and sent its token to that address without asking, a one-click remote code execution rated 8.8 (NVD). Stay on current releases; more in is OpenClaw safe. - Keep the gateway on loopback. On a normal host install OpenClaw binds to loopback. Reach it over Tailscale or SSH, never by forwarding a port on your router.
- Use a separate macOS user for the agents, without admin rights, and keep FileVault on.
- Audit skills before installing them. Koi Security found 341 malicious skills among 2,857 on ClawHub in early 2026 (eSecurity Planet); see our ClawHub malicious skills report.
- Gate the risky actions. In OpenClaw, keep DM pairing on and groups allowlisted. In Fluf, new organisations start with Ask me first on spending money (locked), sending email, posting publicly and using the computer (rules and approvals).
- Cap the spend. A box that never sleeps can burn tokens all night. Set a daily dollar limit per agent and a monthly ceiling per business (usage and budgets).
Got a spare Mac mini? Download Fluf and put it to work tonight.
Questions people ask
- Is a Mac mini good for running OpenClaw 24/7?
- Yes. Apple rates the current Mac mini at 4 W idle, it runs macOS-only channels such as iMessage, and it keeps your browser logins at home. Turn off automatic sleep, set it to start after a power failure, and install OpenClaw's gateway as a launchd service.
- How much does it cost to run a Mac mini all day?
- At Apple's idle figure of 4 W, a Mac mini uses under 3 kWh a month, so the power bill is small. The real running cost is your AI provider: API tokens or a subscription's usage limits.
- Can I run AI agents on a Mac mini with my own AI providers?
- Yes. OpenClaw and Fluf both run on the mini with your own Claude Code or Codex login, an API key, or a local model through Ollama or LM Studio. Fluf adds no markup and sells no credits.
- How do approvals work if the agents run on a Mac mini?
- In Fluf, anything set to Ask me first, such as sending email or spending money, waits for you in the agent's chat. You can answer from the desktop app, your phone's browser once paired, or Telegram's Approve and Deny buttons.
- How does OpenClaw on a Mac mini compare with Fluf?
- OpenClaw is free and open source, configured in the terminal and a JSON file, with 29 channels. Fluf is a desktop app with named agents, approvals and spend limits; on Pro you can add the mini from your laptop over SSH and choose which business runs there.
Sources
- Apple: Mac mini power consumption and thermal output, checked 28 November 2026
- Apple: Change Energy settings on Mac, checked 28 November 2026
- Apple: Turn on a Mac mini, Mac Studio or iMac without pressing its power button, checked 28 November 2026
- Apple: Set your Mac to log in automatically, checked 28 November 2026
- OpenClaw docs: Gateway on macOS, checked 28 November 2026
- OpenClaw docs: macOS app, checked 28 November 2026
- OpenClaw docs: Security, checked 28 November 2026
- OpenClaw, checked 28 November 2026
- NVD: CVE-2026-25253, checked 28 November 2026
- TNW: Mac mini shortage driven by home AI agents (11 May 2026), checked 28 November 2026
- eSecurity Planet: Hundreds of malicious skills found in OpenClaw's ClawHub (3 Feb 2026), checked 28 November 2026



