For those looking to run agents: the short lifecycle of the typical “sandbox” seems surprisingly limiting to me. I have no actual workflow where I want one of these products. Sometimes a VM can live for 30 minutes, but it also might need to live for a month, and I don’t know beforehand. This is why I have been avoiding the word sandbox for exe.dev. I don’t think developers agents need something “sandbox” shaped.
MicroVMs: Run isolated sandboxes with full lifecycle control
171–180 of 222 posts
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#172Earlier quoted context omitted.
Setting up your own is not that hard and if you bought some compute before the Altman squeeze, very cheap.
Def! My personal belief is that the future of an "app" is a combo: 1. micro VM 2. agent on the VM 3. software bundled into the VM So, it should be stupid simple to run these local sandboxed apps/agents. Right now, not too hard for technical users (esp. with things like https://smolmachines.com/ and https://microsandbox.dev/ ), but not as easy as clicking an app icon or typing `/path/to/binary` in the CLI
also have support for lima/colima/podman
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#173Earlier quoted context omitted.
Why is it that you claim limits are unworkable? If you can track or enforce it (others have been for years) then couldn't you make it an optional field or checkbox?
Every limit is a commanded outage. We can refund an unexpectedly high bill. We can't refund downtime.
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#174what is the trend right now on mac to run microvm? I am using OrbStack.. is anything micro than this?
Important is to isolate tasks from each other. Example: for work related tasks I let the agent access Datadog or Docker socket. Everything else does not have access to these.
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#175Earlier quoted context omitted.
Yeah, I'm surprised Justin posted this like it was new(s). Wasn't it doing the rounds on the 22nd when it launched?
I didn't post it 3 hours ago, it must have gone through the magic HN re-up process.
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#176For those looking to run agents: the short lifecycle of the typical “sandbox” seems surprisingly limiting to me. I have no actual workflow where I want one of these products. Sometimes a VM can live for 30 minutes, but it also might need to live for a month, and I don’t know beforehand. This is why I have been avoiding the word sandbox for exe.dev. I don’t think developers agents need something “sandbox” shaped.
Yeah I have some stuff which is supposed to be “there” for months with the agents continually moving it forward. Not to mention the need to run different software. Running local VMs for now.
It’s a real tension, working with a remote dev env has never been my first choice. But agents seem to tip the balance enough in favor of remote that I have switched.
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#177There are sooooo many sandbox providers out there. They do spike on different features like: - snapshotting and forking - good SSH and VPN access for end-users - agent-friendly features, like obscuring secrets at network layer Then there's also the option to use libkrun to run local sandboxes on your own computer. That doesn't scratch the itch for hosted services, but works if your goal is to run agents inside isolat…
Why isn't libkrun good enough for hosted stuff? I use it as a podman backend in a microservice architecture.
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#178Earlier quoted context omitted.
imagine installing an agent in slack at a company with 1000 employees, and you want each request to have its own VM for data analysis, downloading repos and working on them, ... regular VMs just use too much memory, a typical ubuntu uses 512 MB as a baseline
^ this. a single long session may use 20 subagents, each of which need their own VM, on top of the parent agent's VM, all of which may need separate security credentials, isolation, in addition to the spinup time, and resources used. each user might do 100 sessions a week. so that's 2,000 VMs per week per user. each regular VM takes, let's say, 10s to boot up. that's 5.5 hours per week just waiting for VMs to start (…
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#179There are sooooo many sandbox providers out there. They do spike on different features like: - snapshotting and forking - good SSH and VPN access for end-users - agent-friendly features, like obscuring secrets at network layer Then there's also the option to use libkrun to run local sandboxes on your own computer. That doesn't scratch the itch for hosted services, but works if your goal is to run agents inside isolat…
Setting up your own is not that hard and if you bought some compute before the Altman squeeze, very cheap.
Re: MicroVMs: Run isolated sandboxes with full lifecycle control
#180Earlier quoted context omitted.
Checkout https://shellbox.dev for exactly thisnusecase: boxes can be stopped, they are snapshotted to disk then cost just $0.5/month. They wakeup with the same state (memory and processes too) on ssh connections, or web endpoint activity, or just just a cron schedule. When you dont need the box... Just delete it and stop paying. No subscription, managed via ssh
Yeah crawshaw, you should check that out... ;)