I asked my homelab agent on WhatsApp for a Docker-ready server. About six minutes later, it had created the container, installed Docker, configured DNS and reported back. My own checks confirmed the result. During that same run, it also rewrote an earlier entry in its change log. The correction was justified, but the ability to edit its own history made me look harder at what I was calling supervision.
I don't hand out root lightly. Every new service in my lab means the same chores: create a container, patch it, install Docker, add a DNS record, take a snapshot and write it down somewhere. I configured Hermes Agent, from Nous Research, to do that work from a small LXC container on my Proxmox cluster. The interesting part is how much of the surrounding judgment it can handle, and which decisions still need a firmer boundary than an instruction to behave.
The Hermes project page has the narrated recording. This is one selected successful run after ten earlier practice attempts, not a first-try reliability test. It gives us a completed server, an inspectable sequence of decisions and enough token data to see where the model's work went.
The pieces
I think about the system in four layers: a channel, a brain, a pair of hands and a set of rails.
The channel is WhatsApp. Hermes has a gateway that receives messages and routes each chat to a profile. My direct messages go to a profile called homelab; my family uses a different profile for calendars and lists. In my setup, the profiles have separate instructions, memory and sandboxes, and infrastructure credentials are mounted only into the homelab sandbox. That separation matters, but a profile name alone is not an operating-system security boundary.
The brain is the model plus its instructions. The homelab profile runs gpt-6-luna through a Codex subscription, so the supplied usage record has no per-token invoice. Those counts describe this session; they are not a dollar-cost estimate. Its instructions describe the lab, the tools and the rules of engagement in plain language. Hermes keeps a session store in SQLite, compresses context when a conversation gets long, and can load skills (reusable procedures it wrote or I wrote) when a task matches one.
The hands are a Docker sandbox built for this job. The Docker terminal backend starts shell commands there. Those commands can then reach other machines over SSH. The container runs on the host network, drops all Linux capabilities and adds back only a handful, including the raw socket ones nmap needs. It gets two mounts. /lab is read-write and holds the working state: an inventory file that's the source of truth for the lab, a change log, runbooks and backups. /secrets is read-only and holds API tokens and the agent's SSH key. The agent is told never to print anything from it. Read-only prevents modifying the mounted files; it still lets the agent use the credentials and reach the infrastructure they authorize.
The approval policy and change log are how I supervise that access.
What my yes authorizes
The center of it is a small CLI called lab. It wraps three APIs (Proxmox, OPNsense and Technitium) behind one interface: lab pve GET /cluster/resources, lab opn GET /api/diagnostics/interface/getArp, lab dns GET /api/zones/list. Reads go straight through. Any write is refused unless the call carries --confirmed "<what the human approved>", and every confirmed write is appended to /lab/changelog.md with the service, the method, the path, the HTTP status, the request body and the approval text. It also takes OPNsense and Technitium backups on demand.
The confirmation text is supplied by the agent. The CLI does not independently establish that a human approved the operation, and raw SSH or direct API calls can bypass it. The instructions add the policy:
- Reads are always allowed. The agent is expected to look before it acts: inventory first, then the live APIs.
- Any change starts with an exact plan (what, where, the values, the expected effect, the risk, the rollback) and a question: "Apply? (yes/no)". One yes covers only the plan that was shown.
- Back up OPNsense or Technitium before changing them, and offer a Proxmox snapshot before anything risky.
- Never create a firewall rule that could cut the management path between the agent and the firewall, DNS or Proxmox. Use OPNsense's savepoint flow for firewall changes. This provisioning run did not change firewall rules or test that rollback path.
- Deleting a VM, container, storage or zone needs a separate yes that names that exact object.
- Changes made over SSH, which the CLI can't see, get a change log line written by the agent right after the step.
Hermes also has a per-command approval layer of its own, with three modes: manual, smart (a second model call decides whether a command is risky enough to ask about) and off. Smart mode is useful but not deterministic, since the same task produces differently worded commands from run to run. For the provisioning run below it was off, and the plan approval was the human gate.
It's a change advisory board for one person: a written plan, an explicit approval and a record of the work. Having the agent prepare the plan makes this easy to use. But a plan approval and an audit record need different protections. The first determines what may happen; the second needs to preserve what did happen.
That distinction showed up during the build. After a context compression, Hermes rewrote an earlier change-log entry from "49 packages upgraded" to "completed successfully". The retained command output did not support the package count, so removing it was a correction. The sequence does not prove compression caused the edit. It does prove the agent can rewrite its own history. I want corrections appended as new entries, with the original retained, and a log destination the agent cannot rewrite.
One message, one server
The request was for an unprivileged Debian 13 container with Docker, key-only SSH, DNS and a baseline snapshot. It named an existing app container as the network reference and specified the resources and checks listed below.
It started with reads. It pulled cluster resources to find the next free VMID, read the reference container's network config, listed the templates and storage on the target node, checked the DNS zone for an existing record, and looked for the target IP in the firewall's ARP table and DHCP leases. About 70 seconds after the message it sent back a plan with every value filled in and stopped to wait.
The plan also said the IP check was inconclusive: finding no ARP entry, DHCP lease or ping reply does not establish that an address is free. A machine can be silent and still own that address. It asked me to confirm availability and reply yes. I replied only "yes", and the agent proceeded. The build worked, but that reply did not resolve the ambiguity. An explicit reservation check belongs before creation.
After the yes, the build went through SSH as root on the Proxmox node, using pct. That's deliberate. Setting keyctl on a container is reserved for root@pam in Proxmox, and the agent's API token is a scoped token, not root. The API token stayed scoped, but root SSH gave the agent broad hypervisor authority. That is a substantial privilege, even when the instructions require it to log each change. The public key went into a temp file on the node, got passed to pct create --ssh-public-keys, and was deleted right after.
Everything inside the container ran through pct exec from the hypervisor: the upgrade, the Docker repository setup, the install, the hello-world test, and an sshd config change for key-only login. This Debian 13 guest used socket activation for SSH, so the agent validated the config with sshd -t and left ssh.service alone. After validating SSH, it created the baseline snapshot. The DNS work went through the lab CLI: backup first, then the record, then a read-back. The inventory edit and final verification followed.
One detail I like a lot: the agent never logged into the server it built. The only key on that box is mine, and all of its work went through the hypervisor. That avoids installing the agent's SSH key in the guest. It still retains access through the hypervisor. I verified the result myself afterwards with dig against my DNS and an SSH login with my own key. The recording shows that login and another successful hello-world run. It does not show a rejected password login; the agent checked the SSH configuration and its syntax.
Not everything went cleanly inside the run. One of its edits to the inventory file failed because the lines it expected weren't there. It sent a corrected edit about thirteen seconds later and moved on, without another message from me. A script can also handle expected failures; this was a useful recovery from an edit the agent had generated incorrectly.
The numbers
From the WhatsApp request at 20:43:49 UTC to the summary at 20:50:03 took about 6 minutes 14 seconds. The full recording is 8 minutes 57.5 seconds, including typing and my independent check. The narrated edit accelerates waits and labels playback speeds and held frames.
The supplied usage log continues through 20:50:31. It records 29 model calls through the summary, then three more calls during post-summary work. Its 32-call total should not be presented as the cost of reaching the summary alone.
| Phase | Model calls | Input tokens | Output tokens |
|---|---|---|---|
| Preflight and plan | 7 | 185,063 | 2,296 |
| After approval through summary | 22 | 936,759 | 7,482 |
| After summary | 3 | 162,210 | 1,120 |
| Whole logged session | 32 | 1,284,032 | 10,898 |
The full logged session totals 1,294,930 tokens and about 279 seconds of reported model-call latency. That latency includes the post-summary calls and is not a clean breakdown of the six-minute provisioning time. The supplied session export contains 33 tool calls: 21 terminal commands, three file reads, three patches, two task-list updates, and four skill lookups. Tool calls and model calls count different things.
Input accounts for 99.2% of the logged tokens. Repeated instructions, conversation history and command output make the input much larger than the responses, which average about 341 output tokens per call. The largest call carried 56,582 input tokens. Context compression means later requests need not contain the entire original conversation. These are accumulated token counts, not unique text or a measurement of cache savings.
The per-call CSV makes the accounting inspectable. The earlier practice attempts and a safety-reviewer model are excluded; that reviewer was off for this take.
Supporting configuration
The lab has a four node Proxmox cluster, an OPNsense firewall, Technitium for DNS, TrueNAS, a Synology, managed switches, a few VLANs and a dozen or so containers and VMs. The sandbox image carries nmap, arp-scan, dig, mtr, traceroute, tcpdump, snmpwalk, curl and jq, plus Python with requests, proxmoxer and paramiko.
The provisioning request specified:
- an unprivileged Debian 13 LXC called
workon a specific node, next free VMID, 4 cores, 8 GB of RAM, 2 GB of swap, 64 GB on ZFS, withnesting=1,keyctl=1so Docker runs inside it - the same bridge, VLAN and firewall setup as an existing app container, a static IP and a search domain
- root SSH locked to one public key, password login off, validated with
sshd -t apt full-upgrade, then Docker CE and the Compose plugin from Docker's repository, tested withhello-world- a Technitium backup and an A record for
work.home.thelatentsource.com - a snapshot called
baseline-docker, an inventory update and a change log entry per step
Where I land
Hermes wrote a shell script for this exact job afterwards. For a fixed, repeatable build, that is a simpler way to run the commands. What I get from the agent is the reasoning around the commands: it reads the real state of the lab before acting, fills in values I didn't spell out by looking at an existing container, uses the requested SSH path where the scoped API token lacks permission, recovers from its own small mistakes, and leaves a record that I can audit. For a homelab that keeps changing, that's worth more than raw speed.
I'm keeping the yes. Reviewing a concrete plan is useful supervision, and this run shows why the review has to settle the open questions: my approval did not establish that the IP address was available. The next changes are to check reservations before creation, enforce approval outside the agent's own command text, and send audit events to a destination where it can append corrections without replacing earlier entries.
The narrated project recording shows the successful build, its patch error and my independent check. Hermes handled the provisioning work and adapted when its own edit failed. That is useful autonomy. I want the same flexibility inside a system where permission comes from the operator and the history survives the agent's next correction.
