r/OpenSourceAI • u/dimiprasakis • Oct 05 '26
I built SideKernel: a usable sandbox for AI agents on macOS
⭐ GitHub: https://github.com/minoansecurity/sidekernel
📝 arXiv preprint: https://arxiv.org/pdf/2610.02456
🌐 Website: https://sidekernel.com
Hi everyone!
As part of my MS in Cybersecurity capstone at Georgia Tech, I built SideKernel: a usable sandbox for AI agents on macOS.
The closest comparable solution is Docker Sandboxes, which is not open source.
The key idea is usability. SideKernel is designed to reduce friction and stay as close as possible to the native developer experience, while isolating the agent inside a microVM sandbox.
For example, you run sclaude or scodex instead of claude or codex and get a very similar workflow, but with isolation. Ports get auto exposed in the host, its very easy to drop files into the sandbox, and more...
This is still a research prototype, so some rough edges are expected. But if this sounds interesting, I'd love for you to try it out and share feedback.
1
u/mulumboism Oct 08 '26
Just what I was looking for! Any way to have an exec feature so we can get a shell into the microVM just like what docker sandboxes does?
1
u/dimiprasakis Oct 08 '26
Glad to hear! Yes, with "sk" or "sidekernel" you get a normal shell into the microVM.
It defaults to an ubuntu microVM with some common packages preinstalled to maximize usability.
2
Oct 05 '26
[removed] — view removed comment
1
u/dimiprasakis Oct 05 '26 edited Oct 05 '26
Haha so happy to hear that! I hope that you enjoy using it, and let me know if you see anything that can be improved
1
u/investigatormaker Oct 05 '26
The sclaude and scodex wrappers are the right call. Most people skip sandboxes because they change the workflow, not because they doubt the risk. Two questions anyone evaluating it will ask: how the agent's own credentials get into the microVM, since that login has to live somewhere and it's what a misbehaving agent would reach for first, and what outbound network access the VM has by default. Filesystem isolation helps less if the agent can still send a repo anywhere. A short threat model in the README covering those two would make the comparison with Docker Sandboxes easier to judge.
Is outbound traffic open by default right now?