Microsoft eXecution Container (MXC): Sandboxed Execution for Untrusted Code

Repositorymicrosoft/mxcTool

Microsoft eXecution Container (MXC) is a cross-platform sandboxed code execution framework designed for running untrusted workloads such as AI model output, plugins, and tools across Windows, Linux, and macOS. It wraps native OS containment mechanisms and VMs into a unified policy engine and typed SDKs.

Key points

  1. Cross-platform containment using native backends: Windows (ProcessContainer, WSLC), Linux (Bubblewrap, LXC, MicroVM), and macOS (Seatbelt).
  2. Fine-grained, policy-driven controls covering filesystem access, network rules (proxy, outbound filtering), and UI permissions.
  3. Typed in-process SDKs available for Rust, .NET, and Node.js.
  4. Full lifecycle management for persistent containers, including provisioning, execution, stopping, and cleanup.

Why it matters

As AI agents and automated code-generation pipelines proliferate, running arbitrary code safely becomes essential. MXC simplifies this by eliminating the need to write custom platform-specific sandbox integrations, standardising security configurations via declarative JSON policies.

Analysis

MXC directly targets the security boundary required when executing LLM-generated code or untrusted extensions. Implemented primarily in Rust and distributed under the MIT licence, it embeds directly into client applications via SDKs rather than requiring standalone daemon management. The core engine appears functional, though advanced backends such as Hyperlight and MicroVMs remain explicitly experimental.

Found in

Summary generated by AI (Gemini 3.8 Flash, 9 October 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:Simon Willison

    Microsoft MXC: Open-Source Sandboxing for AI Agents and Untrusted Code

    Simon Willison highlights Microsoft's newly open-sourced MXC (Microsoft eXecution Container). The cross-platform library enables sandboxed execution of untrusted code—such as model outputs, plugins, and tools—across Windows, Linux, and macOS.

    545bookmarks45.5kviews

    AI & LLMs· Tool

  • Repository:anthropics/sandbox-runtime

    Anthropic Sandbox Runtime: Lightweight Process Isolation Without Containers

    Anthropic's Sandbox Runtime (srt) is an open-source tool designed to enforce OS-level filesystem and network restrictions on arbitrary processes. Developed as a safety component for Claude Code, it isolates AI agents, MCP servers, and shell commands without requiring containerisation.

    5.1kstarsTypeScript

    AI & LLMs· Tool

  • Repository:NVIDIA/OpenShell

    NVIDIA OpenShell: Isolated Runtime for Autonomous AI Agents

    NVIDIA OpenShell is an open-source runtime written in Rust designed to run autonomous AI agents in secure sandboxes. It enforces declarative policies at the kernel level and guards access to network routes and credentials.

    16.6kstarsRust

    AI & LLMs· Tool

  • Repository:agent-substrate/substrate

    Agent Substrate: Zero-Trust Sandboxing for Autonomous Agents on Kubernetes

    Agent Substrate is an open-source Go runtime designed to run millions of agent workloads securely and efficiently on Kubernetes. It isolates untrusted code using microVMs or gVisor and snapshots idle agents to save resources.

    5.4kstarsGo

    AI & LLMs· Tool

  • Repository:google/ax

    Google AX: Declarative Orchestration Runtime for AI Agents

    Google has open-sourced AX, a declarative orchestration runtime designed to manage autonomous AI agent workloads. Built on Kubernetes and Agent Substrate, it handles sandboxed execution, workspace pre-wiring, and network fencing at scale.

    6.2kstarsGo

    AI & LLMs· Tool

  • Repository:nanocoai/nanoclaw

    NanoClaw: Container-Isolated Open-Source Alternative to OpenClaw

    NanoClaw is a lightweight AI assistant framework running directly on Anthropic's Agents SDK. Unlike complex alternatives like OpenClaw, it isolates agents inside dedicated Linux containers and connects them to platforms such as Slack, Telegram, WhatsApp, and Discord.

    30.7kstarsTypeScript

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.