BRK390 · Breakout

MXC: Deploying Agents You Can Trust

  • Wednesday 18 November
  • 37 min
  • Catalogue level: (400) Expert
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: Demitrius Nelon, Stuart Schaefer, David Wiesen

Watch on Microsoft’s site from 04:59

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session introduces Microsoft Execution Containers (MXC), an open-source platform and SDK that lets agents and harnesses enforce task-scoped, least-privilege policy through the operating system rather than through the agent itself. It explains the isolation spectrum (process, Windows session, VM/WSL, micro VM, cloud) and how MXC translates one policy API to bubblewrap, seatbelt or Windows process isolation, explicitly reporting policies it cannot enforce. OpenAI describes replacing its 50,000-line bespoke Windows sandbox with MXC, which already covers about half of its Windows users. Demos show one OpenCode agent running in a separate Windows session, in an experimental local micro VM (Nanvix/NVX via OpenVMM) with roughly 100-150 ms startup, in Azure Container Instances, and in a Windows 365 for Agents Cloud PC. The roadmap includes a uniform policy language, automatic container selection, audit and learning mode, and action telemetry.

Best for: Platform, security and endpoint engineers building or governing local coding and productivity agents on Windows who need to choose between process, session, micro VM and cloud isolation.

Session timeline by chapter

New material starts at 04:59. The first five minutes motivate why agents cannot be their own security authority and describe the industry's containment, identity and governance needs; at 04:59 the technical isolation spectrum begins.

Where to skip: Skip to 04:59 for the isolation spectrum; 08:22-14:25 covers the MXC policy model and backend choice, and 14:25 the OpenAI migration story. The core demos are at 18:50 (session container), 23:06 (local micro VM), 26:23 (Azure Container Instances) and 33:06 (Windows 365 for Agents); the roadmap is at 31:15. The 29:19 recap and the 35:27 closing can be skipped.

