Skip to content

What Is Sanctum?

Sanctum is an intelligent home platform that unifies home automation, AI agents, network management, voice control, and family tools under a single, config-driven system. It is built for technical families who want deep control over their home infrastructure without stitching together dozens of disconnected services.

Modern smart homes are a patchwork. Home Assistant handles automation. A separate NAS manages storage. Network monitoring lives in yet another app. AI assistants are cloud-dependent black boxes. Each tool has its own config, its own auth model, and its own failure modes. When something breaks at 2 AM, you are debugging five different systems.

Sanctum brings these layers together into a single managed platform running on hardware you own.

Home Automation

Home Assistant runs as a Docker container on your Mac, with full LAN access to Sonos, HomeKit, and smart devices.

AI Agents

Specialized agents handle security monitoring, energy efficiency, family health tracking, and financial oversight, each with dedicated models and skills.

Network Management

Firewalla integration provides firewall rules, DNS policy, and network topology from within the platform.

Voice Control

Yoda, the voice agent, uses XTTS-v2 for local text-to-speech on Apple Silicon MPS GPU. No cloud dependency for voice.

At the core of Sanctum is a single YAML configuration file (instance.yaml) that describes your entire deployment: which services are enabled, what ports they bind to, which nodes exist, and how secrets are managed. Every script, LaunchAgent, and dashboard panel reads from this one source of truth.

The hub is the primary node. It runs on an Apple Silicon Mac Mini and hosts:

  • The Sanctum gateway and dashboard
  • Home Assistant (Docker)
  • AI agent gateway and specialized agents
  • Local LLMs via MLX and LM Studio
  • XTTS voice synthesis server
  • Cloudflare tunnel for secure remote access

The name means sacred inner chamber — and the mark literalizes it. A dark square holds an amber diamond at its center: the thing you care about most, inside the thing strong enough to protect it.

In a year when every major platform is racing to ingest personal data for model training, the idea of a private inner chamber has moved from metaphor to survival strategy. Sanctum runs on your hardware, in your home, answering to no one’s servers. The amber is deliberate — firelight, candlelight, the oldest color of someone is home. Set against dark slate, it becomes a hearth inside architecture. Domesticity, not disruption.

Two shapes. Two colors. No gradients, no glowing orbs, no neural-network illustrations. In an era of AI-generated visual noise, restraint is the position statement.

Every service, port, path, and integration is declared in ~/.sanctum/instance.yaml. There are no scattered .env files, no hardcoded usernames in scripts, no magic constants. When you change a port number, you change it in one place.

Sanctum supports hub, satellite, mobile, and sensor node types. Your primary home is the hub. A vacation house runs a satellite. Your laptop is a mobile node. Each node knows its role and adjusts its services accordingly.

A watchdog process monitors over 20 services every 10 minutes. When it detects a failure, it attempts automatic remediation using the service-doctor skill before alerting you. Most issues resolve without human intervention.

API tokens and credentials are stored in macOS Keychain (on the Mac) and SOPS-encrypted files (on the VM). A monthly rotation job generates new tokens, updates Keychain entries, re-encrypts SOPS files, and restarts affected services.

Large language models run locally via MLX (Apple Silicon optimized) and LM Studio. Cloud APIs are available as fallbacks with automatic failover, but the system is designed to operate entirely on-premises when needed.

Sanctum is designed for technically inclined households that want:

  • Full ownership of their home intelligence stack, running on their own hardware.
  • Deep customization through config files, shell scripts, and agent skills rather than drag-and-drop UIs.
  • Privacy by default, with local LLMs, on-device voice, and no mandatory cloud services.
  • Multi-site support for families with more than one home.

If you are comfortable with a terminal, YAML files, and the occasional launchctl command, Sanctum will feel natural.

Ready to get started? Check the Requirements to make sure your hardware and software are in order, then move on to Installation.