The practical takeaway first: you can run a persistent, multi-agent AI coding setup at home for under $400 in hardware, with no cloud subscriptions, no vendor lock-in, and meaningful security isolation between your agents and your infrastructure. One developer has done exactly that and documented the full stack.
Hardware and virtualization baseline The foundation is a refurbished Dell Optiplex Micro 7010 — a compact, low-power machine — fitted with a 13th-gen Intel Core i5-13500T and 32 GB of RAM. It runs Proxmox bare-metal, managed alongside an existing Lenovo ThinkCentre Tiny via Proxmox Datacenter Manager. Each project gets its own VM, intentionally disposable: if an agent corrupts or hijacks one, you destroy it and reprovision in minutes.
Network isolation that actually limits blast radius Rather than running everything on a flat network, the setup uses two primary VLANs: one (srv) for supporting services like Git and CI/CD, one (dev) for the agent VMs. Firewall ACLs between them are minimal and explicit — dev machines can reach only the services they need. A rogue or compromised agent can enumerate other VMs in its own VLAN at worst; it cannot reach management interfaces for CI/CD or other infrastructure. The CI/CD runner lives in a third, fully isolated VLAN, since it executes arbitrary downloaded code. DNS and DHCP are handled internally by Technitium, with a dnsmasq relay bridging the VLAN boundary for DHCP broadcasts.

Self-hosted services stack Git hosting and CI/CD run on Forgejo with Forgejo Actions (GitHub Actions-compatible). Deployments are intentionally separated from CI: deploy secrets live in Semaphore UI, triggered by a webhook from Forgejo only after a human-reviewed merge to main. This prevents an agent from crafting a workflow that exfiltrates SSH keys — a real attack vector when agents have write access to a repo. API keys and other secrets are proxied through Infisical's agent-vault, running as its own LXC container in the srv VLAN. Agent VMs never hold secrets directly; requests that bypass the proxy simply fail.
Automated provisioning via `kamino` A custom CLI tool called kamino orchestrates VM creation end-to-end: it calls Proxmox cloud-init templates, runs Ansible for further configuration, creates a scoped bot user in Forgejo with per-repo access, and populates the agent-vault with secrets pulled from a local password manager. Dotfiles are synced via chezmoi, so every new VM arrives pre-configured with the developer's tmux layout and tooling. Zero manual steps inside the VM.
Agent orchestration and task harness A tmux-based dashboard (keyboard shortcut prefix J) shows all active VMs, their sessions, and what each Claude Code instance is currently doing. For issue-driven work, a custom webhook listener called tipoca watches Forgejo for label changes — labels like stage/research, stage/plan, and stage/implement control the agentic workflow. Each issue spawns a dedicated tmux window with Claude in a Git worktree; if the VM reboots, the session resumes via claude --resume against the stable issue ID. Periodic/recurring jobs are defined as Markdown files with cron patterns under .agents/jobs/ in the repo. Critically, these scheduled jobs run under a separate Linux user without sudo or Forgejo API access — because they may process untrusted external input (e.g., Sentry alerts) and carry higher risk than human-authored issues.
What builders should take from this The architecture decisions here are transferable even if you don't replicate the full stack. The key principles: treat agent VMs as cattle not pets (automate provisioning completely), never let agents hold secrets directly (proxy everything), isolate CI runners from the rest of your network, and separate deployment credentials from build credentials. The hardware cost is low enough that this is within reach for any serious builder — the investment is in the automation scaffolding, not the machine.
