← Back to Case Studies
Nov 2026Director — Cloud & Infrastructure Architecture & Principal Agentic AI Architect

Sovereign Datacenter Fleet & Autonomous Agent Platform: 16-Node Bare-Metal & Talos K8s Control Plane

16/16 bare-metal & Talos K8s endpoints online, 5x parallel builder velocity, zero DLP breaches, and 97% lower recurring opex than managed public cloud.

#Agentic AI#Kubernetes#Talos#Proxmox#OpenTelemetry#eBPF#case-study

“Running autonomous multi-agent systems purely on rented public cloud APIs without hardware isolation, local telemetry, or pre-execution DLP gates is an operational hazard. We built a 16-node sovereign bare-metal and Talos Kubernetes fleet where every agent tool call is governed like a kernel syscall.”

1. The Problem

When autonomous AI agents transition from chat assistants to infrastructure operators—executing shell commands, refactoring code across parallel worktrees, running security audits, and querying internal knowledge bases—rented public SaaS sandboxes break down on three fronts:

  1. Observability Blind Spots Across Multi-Agent Trajectories: Traditional APM tools monitor HTTP status codes and container CPU, but cannot reconstruct causal parent-child reasoning graphs, subagent delegation trees, or per-step token burn when an orchestrator dispatches five parallel builder agents.
  2. Unbounded Blast Radius & Credential Exposure: Giving an autonomous coding or SRE agent raw shell access on a shared host risks accidental destructive commands (rm -rf, force-pushes to main, or leaking secrets into outbound LLM context windows).
  3. Runaway Public Cloud Compute & API Bills: Keeping persistent evaluation environments, vector indexes, and Kubernetes control planes running 24x7 on hyperscaler managed services incurs thousands of dollars per month in idle control-plane and NAT gateway charges.

We needed a Sovereign Agentic Infrastructure Platform—a self-hosted, bare-metal and immutable Kubernetes datacenter fleet capable of running multi-provider agent swarms with deterministic network isolation, eBPF kernel enforcement, OpenTelemetry causal tracing, and zero-trust clean-room guardrails.


2. The Constraints

  • Zero-Shell Immutable Compute Tier: The Kubernetes cluster hosting production agent services and observability pipelines could not run conventional SSH-managed Linux distributions susceptible to configuration drift or privilege escalation.
  • Strict Clean-Room DLP & Pre-Execution Gates: Every agent tool invocation (shell execution, file write, git commit, outbound prompt) had to pass through a deterministic policy gate capable of blocking destructive flags and scanning diffs for secrets in <15ms.
  • 100% Deterministic L2/L3 IPAM & Power Governance: The physical fleet—spanning MikroTik BGP/OSPF routing, a 24x7 Raspberry Pi Edge Vault, Proxmox VE hypervisors, 3-node Talos Linux Kubernetes, and disposable red-team evaluation VMs—had to operate within a strict thermal and power envelope with automated smart-switch telemetry.
  • Cross-Family Verification: High-impact architectural or security-path changes required independent critique by a distinct model family before human merge approval.

3. Architecture & Key Decisions

We architected a 4-tier Sovereign Fleet combining physical MikroTik routing, Proxmox VE 9 virtualization, an immutable 3-node Talos Linux Kubernetes cluster, and a deterministic host guardrail layer:

flowchart TB
    subgraph Edge["Tier 1: Deterministic Network & 24x7 Edge Vault"]
        MT["MikroTik RouterOS Gateway<br/>Static IPAM (170 Endpoints) & BGP"]
        RP1["RP1 Edge Vault (.11)<br/>24x7 SRE Watchdog · Tailscale mTLS · Vault"]
        MT --> RP1
    end

    subgraph Hypervisor["Tier 2: Bare-Metal Virtualization (Proxmox VE 9 .21)"]
        PVE["Proxmox VE Hypervisor<br/>ZFS Storage · 3-2-1 Off-Box Backups"]
        VM120["Disposable AI Range VM (.25)<br/>Clean-Room Spikes & Red-Team Evals"]
        PVE --> VM120
    end

    subgraph K8s["Tier 3: Immutable Talos Linux Kubernetes (.15–.19)"]
        Talos["3-Node Talos K8s Control Plane<br/>API-Driven OS · Zero SSH · Cilium eBPF"]
        Phoenix["Arize Phoenix v21 (:6006)<br/>OpenTelemetry OTLP Trace Collector"]
        Talos --> Phoenix
    end

    subgraph AgentOS["Tier 4: Provider-Neutral Agentic Control Plane"]
        Guard["Pre-Execution Policy Gate<br/>Syscall/Shell Guard & Clean-Room DLP"]
        Slots["5 Isolated Builder Worktrees<br/>Lease-Based Profile Pool & Cross-Family Critic"]
        Guard --> Slots
    end

    MT --> PVE
    PVE --> Talos
    Slots -->|OTLP Spans| Phoenix

Decision 1: Talos Linux over Traditional Ubuntu/RHEL Kubernetes Nodes

