The Problem

AI infrastructure is expensive. Cloud GPU instances cost $2-5/hour. API calls add up. Most AI projects burn through credits before producing value.

The Solution: Sovereign Infrastructure

Own the hardware. Run open-source models. Build your own communication backbone.

Architecture

Queen (orchestrator)
    │
    ├── NATS Server (message bus, TLS + auth)
    ├── CEREBRO (PostgreSQL agent registry)
    ├── Worker pool (multi-agent execution)
    └── Hugo Site (content flywheel on CF Pages)

Cost Breakdown

ComponentTechnologyCost
Message BusNATS (open source)$0
Agent RegistryPostgreSQL + pgvector$0
Worker Runtimesystemd on local GPU$0
Content PlatformHugo + Cloudflare Pages$0
File StorageGitHub$0
Total$0

Key Decisions

  1. NATS over Kafka/RabbitMQ — Lighter, faster, built-in auth, JetStream
  2. PostgreSQL over dedicated vector DB — pgvector extension, one DB for everything
  3. Hugo over WordPress — Static = fast = free hosting = no security holes
  4. systemd over Docker for workers — Simpler, auto-restart, no orchestration overhead

Scaling Model

Start with 1 queen + 1 worker. Scale to 7 direct workers. Each can manage 3 sub-workers.

DepthAgentsTotal
011
178
21321
33960

Result: 60-agent mesh. $0/month.