Microsoft Copilot harness in Foundry turns agent plumbing into a managed service

Microsoft has released the Copilot harness in Foundry Agent Service in public preview, giving developers a fully managed way to build agents that reason, use tools and complete long-running, multi-step tasks without building their own agent loop, sandbox or recovery logic.

Every team that builds an AI agent ends up building the same machinery twice. Once for the thing the agent is supposed to do, and once for everything around it: coordinating model and tool calls, keeping working context, managing files, running code safely, and deciding what to do when a long task is interrupted. Microsoft's Copilot harness in Foundry Agent Service, introduced in public preview on 28 October, is an attempt to take that second job off developers' hands.

The harness is the execution layer that already powers GitHub Copilot and Copilot Studio, now offered as a runtime developers can select in Foundry. An agent is defined declaratively, with reusable skills packaged as instructions and resources, connected Foundry and MCP tools with explicitly configured authentication, and built-in subagents for bounded delegated tasks. Microsoft runs the agent loop and the sandbox; the developer brings the knowledge, procedures and tools that make the agent theirs. Agents can be authored in the Foundry portal, in Visual Studio Code with the Foundry Toolkit, or through the preview Azure Developer CLI, where a harness of type microsoft_copilot_preview is selected when the agent is created.

Two details make the preview useful rather than merely convenient. The first is that the harness is opinionated about the hard parts: it manages working context as a task develops, coordinates model and tool steps within configured limits, and, alongside the generally available long-running resilience for hosted agents, helps work recover from interruptions instead of starting again. The second is that it does not force a single model or framework on every problem. Developers choose a supported Foundry model, and Foundry also offers prompt agents without the harness for simpler tasks and hosted agents for teams that need their own framework.

The preview is still a preview, and Microsoft is clear about its limits. The harness must be selected at creation, switching it afterwards is not yet supported, and there is no service-level agreement for preview workloads. Billing for the harness runtime begins on 1 December 2026, with sandbox compute charged by consumption, while model inference and separately billed tools remain charged as usual. For teams that have been hand-rolling agent loops, though, the value is immediate: less infrastructure to maintain, more time to spend on what the agent knows and whether its results can be trusted.

Read the original · devblogs.microsoft.com

Share