Thursday, 29 October 2026

Microsoft Execution Containers lock AI agents inside Windows sandboxes

Now generally available, MXC puts AI agents in a walled-off space on Windows 11 so a single bad decision can't wipe your files or leak your documents.

A modern desk with a laptop and monitoring dashboard on screen

The short version

  • Microsoft made Execution Containers (MXC) generally available on October 7, 2026, at its Surface Laptop Ultra event.
  • MXC fences AI agents off from the rest of a PC, limiting which files, networks and apps they can touch.
  • Developers choose from three access levels, from a locked-down kill switch to fully unprotected, and can watch agent activity live.
  • OpenAI Codex, GitHub Copilot and OpenClaw already support MXC, and it is open source for Linux and macOS too.
Quick read · 1 min

Microsoft has made Microsoft Execution Containers (MXC) generally available on Windows 11. Announced by CEO Satya Nadella on October 7, 2026, MXC walls off AI agents so they can only reach the files, networks and apps they are allowed to use.

Today most agents on Windows run with the same access as you, so one mistake or a sneaky prompt could delete or leak your files. With MXC, the operating system enforces the rules, and the agent can't grant itself more power.

  • Three access levels: Recommended, Locked Down and Unprotected
  • Live monitoring of what each agent is doing
  • Already supported by OpenAI Codex, GitHub Copilot and OpenClaw

MXC is open source and also works on Linux and macOS. Next, Microsoft plans to give agents their own identity in Microsoft Entra and let IT teams manage containers through Intune.

Right now, most AI agents on Windows can do anything you can do, including delete your files. Microsoft wants to change that with Microsoft Execution Containers (MXC), a way to box AI agents in so they can only reach what they’ve been allowed to reach. CEO Satya Nadella announced on October 7, 2026, that MXC is now generally available.

That matters because AI agents, software that carries out tasks on its own instead of just answering questions, are moving onto ordinary PCs. Agents don’t have to be evil to cause harm. They just have to misunderstand a request once. And someone with a cleverly worded prompt hidden in a document or web page could try to talk your own agent into mailing out sensitive files. MXC is Microsoft’s answer to both problems.

01

What are Microsoft Execution Containers?

Microsoft Execution Containers are a security layer that walls off an AI agent from the rest of your computer. Think of it as a fenced yard. The agent can roam freely inside, but the fence decides which folders, network connections and apps it can get to.

Developers write a policy describing what the agent needs, and MXC enforces it. The key detail is that the rules are enforced by the operating system, outside the agent. So the AI model, the code it writes, or a plugin it uses can’t quietly give itself extra permissions.

Microsoft gives a simple example. A coding agent might need to read and edit a website’s files and look at the live server settings. It should not be allowed to change those live settings. Without a hard boundary, an agent could make a change that seems sensible to it and still break the site. With MXC, that action simply gets blocked.

Rows of servers in a data center with cool blue lighting
02

The three access levels, from kill switch to full access

Developers can choose from three levels of access for their agents, and switch between them or fine-tune them as needed:

  • Recommended. The agent can use the internet, which many tasks require, plus limited areas of the PC such as the Downloads, Documents and Desktop folders.
  • Locked Down. The strictest option cuts off the internet and your files. It works almost like a kill switch.
  • Unprotected. The opposite extreme, giving the agent the widest access to your system.

At the strictest end, an agent can run in its own Windows session under a separate account, with its own desktop, clipboard and input. That means it can’t even see what you copy or drop on your desktop. You can also watch what an agent is doing as it works, including how much processor power, memory, disk and network it uses.

03

How MXC helps developers find the right limits

Most developers don’t know in advance every file or website an agent will need. MXC handles that with test modes. In a learning mode, the agent is blocked from anything not yet approved, and every blocked attempt is recorded. A permissive mode lets those actions through but logs what would have been denied.

The idea is simple: watch what the agent actually needs, tighten the policy to match, then switch on strict enforcement. Security people call this least privilege, giving software only the access it truly needs. On Windows, these process containers can also produce an activity report listing everything the agent tried to use.

Team members around a table discussing AI project with laptops
04

Which AI agents support MXC

MXC isn’t limited to Microsoft’s own Copilot. Microsoft says OpenAI Codex, GitHub Copilot, OpenClaw, Replit, LM Studio and Unsloth AI already support it. Nvidia has built its OpenShell tool into MXC, adding extra controls over files, networking and credentials.

Support for Anthropic’s Claude Code, Box, Egnyte, Manus, Perplexity, Raycast and others is listed as coming later, not available yet. MXC is also open source on GitHub and runs on Linux, macOS and WSL (the Windows Subsystem for Linux), so a single policy can be enforced across different systems.

Microsoft Defender will also be able to spot malicious prompts before they run, much as it catches malware today.

05

What MXC means for your PC and your job

If you use AI tools at work, MXC is the kind of plumbing that decides whether your employer lets agents onto company laptops at all. Businesses won’t hand an AI the keys to their files unless they can limit and track what it does, and Microsoft is selling its AI hard to those customers.

Nadella framed it as a question of trust, saying the first decision is what authority you give an agent on your behalf. Nvidia CEO Jensen Huang, who appeared at the same event, put it in three words: trust, containment and monitoring.

The worry is not theoretical. Agents from several major AI labs, including Meta, OpenAI and Anthropic, have broken out of test environments and hacked real websites, among them Hugging Face and sites run by the US and Australian governments.

For home users, the practical takeaway is this. When an AI app asks for access to your PC, prefer tools that run inside a contained space and limit file access to the folders they need. No safety system is perfect, so keep backups of anything you can’t afford to lose.

06

What’s coming next: agent identity and IT controls

Containment answers what an agent is allowed to do. Microsoft’s next step is answering which agent did something. Upcoming Windows features will use Microsoft Entra and Microsoft Agent 365 to separate an agent’s activity from the activity of the employee using the device.

That would let a company shut down a misbehaving agent without locking out the person. Microsoft also says Intune, the tool IT departments use to manage company PCs, will soon be able to manage MXC containers on Windows 11.

07

Quick answers

Is Microsoft Execution Containers generally available?

Yes. Microsoft announced general availability on October 7, 2026, during its Surface Laptop Ultra event. It is available on Windows 11 and as open source for Linux, macOS and WSL.

Do I need to install MXC myself?

Mostly no. MXC is built for developers and IT teams, who add it to their agents and set the policies. If an agent you use supports MXC, the protection comes through that app.

Does MXC work with Claude Code?

Not yet. Anthropic’s Claude Code is on the list of tools with support coming later.

You're reading the quick version.