cd /news/ai-agents/microsoft-agent-framework-harness-an… · home topics ai-agents article
[ARTICLE · art-84536] src=infoq.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Microsoft Agent Framework Harness and Hosted Agents Reach General Availability

Microsoft Agent Framework reached version 1.0 general availability on April 2, 2026, and at Build 2026 (June 2-3) the Agent Harness and Foundry Hosted Agents reached general availability, providing a supported production runtime for building and governing AI agents. The harness, which runs as one binary across local, container, and hosted deployments, includes features like function invocation, history persistence, context compaction, tool approval, and OpenTelemetry, with shell tooling and file access remaining opt-in. A study from MBZUAI's VILA-Lab analyzing Claude Code v2.1.88 estimated that about 98.4% of the codebase is harness infrastructure, underscoring the importance of the runtime.

read5 min views1 publishedAug 3, 2026
Microsoft Agent Framework Harness and Hosted Agents Reach General Availability
Image: source

Microsoft has moved Agent Framework past the SDK stage and into a supported production runtime. The framework reached 1.0 general availability on April 2, 2026; Build 2026, held June 2 to 3, brought the Agent Harness, the GitHub Copilot SDK and Claude Agent SDK connectors, and the multi-agent orchestration patterns to stable release. The harness and Foundry Hosted Agents have since reached general availability, giving platform teams a way to run and govern agents, not only a library to build them with. It runs as one binary across local development, containers, and hosted deployment.

Earlier, InfoQ covered the framework's launch as the open-source consolidation of Semantic Kernel and AutoGen. The 1.0 release settled the build-time question of which framework to use and moved both predecessors to maintenance mode. The Build announcements address the run-time questions that follow: where agents execute, what they are allowed to touch, and how their behavior surfaces in existing observability and policy systems.

The harness is the center of that story. As Microsoft principal software engineer Wes Steyn put it:

A model on its own can only generate text.

To make it call tools, work through multi-step tasks, and keep going until a job is finished, you wrap it in a runtime; that runtime is the harness. Agent Framework now ships that runtime so teams do not rebuild it. The release includes function invocation, per-call history persistence, context compaction, a todo list with plan and execute modes, file memory, skills, web search, tool approval, and built-in OpenTelemetry, each enabled by default and individually removable. Shell tooling, file access, background sub-agents, and automatic looping remain opt-in and still emit a warning when enabled. Foundry Hosted Agents, the managed deployment target, bills on consumption.

Developers supply a chat client, instructions, and tools; the harness supplies the rest through a single call:

client = FoundryChatClient(credential=AzureCliCredential())


agent = create_harness_agent(
    client=client,
    agent_instructions="You are a research assistant. Plan your work, then execute it.",
    tools=[],  # add your own callable tools here
)

response = await agent.run("Research the outlook for renewable energy stocks.")

Why a supported harness matters more than it looks: the harness is most of the system. An April 2026 paper from MBZUAI's VILA-Lab, "Dive into Claude Code," put a number on it. The researchers analyzed Claude Code v2.1.88, whose full TypeScript source was briefly exposed on March 31 when Anthropic shipped an npm release with a sourcemap bundle, and classified roughly 512,000 lines across 1,884 files. Their estimate: about 98.4% of the codebase is harness infrastructure, permissions, context management, sandboxing, tool routing, and recovery, and about 1.6% is AI decision logic. The figure carries an asterisk the authors state plainly: it is a line-count classification of a leak-derived bundle that includes generated and minified code, not a universal audit. Even discounted, the direction holds: several independently built agents, among them Codex CLI and Aider, converged on the same harness shape, suggesting a constraint of the problem rather than a design choice.

An early benchmark points the same way, with a caveat worth stating plainly: Microsoft AI principal architect Aqib Sherwani ran it, and it compares two Microsoft-owned runtimes, Agent Framework against the GitHub Copilot SDK. The method is more disciplined than most vendor benchmarks, holding the model fixed and running a deterministic mock first so variance traces to the harness. His summary was "same reasoning, different engineering": both reached identical answers in the same number of steps, and the differences lived in the runtime. The most relevant was runaway safety. Agent Framework halted its own loop after 40 round-trips and returned a limit-reached message; the Copilot SDK, with host-side stopping controls off, ran to 300 without stopping on its own. One harness keeps the brake inside the loop; the other expects the host to supply it.

The coding-agent connectors make the governance story concrete. An Agent Framework orchestration can delegate to the GitHub Copilot SDK or the Claude Agent SDK without custom adapters; each runs its own autonomous loop, wrapped so a coding agent composes alongside Azure OpenAI, Anthropic, or custom agents in one workflow. The operative detail is that the connectors honor the identity, content safety, and observability policies already set for the fleet. Coding-agent traffic lands in the same OpenTelemetry traces and Foundry dashboards as everything else, rather than becoming a separate integration with its own access model. It is the control-layer concern also visible in AWS's Loom reference platform: the governing question shifts from what an agent can do to who ran it, under which policy, and where the trace lands.

The orchestration patterns reached stable release alongside the harness, covering sequential pipelines, parallel collaboration, and the Magentic pattern derived from Microsoft Research's Magentic-One (InfoQ coverage). Its 2024 evaluation reported 38% on GAIA, 27.7% on AssistantBench, and 32.8% on WebArena, statistically comparable to the state of the art on the first two and competitive on WebArena, which Microsoft reported itself because the benchmark has no hidden test set. The patterns share one API, so teams change coordination styles without rewriting agent code.

For platform teams weighing the release, the Cloud-relevant takeaway is the runtime, not the SDK: a supported harness, a consumption-billed hosted target, and a policy and observability model that treats third-party coding agents as governed members of the fleet. The framework, harness, and connectors are available now in .NET and Python on GitHub.

── more in #ai-agents 4 stories · sorted by recency
── more on @microsoft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/microsoft-agent-fram…] indexed:0 read:5min 2026-08-03 ·