• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Microsoft avatar

MXC

Cross-platform sandbox SDK for running untrusted code and model output

  • Agent frameworks and tools
  • Privacy and security
  • Servers and infrastructure
View on GitHub

What it is

MXC is a sandboxing library that runs untrusted workloads, such as AI model output, plugins, and tools, in isolated containers across Windows, Linux, and macOS. For each platform it chooses a backend, ranging from process sandboxes like Bubblewrap and Seatbelt to LXC, Windows Sandbox, and microVMs, and enforces JSON policies covering filesystem paths, network egress, and UI access. Developers embed it through Rust, .NET, or Node SDKs to run commands or manage persistent containers, and can use debug and audit modes to work out which accesses a policy needs.

Images

Facts

Stars
2,934 GitHub stars.
2,934

Forks
160
Commits
514
Contributors
30
Language
Rust
License
MIT
Last commit
Oct 19, 2026
On GitHub since
February 2026
First release
June 2026
Platforms
macOS, Windows, Linux, CLI, library
Self-hostable
No
Tags
  • containers
  • agent-sandbox
  • ai-security

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Microsoft avatar

    LiteBox

    Sandboxing library OS in Rust that shrinks the host interface

    3.2k
  • Agent Substrate avatar

    Agent Substrate

    Sandboxed Kubernetes runtime that snapshots and resumes idle AI agents

    5.6k
  • NVIDIA Corporation avatar

    OpenShell

    Policy-enforced sandbox runtime for running autonomous AI agents

    16.8k
  • opensandbox-group avatar

    OpenSandbox

    Isolated sandbox runtime for AI agents on Docker or Kubernetes

    16k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsMXC - a sandboxed code execution systemOct 9, 2026 · 196 points · 85 comments (opens Hacker News in a new tab)
  • Bluesky“MXC: Microsoft's sandbox for untrusted code Microsoft released MXC, a cross-platform sandboxed execution system for untrusted code like AI model output…”Oct 10, 2026 · 5 likes · 0 replies (opens Bluesky in a new tab)
  • Hacker NewsMicrosoft Execution Containers (MXC)Jun 2, 2026 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsMicrosoft EXecution Container (MXC)Jun 4, 2026 · 2 points · 0 comments (opens Hacker News in a new tab)
  • Bluesky“Cooooooomplicated af to say the least. We've been building out a ton of functionality on this front through MXC as well as Windows internals. It's somewhere…”Oct 3, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“GitHub - microsoft/mxc: Policy-driven, layered isolation and containment”Oct 14, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“windows is goated, also has the SOTA local sandbox tech”Oct 11, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system (github.com) Discussion | Main Link”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system (”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system (”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system #HackerNews”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system | Discussion”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system comments · posted on 2026.10.09 at 01:51:29 (c=0, p=3)”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“MXC - a sandboxed code execution system Discussion”Oct 9, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“microsoft / mxc: Policy-driven, layered isolation and containment ★1510”Oct 8, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“mxc: Policy-driven, layered isolation and containment”Sep 7, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)