I gave an AI agent a KVM fleet to audit: 400 virtual machines on two hypervisors, with no SSH key and no password in any of them. With SSH to the hypervisors, the agent could inspect the guests whose QEMU guest agent answered and allowed execution. Some guests were deliberately unavailable. Then it wrote parsers for the data it brought back. When the fleet changed, it ran the parsers again.

I built hauntty so the agent can ask the fleet a question instead. It gets back the machines that match, and next to them the machines it could not inspect. That second list matters on call. If a guest never answered, I want to know that before I tell anyone its services are healthy.

The Same Audit, Two Ways

On this audit the same model, Claude Opus 5.5, averaged $2.04 and 623 seconds per run over plain SSH. With hauntty it averaged $1.25 and 374 seconds. The audit scores were comparable: 85, 86 and 85 of 86 over SSH, and 86 three times with hauntty.

Mean model cost fell from $2.04 to $1.25 and mean elapsed time from 623 to 374 seconds. Dots show the individual runs.

One lab audit, three runs per approach. I tuned the release candidate on this task. One of the two hosts ran an older daemon. With three runs per arm, the smallest p-value the exact test can give is 0.10.

The finding that surprised me is where the difference came from. Both approaches reached the fleet about equally often, and by the same route. The SSH agent spent its extra calls back at its own terminal, collecting raw output into files, then writing and rerunning its own parsers over them. The hauntty agent asked for answers. The six runs, the conditions and the limits are in the measured results.

Try One Question

I have released hauntty v0.11.4 under Apache-2.0. Install hauntty and try the sample: the repository carries a small synthetic fleet, so one question works offline, with no host to connect to. Ask it which units failed, and which machines could not be checked.

If you try that question on your own fleet, I would like to hear what the answer missed.