4 ms·
Is there a list of these "code sandboxes" floating around somewhere? It seems like it's going to be more and more important with LLMs playing more of a factor i
by digdugdirk 1y ago
Is there a list of these "code sandboxes" floating around somewhere? It seems like it's going to be more and more important with LLMs playing more of a factor in development moving forward.
- ushakov 1y agoi work on E2B, we are open-source sandbox runtime used by Perplexity, Manus, Hugging Face among others. check it out: https://e2b.dev https://e2b.dev
- benno128 1y agoI've got one that uses WebAssembly to run Python, Ruby, C/C++, JS: https://runno.dev/articles/sandbox/ https://runno.dev/articles/sandbox/
- aitchnyu 1y agoIs there a better way to sandbox Python other than using a webassembly build?
- benno128 1y agoYeah for sure: run it inside a virtual machine, or do some sort of docker magic. You kind of need to pretend you are a whole computer for a programming language to be happy. There's built in assumptions they're running on a "real" computer. They assume they've got full access to network and disk. Installing packages often requires compiling C extensions, or running native binaries. All that stuff means the best way to sandbox is to virtualise a whole computer. It's fun to do it with WebAssembly though, you get a lot of guarantees and it's quite light weight.
- apitman 1y agoYou should repost that article on HN. WASI in the browser is awesome and I would love to see some discussion about it.
- someguy101010 1y agohttps://github.com/r33drichards/mcp-js https://github.com/r33drichards/mcp-js mcp for running javascript locally and safely using v8
- sudb 1y agoI know of https://modal.com/ https://modal.com/, which I believe is used by Codegen and Cognition. Anecdotally-speaking, I hear that many companies in the LLM agent space roll their own sandbox solutions - I've heard of both Firecracker- and Kubernetes-based implementations.