Skip to content

Requirements

Before installing Sanctum, make sure your environment meets the following requirements. The platform is designed for Apple Silicon Macs, with a Linux VM handling specific workloads. Yes, you are running an entire intelligence platform on a desktop computer the size of a sandwich. We will not apologize for this.

Inside the Mac Mini — every layer has a job

You will need a Mac Mini. The whole Mac Mini. Not an old one in a drawer — a current-generation Apple Silicon Mac Mini that you are prepared to leave running in a closet, silently orchestrating your domestic life like a very small, very expensive butler.

ComponentMinimumRecommended
ChipM4M4 Pro
RAM16 GB32 GB+
Storage256 GB internal1 TB+ internal
NetworkGigabit EthernetGigabit Ethernet

An external drive is useful for offline knowledge bases (Kiwix), media libraries, and backups. Any USB-C or Thunderbolt drive will work. There is no strict performance requirement since these workloads are not latency-sensitive. Even your data gets to relax sometimes.

For multi-site deployments, satellite nodes can run on any Apple Silicon Mac. An M1 Mac Mini with 16 GB is sufficient for a satellite. If you are the kind of person who has multiple homes and wants AI agents in all of them, congratulations on both your real estate portfolio and your commitment to unnecessary complexity.

Install the following before proceeding to the installation guide. This is the part where you open Terminal and pretend you are in a movie.

SoftwareVersionInstall
macOSmacOS 15 Sequoia minimum (26 Tahoe recommended)System update
HomebrewLatestbrew.sh
Python3.12+brew install python
Node.js22+brew install node or via fnm
Docker DesktopLatestdocker.com
LimaLatestbrew install lima (runs the Ubuntu VM on Apple Virtualization)
socket_vmnetLatestbrew install socket_vmnet (host-only Mac↔VM bridge)
GitLatestbrew install git (or Xcode CLI tools)

When creating the Ubuntu VM with Lima, use these settings:

SettingValue
BackendLima (vmType: vz, Apple Virtualization)
CPU cores4
Memory8 GB
Disk100 GB
Bridge networkHost Only via socket_vmnet (vmnet host mode)
InternetNAT interface, managed by Lima

The VM carries two interfaces. A host-only bridge (lima0) puts the Mac at 10.0.0.1 and the VM at 10.0.0.10 — that private wire is how every agent on the VM reaches services on the hub. A second NAT interface gives the VM its own outbound path to the internet for apt and git. Not solitary confinement, then; more like a studio apartment with one locked door to the haus and one window to the outside world.

These are not required for a basic installation but enable additional capabilities. Think of them as side quests.

A Firewalla in Router mode provides network-level security, DNS management, and device monitoring. The hub runs a Gold Pro, but any Router-mode Firewalla works. Sanctum includes a bridge service that talks to it over its P2P API on port 8833.

If you do not have a Firewalla, Sanctum will still function. Network management features will simply be unavailable, and you will have to monitor your network the old-fashioned way: by not monitoring it at all and hoping for the best.

Tailscale provides secure mesh networking between nodes. It is required for multi-node deployments (hub + satellite) and strongly recommended for remote access to your hub.

Install Tailscale on each node:

Terminal window
brew install --cask tailscale

A domain managed through Cloudflare enables secure public access to specific services (such as the Home Assistant dashboard or health endpoints) via Cloudflare Tunnel. The free Zero Trust plan is sufficient.

Local OpenAI-compatible inference (port 1234)

Section titled “Local OpenAI-compatible inference (port 1234)”

Sanctum expects a local OpenAI-compatible model server on port 1234, used as a primary or fallback provider. LM Studio is the easy on-ramp — install the app (or its lms CLI) and point it at :1234. The running hub currently serves that port with mlx_lm.server instead, a workaround for a cathedral bug from May 2026; the provider behind the socket is interchangeable as long as it speaks the OpenAI API on 1234.

These iOS apps integrate with Sanctum services on the hub.

AppPurposeRequired
Home Assistant CompanionHA remote control, presence detection, notificationsYes
Health Auto ExportPush Apple Health data to health ingesterIf health monitoring enabled
TailscaleVPN mesh access to hub from anywhereRecommended

Sanctum expects the following network layout:

Internet
|
Modem / ONT
|
Firewalla WAN (Router mode)
|
LAN (192.0.2.0/24, gateway .1)
|-- Mac Mini (.10) -- Host Only bridge (10.0.0.0/24) -- Ubuntu VM (.10)
|-- Orbi / Wi-Fi AP (AP mode)
\-- Smart devices, speakers, etc.

Before moving on, confirm you have the required tools installed:

Terminal window
# Check macOS version
sw_vers
# Check Homebrew
brew --version
# Check Python
python3 --version
# Check Node.js
node --version
# Check Docker
docker --version
# Check Lima (runs the VM) and socket_vmnet (the host-only bridge)
limactl --version
which socket_vmnet

If all of those commands returned something other than an error, you are ready. If any of them failed, fix it now. The installation guide is patient, but it will not hold your hand through missing dependencies.

Once everything checks out, proceed to Installation.