Instead of managing Ubuntu nodes with Ansible and SSH keys, we deployed a 3-node Talos Linux Kubernetes cluster (.15–.19). Talos removes sshd, bash, and package managers entirely from the host OS; the entire operating system is an immutable squashfs image managed exclusively via mTLS gRPC APIs. Even if an untrusted container workload escaped its runtime, there is no shell or package manager on the node to pivot through.

Decision 2: Deterministic Pre-Execution Guardrails (agent-guard) Over Prompt Instructions

Telling an LLM in its system prompt “never force-push to main or delete outside the workspace” is a probabilistic wish, not a security control. We implemented a deterministic pre-execution policy engine (agent-guard) injected as a mandatory hook before every tool call:

# Deterministic pre-execution guardrail enforcing branch & path isolation
from pathlib import Path
import re
import sys

FORBIDDEN_PATTERNS = [
    (r"git\s+push\s+.*--force(?!-with-lease)", "Force-push without --force-with-lease is blocked."),
    (r"git\s+add\s+(-A|--all|\.)", "Stage explicit file paths; blanket git add is blocked."),
    (r"rm\s+-[rRf]+\s+(/|~|\$HOME|\.\.)", "Recursive deletion outside bounded workspace is blocked."),
]

def verify_command(cmd: str, cwd: Path, active_branch: str) -> tuple[bool, str]:
    if active_branch == "main" and re.search(r"\bgit\s+commit\b", cmd):
        return False, "Direct commits to main in code repositories are denied."
    for pattern, reason in FORBIDDEN_PATTERNS:
        if re.search(pattern, cmd):
            return False, reason
    return True, "ALLOW"

Decision 3: OpenTelemetry Causal Tracing with Arize Phoenix

We deployed Arize Phoenix on the Talos cluster (.15:6006) ingesting OpenTelemetry (OTLP) spans from agent runs. Every goal dispatch records the parent architectural spec, subagent slot lease, model family, latency breakdown, and token count—turning opaque multi-agent runs into queryable distributed traces.


4. Failure Modes & What Went Wrong

Incident 1: Shell Variable Expansion in Unquoted Heredoc Writes

  • What Happened: Early in fleet testing, an autonomous builder agent attempted to write a markdown documentation file containing backticks and $(...) command examples using cat <<EOF > file.md inside a bash tool call. Bash evaluated the subshell expressions inside the unquoted heredoc before writing the file.
  • Root Cause: Allowing file creation through raw shell interpolation exposes the host to unintended command execution whenever markdown or code snippets contain shell metacharacters.
  • Architectural Fix: We banned shell-string file writes (echo >, cat <<EOF, python -c) in the pre-execution policy gate and mandated structured file-write APIs for all mutations, backed by automated ZFS snapshots and Time Machine recovery playbooks.

Incident 2: Interactive Session Quota Exhaustion During Parallel Wave Builds

  • What Happened: Running five concurrent builder subagents from a single interactive desktop session rapidly exhausted per-account rate limits, stalling the coordinator session mid-review.
  • Root Cause: Sharing one credential pool between the interactive architect interface and high-throughput background builders created head-of-line quota contention.
  • Architectural Fix: We decoupled the interactive Coordinator session from 5 dedicated builder worktree slots (agy-a through agy-e) backed by an automated lease pool (agy-pool) that rotates isolated worker profiles with 0400 credential hardening and automatic cooldown probing.

5. Measurable Outcomes

Metric Rented Public Cloud / Ad-Hoc Agents (Before) Sovereign 16-Node Agentic Fleet (After) Impact
Active Datacenter Endpoints Ad-hoc VMs with manual IP tracking 16/16 core endpoints & 170 IPAM leases 99.99% local control-plane availability
Destructive Command Escapes Relied on LLM prompt compliance 0 escapes (deterministic pre-exec hook) 100% hard-blocked before syscall
Clean-Room DLP Leaks Manual PR inspection 0 leaks across all repos & model calls Automated pre-commit & prompt scanning
Parallel Builder Throughput 1 sequential agent (quota-bound) 5 isolated worktree slots per repo 5x parallel wave execution velocity
Monthly Idle Cloud Spend ~$1,400/mo (managed K8s + NAT + SaaS APM) <$35/mo (smart-switch governed bare-metal) 97% reduction in recurring infra opex

6. First-Principles Takeaway

An AI agent is an untrusted user-space process with a natural-language CPU.

Do not invent new excuses for old failure modes. An agent hallucinating a destructive command is no different from a buggy cron script running as root; an agent leaking corporate IP into an external prompt is no different from unauthorized BGP route leaking. When you govern autonomous agents with the same first-principles primitives that secure datacenters—immutable Talos OS nodes, capability-attenuated worktrees, deterministic pre-execution syscall gates, and OpenTelemetry distributed tracing—you can run high-velocity autonomous engineering fleets with zero operational fear.


Architecture and decisions: mine. Debugging sessions at odd hours: mine. AI assistance: structure, syntax, first draft. — Sachin

⚡ Theme Adaptive Shift
Switching layouts matching domain reading affinity...