DEV Community

Cover image for I finally shipped a side project: parpaing, self-hosted sandboxes for AI agents
enix
enix

Posted on Edited on

I finally shipped a side project: parpaing, self-hosted sandboxes for AI agents

Hello,

Just saying: yes, one more of my f***ing side projects showed up, and yes, this time I'm publishing it.

It's at an early stage. It's useful for testing, and for people who don't have KVM. No, it's not the equivalent of E2B (which I like). But YES, I MADE IT PUBLIC, AND THIS IS MY FIRST POST ON DEV.TO.

F*** what people think. F*** the fear of the 80%-done projects that never ship, like the thousand before this one. And yes, it was built with our new savior, Claude Code, but under supervision, with every step chosen by a pre-AI dev (a junior one, pre-AI).

So no, this isn't the new iPhone or anything big. But I made this f***ing thing public, and that's good for my future side projects.
Star it https://github.com/enixCode/parpaing

Top comments (6)

Collapse
 
userxnom profile image
Abdullah Naseer •

Congrats on shipping it — the "just Docker, no KVM" tradeoff is the interesting part for me. For testing agents that run untrusted code, what keeps a bad agent from reaching the host or the network outside its container — is it locked down with network policies and read-only mounts, or is that the part still on the roadmap?

Collapse
 
enixcode profile image
enix •

Thanks! Each sandbox has its own internal network, and its only way out is an egress proxy that refuses the host, the LAN, cloud metadata and other sandboxes. For untrusted code, use gVisor: a user-space kernel between the sandbox and the host, no KVM needed. MicroVMs (Kata) are on the roadmap.

Collapse
 
amineoua profile image
Amine •

Parpaing is a good name for this. It is short, easy to say out loud, and it sounds solid, which fits a sandbox that is meant to hold things safely. It also sticks in memory after one read, and that matters when someone is choosing between a few sandbox tools later.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

shipping the 80% version beats letting it sit. docker-only with no kvm is a real constraint to design around, not a limitation to apologize for.

Collapse
 
enixcode profile image
enix •

Thanks, that's how I see it now: no KVM is the constraint, and gVisor is how I design around it.

Collapse
 
ibuildinpublic profile image
Ehsan •

Shipping the 80% done thing is the hardest part, so good on you for hitting publish. For people without KVM, what are you using for isolation instead, containers with gVisor or something lighter?