Trendveris
Live Coverage
AI & ML

Microsoft Foundry Adds Managed Copilot Harness for Building AI Agents

Foundry’s managed Copilot harness simplifies agent deployment with built-in tools and sandboxing, while fixing runtime choice and limiting model options.

Oct 29, 2026 | 3 min read
Sign in to save

One way signage

A managed route to Copilot agents

Microsoft is making the infrastructure behind GitHub Copilot agents available as a managed service in Microsoft Foundry. The practical appeal is clear: teams can build agents while Microsoft handles orchestration, sandboxing and tool integrations. That can reduce the amount of infrastructure developers need to assemble and maintain, especially when the goal is to test an agent’s usefulness rather than build a custom runtime.

The trade-off is a runtime choice that can’t be reversed later. A team’s initial decision about the harness therefore shapes what it can change after deployment, including the degree of control it has over the execution environment. Convenience has a boundary here, and teams should understand where it sits before they build around the service.

Shared infrastructure across Copilot products

Announced Wednesday, the Copilot harness entered public preview through Foundry Agent Service. Developers select a compatible model, define instructions and tools, and let Microsoft operate the agent environment. The harness supports reusable skills, MCP integrations and subagents, and is also used by Copilot Code, Copilot Studio, GitHub Copilot, the CLI and VS Code.

That shared use gives the announcement significance beyond a new deployment option. A common execution layer can give teams a more consistent way to reason about how agents receive instructions, call tools and delegate work across different Copilot products. It also places more of the runtime’s behavior under Microsoft’s management, which simplifies some operational decisions while making the service’s supported capabilities more consequential.

This extends Microsoft’s Foundry strategy, outlined at Build 2026, to make agents easier for organizations to run and manage. The same orchestration layer across multiple Copilot products gives Microsoft a shared foundation for agent execution. For customers, the value depends on whether that foundation fits their needs; a common platform is useful only if its limits are acceptable for the work being deployed.

What the harness manages

The service coordinates model and tool calls, maintains context and applies configured policies. These are core parts of an agent’s operating loop: the model needs relevant context, tools need to be invoked in a controlled way, and policies shape what the agent is allowed to do. Managing those functions together can simplify deployment, though it also means teams need to understand the service’s behavior rather than treating the harness as an invisible wrapper.

Developers can bundle instructions, scripts and other resources into skills. MCP connections require authentication and approval, while agents can handle files, execute code and assign work to subagents. The main agent then brings those delegated results together. That division of work can help structure tasks that involve several steps, but it adds a coordination layer: the quality of the outcome still depends on clear instructions, suitable tools and the agent’s ability to combine its findings.

Microsoft’s technical walkthrough uses a research agent as an example. Its Markdown skill describes how to gather evidence, analyze data and write a report. An azure.yaml file specifies the model deployment, tools, instructions and harness. The example shows how an agent’s working process can be expressed in files developers can inspect, rather than existing only as configuration inside a service.

To deploy, developers set the harness type to microsoft_copilot_preview, run azd deploy --all and invoke the agent through the Azure Developer CLI. Keeping the configuration and supporting files in source control lets teams review agent changes alongside application code. That gives a team a clearer record of how an agent was configured, although versioning the files doesn’t by itself establish that the agent’s results are correct or consistent.

Control, portability and cost

There’s a meaningful constraint at creation time: a prompt agent’s harness type is fixed when the agent is created and can’t be changed in a later version. Microsoft also sets the available CPU and memory and the idle timeout. Teams control the agent’s instructions and tools, but not the full runtime environment.

This is more significant than it looks. An early prototype can become the foundation for a larger application, and a fixed harness choice can make that initial experiment harder to revise as requirements become clearer. If you’re working in this space, decide whether the managed environment’s limits match the application’s likely needs before investing heavily in its configuration and skills.

Model choice is available within limits. Developers can select compatible models deployed through Foundry, but the managed harness doesn’t support bringing their own models. That restriction matters to teams whose architecture depends on a model outside the supported options, or whose evaluation process requires flexibility in model selection. The harness may still suit them if the available choices are enough; that judgment is application-specific.

Teams that need more control over frameworks and agent behavior can use Foundry hosted agents instead, with Microsoft providing hosting. On Wednesday, Microsoft also made long-running resilience for hosted agents generally available, helping agents recover from interruptions in tasks that can last hours or days. The distinction gives teams a choice between a more managed Copilot runtime and a hosted option with more room to shape the agent’s framework and behavior.

The Copilot harness in Foundry Agent Service is free until December 1, 2026. Model inference and some tools and connected services may still incur separate charges, so free harness compute doesn’t make the complete application cost-free. After the free period, compute will cost $0.0994 per vCPU-hour and memory $0.0118 per GiB-hour; rates may differ by region and customer agreement. Teams assessing the service should account for those separate cost categories as well as the workload they expect to run.

What the choice means for teams

For teams that value a managed execution layer, the harness reduces the operational work of deploying agents. That can make it easier to focus on instructions, tools and the task itself, while Microsoft operates parts of the runtime. The numbers here are underwhelming as a standalone pitch: a managed service is useful only when its supported models, controls and eventual charges fit the application.

Here’s the thing: the key design decision comes early. Choose the harness when its guardrails and supported models fit the application, because switching harness types later isn’t an option. And yet, a managed runtime can be a sensible starting point when its limits are understood and the work benefits from Microsoft handling the execution layer.

For developers, the practical test is straightforward: map the agent’s model requirements, tools, execution needs and expected duration to the harness’s stated capabilities before committing. The service offers a clearer route to deployment, but it doesn’t remove the need to make those choices carefully. A fixed decision.

Source: Amanda Caswell · thenewstack.io
Sign in to join the discussion.