Running always-on AI agents on a hosted Mac mini
An agent that works while you sleep needs a computer that never sleeps. This guide covers why people use a Mac mini for that job, what changes when the Mac lives in a data centre, and how to set macOS up to run unattended and safely.
Why give an agent its own machine
An AI agent that reads mail, runs code, drives a browser or watches a queue needs three things from its computer: it must stay on, stay connected, and be separate from the device that holds your personal files. A laptop fails the first two every time the lid closes. A Mac mini is small, quiet, draws little power when idle, and runs the same macOS apps and command-line tools you already use, which is why it has become a common choice for this job.
Home or data centre?
| Mac mini at home | Mac mini in a data centre | |
|---|---|---|
| Power and network | Depends on your home supply and broadband | Data-centre power and a shared 1 Gbps connection |
| Address | Usually changes, often behind your router | One fixed IPv4 address |
| Physical access | Any time | By request |
| Ongoing cost | Electricity | A monthly fee |
If the agent is a hobby, home is fine. Hosting makes sense when the agent does work that other people or systems depend on, when you travel, or when you do not want it on your home network at all.
Is 16 GB enough?
- Agents that call cloud models (the common case): yes. The Mac runs the agent framework, a browser, scripts and tools while the model runs elsewhere. Our rental machine, an M6 with 16 GB, fits this.
- Agents that run a local model: 16 GB only fits small models alongside everything else. For larger local models, buy a Mac mini with more memory and use the hosting plan, which accepts any configuration.
Set macOS up to run unattended
- Survive restarts.
sudo pmset -a autorestart 1boots the Mac after a power interruption andsudo pmset -a sleep 0stops it sleeping. - Start the agent with launchd. A LaunchDaemon, or a LaunchAgent for anything that needs a desktop session, with
KeepAliveset restarts the agent if it crashes and starts it at boot. Do not rely on a Terminal window left open. - Choose between auto-login and FileVault. Agents that drive desktop apps need a logged-in user, which means automatic login, which requires FileVault to be off. Agents that run purely from the command line can run as a daemon without anyone logged in.
- Know when it stops. Have the agent send a heartbeat to something outside the Mac, and write logs to a file you rotate. An agent that fails silently is worse than one that never ran.
Security for a machine with a public address
- Use SSH keys and turn off SSH password login. Reach screen sharing through an SSH tunnel or a private mesh network instead of exposing it directly.
- Run the agent as a standard user, not an administrator.
- Give it its own API keys with spending limits, and its own accounts where a service allows that. Do not sign it in to your main Apple Account or your password manager.
- Treat the machine as replaceable: keep the agent's code and configuration in a repository so you can rebuild from scratch.
What a data-centre IP means for an agent
Your Mac's address belongs to a data centre in Melbourne or Sydney. For calling model APIs, pulling code, sending mail and serving webhooks, that is exactly what you want. Some consumer websites treat data-centre addresses differently from home connections and may show extra verification. If your agent browses sites like that, test the workflow before you depend on it.
We do not offer residential IP addresses, and we do not provide or help with getting around the regional restrictions of any service. Use the AI services that are available to you under their own terms.
Which plan fits
Rent if you want to start without buying hardware or are still finding out whether the agent earns its keep. Host your own if you already have a Mac mini, or need more memory for local models.
Rent a dedicated M6 Mac mini for A$199 a month, or host your own for A$89 a month, ex GST, in Melbourne or Sydney. Either way you reserve with a A$50 deposit that is refundable at any time.
See plans and reserveLast updated 21 November 2026