Posted by mlejva 3 days ago
We're using Firecrackers [1] to power our sandboxes. Funnily enough, we had this repo sitting on our GitHub for about 6 months. We originally made this for one of our customers because they were running evals on the desktop-like environment with GUI for their model.
You can use PyAutoGUI [2] to control the whole environment programmatically.
The desktop-like environment is based on Linux and Xfce [3] at the moment. We chose Xfce because it's a fast and lightweight environment that's also popular and actively supported. However, this Sandbox template is fully customizable and you can create your own desktop environment.
Let me know if you have any questions.
Btw, we're hiring [4]!
[0] https://e2b.dev
[1] https://github.com/firecracker-microvm/firecracker
Could you shed light on ab actual use case for this? I think I'm not seeing the elephant in the room here. Personally, quick desktop VMs would be perfect for remote work, kiosks, gui integration tests, and various showcases.
What am I missing here?
AI generates code that will perform "zip all files", but that could be dangerous because "rm -rf *" running on employee laptop is a risk, thus create this disposable desktop for AI to connect and manage, build the code, run the code, then evaluate results, and then destroy the instance.
I personally like it and think every laptop needs to have a read only OS with disposable desktops running for each app. Why does my Outlook need to live in the same world as my IDE?
However, I understand this could be an easy way of doing Qubes OS without Qubes OS.
No public SDK yet, but our client is a fork of old Parsec codebase. It is relatively straightforward: you connect using WebRTC, and send your actions over a datachannel.