Andy Smith Follow me

Microsandbox, a computer for anything, anywhere

https://microsandbox.dev/

image

Microsandbox lets you run OCI images in a microVM. It works on Windows, Linux, and Apple Silicon, and you don't need Docker.

You can script the whole VM launch as code.

So for each agent, and even for each task on its own, you can build an image (with Nix or a Dockerfile), run the agent in it, do the task, and kill the machine.

As long as the task is straightforward, it all runs instantly. The moment you need to tweak something in the environment, you have to rebuild the image. That takes a bit longer, but you don't rebuild often, so it's no big deal.