Skip to content
View original post on X: Daniel Han
Published

Unsloth adds OS-level sandboxing for Linux, Mac, and Windows

AIUnsloth now supports OS-level sandboxing on Linux via bwrap, on Mac via seatbelt, and on Windows via Microsoft's MXC. Per-tool-call latency is under 100ms across all three, and its software-style sandboxing with regex AST checks adds about 3ms. The Windows integration was built in collaboration with Microsoft.
@danielhanchen
View on X

We added OS level sandoxing in Unsloth with bwrap (Linux), seatbelt (Mac) and Windows MXC in Unsloth!

Latency per tool call for all is under 100ms. Our software style sandboxing with regex ast checks is 3ms latency as well.

Thanks to Windows for collabing with us on MXC!

Unsloth AI@UnslothAI
Windows now has sandboxing! Microsoft released an open-source repo, mxc, for sandboxed code execution. We collaborated with Windows to add mxc OS level sandboxing to Unsloth which adds just <100 ms of overhead. GitHub: https://github.com/unslothai/unsloth Guide: https://unsloth.ai/docs/new/studio/sandboxing-in-unsloth
View quoted post on X
Source details

Daniel Han · x.comPublished · added here

Original title: We added OS level sandoxing in Unsloth with bwrap (Linux), seatbelt (Mac) and Windows MXC in Unsloth!