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

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

- Source: Daniel Han
- Published: 2026-10-08T16:28:13.000Z
- Bad Influence: https://badinfluence.news/items/hoifo1stkoo0f9r9hifhla7to
- Original: https://x.com/danielhanchen/status/2108233011062063558

## Summary

Unsloth 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.

## Post

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!

## Quoted post @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

https://x.com/UnslothAI/status/2108229721159053557
