Live data from Hacker News

Safe YOLO Mode: Running LLM agents in vms with Libvirt and Virsh

metachris.dev

1–10 of 11 posts

Re: Safe YOLO Mode: Running LLM agents in vms with Libvirt and Virsh

#2
Whilst it is safer to run inside a Vm/container, it doesn't make it safe.

Yes, having your entire filesystem deleted is much less likely now (bonus points for zfs snapshots of the image for each operation) Your context is still vulnerable, as anything the VM has access too.

Re: Safe YOLO Mode: Running LLM agents in vms with Libvirt and Virsh

#5
For no special reason, beside I could, I’ve slop coded this AI agents ephemeral VM orchestrator which I use inside any agent to manipulate and maintain my coding VMs on Proxmox. Probably it could make sense to simplify it further and move from Proxmox to something like this. Link: https://github.com/nibzard/agentlab

Re: Safe YOLO Mode: Running LLM agents in vms with Libvirt and Virsh

#8
post #7

The comparison between these and lima makes me think that it's AI generated

I've had LLMs assist me in putting together the comparison. I did edit it, and found the comparison good and wanted to keep it. The rest of the post is all hand written and thoroughly manually tested.

Re: Safe YOLO Mode: Running LLM agents in vms with Libvirt and Virsh

#10

Whilst it is safer to run inside a Vm/container, it doesn't make it safe. Yes, having your entire filesystem deleted is much less likely now (bonus points for zfs snapshots of the image for each operation) Your context is still vulnerable, as anything the VM has access too.

Good point! Running in isolation does reduce the amount of sensitive things an LLM has access to though, which typically can be quite a lot (SSH keys, Cloud credentials, communication tools, etc.)
Post reply on HN