Quiet and frugal
Apple silicon idles at a few watts and is nearly silent, so leaving it on all day, every day is cheap and unobtrusive.
0:00 Here's how to set up a Mac mini as an always-on AI server. It's a quiet home for your AI assistants and coding agents, running around the clock.
0:13 Start with the hardware. Any Apple silicon Mac mini will do. Get at least sixteen gigabytes of memory, a large SSD, and use wired Ethernet.
0:27 Next, finish the macOS setup. Install every update, give the Mac a clear name, and create one admin account for the server.
0:39 Now, keep it awake. The setup-power script turns off sleep and restarts the Mac after a power failure. It also turns on restart after a freeze. It's a dry run by default, so you can review every change first. When it looks right, run it again with --apply.
1:00 Unattended restarts come with a tradeoff. Automatic login brings your agents back on their own, but only with FileVault off. With FileVault on, the disk stays encrypted, and the Mac waits to be unlocked.
1:17 For remote access, Tailscale puts the Mac on your own private network. Turn on Screen Sharing and Remote Login, and you never open a port to the internet.
1:30 Background jobs run as LaunchAgents. A LaunchAgent starts your job at login, and restarts it if it stops. It can also run a job on a schedule instead. The guide's install script writes and loads one for you.
1:47 Sync your files with iCloud Drive, Google Drive, or OneDrive. Keep agent folders downloaded, so nothing waits on the cloud.
1:59 Then install your tools: Homebrew, Node, and Python. Homebrew keeps them all easy to update. Add Cursor and Claude, and start a Cursor private worker, so agents can run on this Mac.
2:15 Harden the machine. Turn on the firewall, use SSH keys, keep secrets in the keychain, and give agents only the access they need.
2:27 Back it up with Time Machine, keep one copy off-site, and test a restore. And remember, Git is not a backup.
2:38 Finally, after every reboot, run the health check. It checks power, remote access, and your agents, then ends with a one-line summary. Anything that needs attention shows up as a warning or a failure, so you know exactly where to look.
2:58 Always on, recoverable, and secure. The full guide, the scripts, and a printable checklist are ready when you are.
Narration: Kokoro TTS voice af_heart (Apache-2.0).
Quiet and frugal
Apple silicon idles at a few watts and is nearly silent, so leaving it on all day, every day is cheap and unobtrusive.
Runs the tools you already use
Cursor, Claude, Homebrew, Node, Python, Xcode, iOS simulators, a real browser — everything your agents need, on the same OS you work on.
Always reachable
With Tailscale, Screen Sharing and SSH you can check on long-running agents from your laptop or phone — without opening a single port on your router.
Self-healing
Power settings, LaunchAgents and a health check mean jobs restart on their own and you know within a minute of a reboot whether everything came back.
Every script is dry-run by default, safe to run twice, and prints exactly what it would change before
you add --apply.
setup-power.sh
Never sleep, restart after a power failure or freeze, optional daily power-on. Read more
health-check.sh
After a reboot: what’s running, what isn’t, and why. PASS / WARN / FAIL. Read more
install-launchagent.sh
Turn any command — like a Cursor worker — into a job launchd keeps alive. Read more