Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Last month, I started playing around with code sandboxes and how LLMs might interface with them and wrote a little blog post about it [1]. I then took the code and vibe coded my way to a multi-tenant (untested!) sandboxing server that lets you run arbitrary Docker containers and provides a simple HTTP interface and UI. A cute, novel idea is that you can fork containers easily, as seen in the video in my repo:

https://github.com/ammmir/sandboxer

It may not be useful, but it's been fun, and I've honed my gut-level experience in Docker, Podman, Linux namespaces, Checkpoint/Restore, CRIU, and more. The ultimate goal is to hand each AI agent iteration a sandbox of its own (forked from the previous iteration), and have it build apps in private sandboxes. You'll be able to view intermediate progress as the app is being built (or failed rabbit holes), since each sandbox gets a unique URL automatically. Like, imagine if each commit of your git repo had its own URL to preview the app!

[1] https://amirmalik.net/2025/03/07/code-sandboxes-for-llm-ai-a...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: