Running an AI-managed home lab without giving agents SSH access
SamSausages · reddit · 2026-12-03
A Reddit user shares an architecture for letting AI agents manage a home lab without SSH access:
- Netbox as inventory (via API), storing all hardware, software and IP/port mappings, used to generate firewall rules
- Ansible as controller: the agent gets read access, drafts playbooks, and a human approves and deploys
- Proxmox as hypervisor, OPNsense as gateway
- Openbao issues short-lived scoped credentials when the agent needs a password or API key
- Graylog logs are also only scoped-accessible
The agent even built a small tool that generates firewall rules from the Netbox inventory. The core idea: agents can read and propose config changes, but every mutation goes through APIs and an approval flow — no raw shell exposure.
More from coding & agent
- Follow-up: the 50-question Claude skill aligns the model with your messy reasoning better — Aryvyo · 2026-12-03
- Dev writes a Claude skill that interrogates him with 50 questions to map out requirements — Aryvyo · 2026-12-03
- usb-rea: open-source USB reverse engineering that auto-generates pyusb drivers for Linux — mathemagie · 2026-12-03
- Dev ditches Claude for open models, logs agent traces with funes into a distillable HF dataset — art_zucker · 2026-12-03
- A confirmation email that fired once in 15 runs: logging reproduction counts instead of pass/fail — Kodenstudio · 2026-12-03
- Hatchet open-sources Brickie: durable agent sandboxes in your own Kubernetes cluster — JeremyCMorgan · 2026-12-03