Build and run agents locally on Windows

Windows provides the foundation for building and running agents with identity, containment and manageability. Explore Microsoft Execution Containers
What is it? A trusted Windows platform for agents A trusted Windows platform for building and running AI agents with risk-based identity, containment, and manageability controls. Why does it matter? Attribute, contain, and govern agent activity Agents can act at machine speed across files, apps, tools, services, and data. Without the right platform controls, agent activity can become difficult to attribute, contain, or govern. Why this approach? One agent-ready platform Windows combines local execution, cloud integration, identity, containment enforcement, and manageability signals into one agent-ready platform.

User-directed coding agent

A developer uses a coding agent, such as GitHub Copilot, to inspect code, call tools, update files, and help complete development tasks.
Attribute agent activity Entra will help distinguish agent actions from human actions Contain risky execution Run tools, code, and agent loops in the right containment layer, from process isolation to session containers. Govern at enterprise scale Connect agent execution to Microsoft Agent 365, Intune, Entra, Defender, and Purview for agent governance. With Windows agent platform controls:
  • The agent runs in the user’s session.
  • Agent-driven processes and tokens can be tagged for attribution.
  • Tool calls and code execution can run inside containers.
  • Local file access, network access, and managed-service access can be filtered.
  • Defender, Purview, Windows, and Entra provide manageability signals.
  • Human confirmation can remain part of the workflow for sensitive actions.
Outcome Developers can keep the productivity benefits of AI-assisted coding while giving IT and security teams better visibility into what the agent did, which tools it used, and which resources it accessed.

Windows Platform for Agents

Microsoft Execution Containers Explore Microsoft Execution Containers (MXC) options for process isolation and session containment. Explore Microsoft Execution Containers Agent identity and agent management Learn how Windows connects to the Microsoft ecosystem to help discover, identify, manage, and govern agents across the enterprise. Read about Windows agent security Microsoft Learn Implementation guidance for building secure agents on Windows, including identity, containment, policy, and deployment patterns. Explore implementation guidance

See MXC in action

Replit Build an app from local files See Replit build a file-cleanup app on Windows using a folder selected by the user. Box Create a quarter-close report Follow a finance workflow that brings together files from Box and local execution with MXC. Egnyte Prepare a drawing set Explore an AI-assisted Revit workflow for selecting sheets, exporting PDFs, and comparing revisions. Unsloth Turn data into a web page See an AI coding assistant create a sales chart, build a web page, and save the project files. Simular Contain agent commands with MXC See Sai use MXC to limit shell commands to an allowed workspace and block writes outside it.

Our partners