Chapters (13)

  1. 00:02 Recap Depth 200 · Novelty 1/3

    Why agents cannot be their own security authority: task-scoped access

    Demitrius Nelon (PM) introduces Microsoft Execution Containers (MXC) and the architect Stuart Schaefer from the Windows Platform organization. He argues that agents act on prompts, files and web content and cannot be trusted to enforce their own security, and that a single sandbox ends up porous because it must grant access to all files and the network. The goal is task-scoped, least-privilege access per plan step, with the agent not running as admin inside its container to make escapes harder.

  2. 02:55 Recap Depth 200 · Novelty 1/3

    Industry convergence on containment, identity and governance for agents

    The speakers describe three converging industry needs: containment controlled outside the agent, identity (distinguishing the process identity from an agent's own credentials and authority) and governance with policy ceilings and floors. The session focuses on containment. They stress that there are multiple isolation, identity and governance models today and no one-size-fits-all answer, because agents act at speeds humans cannot observe or control.

  3. 04:59 Deep dive Depth 300 · Novelty 2/3

    Isolation spectrum: process, Windows session, VM/WSL, micro VM and cloud

    The containment spectrum is explained: process isolation (still running as the user), Windows session isolation tied to a distinct user, hardware-backed VMs with a separate kernel (including WSL), lightweight micro VMs, and cloud instances for governance, data sovereignty and untrusted BYOD devices. The OpenClaw app in the Microsoft Store is cited as installing its gateway as a separate Windows user visible in Task Manager. Micro VMs target millisecond startup, process-like memory footprint and roughly 50-60 MB images, versus about 90 seconds to boot a Windows image in Hyper-V.

  4. 08:22 Deep dive Depth 300 · Novelty 2/3

    MXC operating model: one cross-platform policy API, OS-level enforcement

    MXC is positioned as a platform that lets agents, harnesses and policy enforcers use OS tools to enforce least privilege. The MXC SDK reconciles the agent's request, user authorization and IT constraints, and translates one homogeneous policy API to bubblewrap on Linux, seatbelt on macOS or process isolation on Windows. The key point is that the operating system, not the agent, enforces policy; prompts are not assumed malicious but are turned into authorizations that actions must match.

  5. 11:28 Deep dive Depth 300 · Novelty 2/3

    Policy first, not sandbox: backend choice and explicit unsupported-policy errors

    Using the example of investigating a failing test, Stuart Schaefer shows the same job could run as a process, in a separate session, in a micro VM for dangerous operations, or in the cloud for large compute. Today the agent developer deterministically chooses the backend; routing by prompt or task is a future aspiration. Agents pass workload, requested resources and backend to MXC, which is backend-aware and explicitly reports policies it cannot enforce instead of silently weakening them.

  6. 14:25 Customer story Depth 300 · Novelty 2/3

    OpenAI story: replacing a 50,000-line bespoke Windows sandbox with MXC

    David Wiesen from OpenAI explains that their coding agent (formerly Codex, now part of ChatGPT) requires a sandbox on users' laptops, and that OpenAI built its own Windows sandbox of about 50,000 lines of code over many months. He notes agents trained to complete tasks try to work around restrictions, which is hard to block from an application rather than the OS. OpenAI is migrating to MXC; about half of its Windows users already get sandboxing through MXC, using per-process isolation.

  7. 18:50 Demo Depth 300 · Novelty 2/3

    Demo: session container running an agent as a separate Windows user

    Stuart states MXC process containment runs today in GitHub Copilot and in OpenAI's ChatGPT, then demos session containment with an MXC-modified OpenCode agent. Asked about its sandbox, the agent reports the local machine name and CPU but a TEMP folder under a different user, in a separate Windows session with its own desktop and input stack. It then writes an abstract of downloaded Microsoft financial data; MXC granted the agent user access to the user's folder via policy, which it would not have by default.

  8. 23:06 Demo Depth 300 · Novelty 3/3

    Micro VM on Windows: Nanvix/NVX via OpenVMM and hypervisor changes, demo

    Stuart explains that the Nanvix microkernel from Microsoft Research, used in Azure Container Instances as NVX, is being brought to Windows through changes to the OpenVMM virtual machine monitor and the Windows Hypervisor Platform to run lightweight local micro VMs. The slide labels it an experimental backend. In the demo, the agent starts a micro VM with a Python tool image in about 100-150 ms, reports a lightweight Linux kernel behind a hypervisor boundary, and generates a PowerPoint deck on Microsoft financials.

  9. 26:23 Demo Depth 300 · Novelty 2/3

    Demo: same micro VM image in Azure Container Instances for heavy analysis

    The same micro VM image used locally is run in Azure Container Instances from the same OpenCode agent without teaching the agent anything new. The agent provisions an ACI sandbox with 8 CPU cores and 32 GB memory and the same dev container image. It then runs a Monte Carlo simulation on sensitive data not present on the laptop and returns an SVG chart, showing session, local micro VM and Azure execution from one agent.

  10. 29:19 Deep dive Depth 300 · Novelty 1/3

    Contain, observe, govern: escape-attempt observability and layered enforcement

    Stuart summarizes that MXC aims to provide OS primitives to contain agents and to surface observability data when an agent or tool execution attempts to escape, both to IT and to the agent core. Agent identity provides attribution of actions. The model is layered: the OS provides core enforcement, MXC provides a policy engine on top, and other systems consume it to apply controls.

  11. 31:15 New Depth 300 · Novelty 2/3

    What works today and MXC roadmap: uniform policy, auto selection, audit mode

    MXC is developed in the open as an open-source repository; today developers can use task-scoped execution, explicitly choose the backend and choose the agent's identity. The policy language is not yet uniform across containers, which the team is working on. Future plans include automatic container selection implied by the policy grant, audit and learning mode tools to understand denials, and more action telemetry.

  12. 33:06 Demo Depth 300 · Novelty 2/3

    Video demo: MXC provisioning a Windows 365 for Agents Cloud PC sandbox

    A recorded demo shows MXC code modified to use the Windows 365 for Agents (W365A) stack, driven from the GitHub Copilot app. The agent passes policy to MXC, which provisions a Cloud PC in Azure and returns a session ID. Unlike ephemeral process or micro VM sandboxes, these VMs can persist state; the data stays in the cloud under IT policy, only a Markdown report is returned, and the user then asks MXC to tear the VM down.

  13. 35:27 Closing Depth 100 · Novelty 0/3

    Closing: keep authority outside the agent, MXC resources and related sessions

    The speakers say MXC is early in its journey and summarize the guidance: start with the task, select the boundary, and keep authority and supervision outside the agent. No questions are taken in the room. The slide points to github.com/microsoft/mxc, aka.ms/mxc-learn and the related sessions BRK391 (manage and govern agents) and BRK339 (discover local agents).

Announcements (6)

  • 23:34 roadmap Microsoft Execution Containers (MXC)

    Local micro VMs in Windows (OpenVMM and Windows Hypervisor Platform changes)

    Windows will gain changes to OpenVMM and the Windows Hypervisor Platform to run lightweight local micro VMs based on the Nanvix/NVX technology used by MXC.

    Speaker’s quote (at 23:34)
    „Windows will get changes to the OpenVMM virtual machine monitor and to the Windows hypervisor platform to allow us to run lightweight, high-performant, local, micro virtual machines.“
  • 31:42 roadmap Microsoft Execution Containers (MXC)

    Uniform MXC policy language across containers

    Work to make the policy language and controls consistent across all MXC container backends.

    Speaker’s quote (at 31:42)
    „The policy language and how you express controls is not uniform across them all. We're working on that.“
  • 32:14 roadmap Microsoft Execution Containers (MXC)

    Automatic container selection

    MXC would choose the container implicitly from the policy grant so developers need not pick the sandbox technology.

    Speaker’s quote (at 32:14)
    „How do we make it so that the choice of container is automatic? It's something that's implicit in the policy grant“
  • 32:41 roadmap Microsoft Execution Containers (MXC)

    Audit and learning mode

    Tools that help users understand policy denials in MXC.

    Speaker’s quote (at 32:41)
    „We're adding what we call audit and learning mode tools that will help you understand denials.“
  • 32:41 roadmap Microsoft Execution Containers (MXC)

    Action telemetry

    Additional telemetry on actions performed by agents inside MXC containers.

    Speaker’s quote (at 32:41)
    „We're adding much more telemetry on the actions that are happening.“
  • 33:06 not stated Microsoft Execution Containers (MXC)

    Windows 365 for Agents (W365A) backend for MXC

    MXC can provision Windows Cloud PCs in Azure via Windows 365 for Agents as a persistent, IT-governed execution environment for agents.

    Speaker’s quote (at 33:06)
    „We also have what we call W365A, agents that can run in Windows containers in Azure.“

Demos (4)

  • 19:45 Not stated Microsoft Execution Containers (MXC) with an MXC-modified OpenCode agent

    A financial analyst has an agent analyse locally downloaded Microsoft earnings data while the agent runs as a separate Windows user in its own session.

    Steps (5)
    1. Download SEC and stock-ticker data about Microsoft into a local folder.
    2. Start the MXC-modified OpenCode agent configured for session containment from a developer PowerShell.
    3. Ask the agent for its sandbox configuration (machine name, CPU, TEMP folder) and observe the TEMP folder belongs to a different user.
    4. Ask the agent to run whoami in the sandbox and to use its read tool to read the data files and write an abstract.
    5. Open the folder and inspect the generated abstract; MXC policy granted the agent user access to the user's folder.

    Prerequisites: Windows device, MXC, an OpenCode build modified by Microsoft to use MXC, local data files.

  • 24:29 Not easy to reproduce Microsoft Execution Containers (MXC) micro VM backend with MXC-modified OpenCode

    The analyst has the agent create a PowerPoint presentation from the financial data inside an isolated local micro VM with Python tooling.

    Steps (5)
    1. Prepare a micro VM container image containing Python and data/presentation tools.
    2. Start the MXC-modified OpenCode agent with the micro VM backend and that image.
    3. Ask the agent which sandbox it runs in; it reports a lightweight Linux kernel in the NVX sandbox.
    4. Ask the agent to run the slides script once in the sandbox and summarize the result.
    5. Open the generated microsoft-financials.pptx in File Explorer.

    Prerequisites: Windows device with the micro VM backend (Windows changes to OpenVMM and the hypervisor platform), MXC, a micro VM image with Python tools.

  • 26:52 Not stated Microsoft Execution Containers (MXC) with Azure Container Instances backend

    The analyst offloads a compute-heavy Monte Carlo analysis on data not stored locally to a cloud micro VM, using the same image and agent as locally.

    Steps (4)
    1. Start the MXC-modified OpenCode agent with the Azure Container Instances backend.
    2. Ask the agent where its sandbox runs; it provisions an ACI instance (8 cores, 32 GB) with the same dev container image.
    3. Paste a prompt instructing the agent to run a single job command in a fresh ACI VM.
    4. Open the resulting Monte Carlo SVG chart of Microsoft equity value in a browser.

    Prerequisites: Azure subscription with Azure Container Instances, MXC, MXC-modified OpenCode, the micro VM dev container image.

  • 33:32 Not stated Microsoft Execution Containers (MXC) with Windows 365 for Agents, driven from the GitHub Copilot app

    An agent generates a client summary report from data that must stay in the cloud under IT policy, using a provisioned Cloud PC sandbox.

    Steps (5)
    1. In the GitHub Copilot app, start a new session with a prompt to provision a Cloud PC sandbox and generate the report.
    2. MXC receives the policy and provisions a Cloud PC in Azure, returning its session ID.
    3. The agent runs the report in the Cloud PC and returns only a Markdown report saved locally.
    4. Open the saved Markdown report in a preview.
    5. Tell the agent you are done so MXC tears down the Cloud PC and frees the resource.

    Prerequisites: Windows 365 for Agents in Azure, MXC code modified to access the W365A stack, GitHub Copilot app.

Watch on Microsoft’s site: BRK390