Beanbox is a microVM built for LLMs and humans. The core idea is to allow LLMs to control a computer in isolation and in a safe way. Additionally, the interaction with the LLM should be like pair coding. You can write a few commands and the LLM can continue from there.
It runs on the libkrun virtualisation library and the rootfs is an unpacked ubuntu docker image. On VM startup a forked version of gotty is started so you can access the VMs terminal on localhost:3002 (port may vary).
I use GPT-4 + selenium + the browser terminal to have GPT-4 execute code in VM. Essentially creating a pair coding session.
A lot here is hacky, but the idea is to demonstrate & explore what a more integrated coding interaction would look like.