微软通过 Foundry 开放 Copilot agent harness 公测
Microsoft’s new Copilot harness makes agents easy — until you want to switch
微软通过 Microsoft Foundry 的 Foundry Agent Service 开放 GitHub Copilot agent harness 公测,提供内置沙箱、可复用技能、MCP 集成和子智能体支持,同一 harness 已支持 Copilot Code、Copilot Studio、GitHub Copilot、CLI 和 VS Code。创建 prompt agent 时必须选定该 harness 且之后无法更改,CPU、内存和空闲时长由微软控制,也不支持自带模型。该服务在 2026 年 12 月 1 日前免费,之后按每 vCPU 小时 0.0994 美元、每 GiB 小时 0.0118 美元计费,模型推理和部分工具另计。
正文
Microsoft is opening up the GitHub Copilot agent harness to outside developers through Microsoft Foundry, bringing the same orchestration infrastructure used across its Copilot products into a managed service for building and deploying autonomous agents.
Announced Wednesday, the Microsoft Copilot harness is now available in public preview through Foundry Agent Service. It comes with built-in sandboxing, reusable skills, MCP integrations, and support for subagents. Microsoft takes care of running the agent and managing its execution environment, leaving developers to choose a supported model and configure the instructions and tools for their applications.
The same harness now supports Copilot Code, Copilot Studio, GitHub Copilot, the CLI, and VS Code.
The company is also using GitHub’s agent infrastructure across more of its Copilot products. It’s a continuation of the Foundry strategy outlined at Build 2026, which focuses on making AI agents easier for companies to run, manage, and control. The same harness now supports Copilot Code, Copilot Studio, GitHub Copilot, the CLI, and VS Code.
Inside the managed Copilot harness
Microsoft’s harness manages model and tool calls, tracks context, and keeps agents within configured policies. Skills can package instructions, scripts, and supporting resources, while MCP integrations require authentication and approval. Agents can also work with files, run code, and delegate tasks to subagents, with the main agent coordinating the results.
Microsoft’s harness manages model and tool calls, tracks context, and keeps agents within configured policies.
How developers deploy agents
The company’s technical walkthrough shows how this works with a research agent. A Markdown-based skill lays out the steps for collecting evidence, analyzing data, and writing a report, while an azure.yaml file defines the model deployment, tools, instructions, and harness.
Developers select microsoft_copilot_preview as the harness type, deploy the agent using azd deploy --all and invoke it through the Azure Developer CLI. They can keep agent configurations and supporting files in source control, making it easier to track changes alongside their application code.
Runtime limits and lock-in
The Copilot harness must be selected when creating a prompt agent, and that choice can’t be changed later, even in a new version. Microsoft also controls how much CPU and memory the agent gets and how long it can sit idle. Developers can decide what their agents do, but have less control over the environment they run in.
Developers can decide what their agents do, but have less control over the environment they run in.
Microsoft is positioning its broader harness strategy as multi-model, although there are limits. Developers can choose from compatible models deployed through Foundry, but bringing their own models isn’t supported with the managed Copilot harness.
Teams that want more control can use Foundry’s hosted agents instead. Teams can build and run agents using their own frameworks and customize how they operate, while Microsoft handles the hosting. The company also announced general availability of long-running resilience for hosted agents on Wednesday, helping them recover from interruptions during tasks that take hours or even days to complete.
Foundry agent pricing explained
The Copilot harness in Foundry Agent Service for free until December 1, 2026, although model inference and some tools and connected services still come with separate charges.
After that, Microsoft will charge $0.0994 per vCPU-hour for compute and $0.0118 per GiB-hour for memory. Those rates may vary depending on the region and customer agreement.
The post Microsoft’s new Copilot harness makes agents easy — until you want to switch appeared first on The New Stack.