Every AI agent you have seen is two things: a language model, and the software around it that makes the model useful. The model writes text. The software around it calls your systems, keeps track of a forty-step task, asks before it does anything risky, and knows when the job is done. Microsoft calls that software the harness, and since July 2026 it ships one, ready-made, inside the Microsoft Agent Framework.Elke AI-agent die u hebt gezien bestaat uit twee dingen: een taalmodel en de software eromheen die het model bruikbaar maakt. Het model schrijft tekst. De software eromheen roept uw systemen aan, houdt een taak van veertig stappen bij, vraagt toestemming voordat het iets riskants doet en weet wanneer het werk klaar is. Microsoft noemt die software de harness, en sinds juli 2026 levert het er een kant-en-klaar mee in het Microsoft Agent Framework.
That changes the shape of an agent project. Until this year, a team that wanted an agent in production first had to build that scaffolding, and most of the budget went there. Now the scaffolding is one call, maintained by Microsoft, and the effort can go where the value is: your workflow, your systems and your rules.Dat verandert de vorm van een agentproject. Tot dit jaar moest een team dat een agent in productie wilde eerst die steigers zelf bouwen, en daar ging het grootste deel van het budget naartoe. Nu zijn die steigers één aanroep, onderhouden door Microsoft, en kan de inspanning gaan naar waar de waarde zit: uw workflow, uw systemen en uw regels.
A model on its own only generates textEen model op zichzelf genereert alleen tekst
“A model on its own can only generate text,” as Wes Steyn, Principal Software Engineer at Microsoft, put it when the Harness was released. A model predicts the next words from the words it was given. It does not call anything, remember anything or know when it is done. Between the model and an agent that finishes work sits a layer that has to:“A model on its own can only generate text,” schreef Wes Steyn, Principal Software Engineer bij Microsoft, bij de release van de Harness. Een model voorspelt de volgende woorden op basis van de woorden die het kreeg. Het roept niets aan, onthoudt niets en weet niet wanneer het klaar is. Tussen het model en een agent die werk afmaakt zit een laag die moet:
- call tools and read their results,tools aanroepen en hun resultaten lezen,
- keep state across many steps,de toestand bijhouden over veel stappen,
- manage a context that grows with every step,een context beheren die met elke stap groeit,
- ask before risky actions,toestemming vragen vóór riskante acties,
- keep going until the job is done, and stop when it cannot be.doorgaan tot het werk klaar is, en stoppen wanneer dat niet lukt.
Microsoft Learn calls this layer an agent harness: “the runtime scaffolding that turns a language model into an agent.” It drives model and tool calls, manages conversation state and context, applies approval policies, and keeps the agent progressing through a multistep task.Microsoft Learn noemt deze laag een agent harness: “the runtime scaffolding that turns a language model into an agent.” Hij stuurt model- en toolaanroepen aan, beheert de gesprekstoestand en de context, past goedkeuringsbeleid toe en houdt de agent op koers door een taak van meerdere stappen.
How much of a serious agent is harness? A 2026 line-count analysis by MBZUAI’s VILA-Lab classified about 98% of one widely used coding agent’s roughly 512,000 lines as harness infrastructure, and under 2% as AI decision logic. It is one estimate of one codebase, not a universal audit. But the proportion matches what anyone who has built an agent learns quickly: almost all the engineering is around the model, not in it. Until this year, every team built that part itself.Hoeveel van een serieuze agent is harness? Een telling van regels code door VILA-Lab van MBZUAI uit 2026 rekende ongeveer 98% van de circa 512.000 regels van een veelgebruikte coding agent tot harness-infrastructuur, en minder dan 2% tot AI-beslislogica. Het is één schatting van één codebase, geen universele meting. Maar de verhouding klopt met wat iedereen die een agent heeft gebouwd snel leert: bijna al het engineeringwerk zit rond het model, niet erin. Tot dit jaar bouwde elk team dat deel zelf.
The model is the engine. The harness is the rest of the car: steering, brakes, dashboard and seatbelts.Het model is de motor. De harness is de rest van de auto: stuur, remmen, dashboard en gordels.
Three names, one pathDrie namen, één route
The naming confuses buyers and vendors alike, so it is worth a minute. There is no “Azure harness”. There are three names, and each does a different job.De namen verwarren kopers en leveranciers, dus ze zijn een minuut waard. Er bestaat geen “Azure harness”. Er zijn drie namen, en elk heeft een andere rol.
In one sentence: the Framework is what you build with, the Harness is the ready-made runtime inside it, and Foundry is where it runs.In één zin: met het Framework bouwt u, de Harness is de kant-en-klare runtime daarin, en Foundry is waar het draait.
What one call switches onWat één aanroep aanzet
You bring three things: a chat client (which model, and where it runs), instructions (who the agent is) and your own tools (what it may touch). The Harness adds the rest. In .NET it is one extension method:U brengt drie dingen mee: een chatclient (welk model, en waar het draait), instructies (wie de agent is) en uw eigen tools (waar hij aan mag komen). De Harness voegt de rest toe. In .NET is het één extensiemethode:
using Microsoft.Agents.AI;
using Microsoft.Extensions.AI;
// chatClient: any IChatClient (Foundry, Azure OpenAI, ...)
AIAgent agent = chatClient.AsHarnessAgent();
AgentResponse response =
await agent.RunAsync("Plan a weekend trip to Seattle.");
Console.WriteLine(response.Text);
In Python, one function:In Python één functie:
from agent_framework import create_harness_agent
from agent_framework.openai import OpenAIChatClient
agent = create_harness_agent(
client=OpenAIChatClient(model="gpt-4o"),
)
session = agent.create_session()
response = await agent.run(
"Plan a weekend trip to Seattle.", session=session)
print(response.text)
The result is still an ordinary framework agent, with the same sessions, providers and deployment path. The Harness is not a separate runtime but a curated configuration of building blocks the framework already has, so it inherits the framework’s stability and long-term support. What it switches on falls into three groups, and every default can be switched off on its own:Het resultaat is nog steeds een gewone framework-agent, met dezelfde sessies, providers en deploymentroute. De Harness is geen aparte runtime maar een samengestelde configuratie van bouwstenen die het framework al heeft, en erft dus de stabiliteit en langetermijnondersteuning van het framework. Wat hij aanzet valt in drie groepen, en elke standaard kan afzonderlijk uit:
Four further capabilities are opt-in and marked experimental or pre-release: background agents that run sub-tasks in parallel, file access tools, looping until an evaluator says the job is done, and shell execution. Microsoft warns when you enable them, and their APIs may change. They are where the “autonomous agent” headlines come from, and also where the risk is, so we keep them out of a first phase and scope them in later by explicit agreement.Vier andere mogelijkheden zijn opt-in en gemarkeerd als experimenteel of pre-release: achtergrondagents die subtaken parallel uitvoeren, tools voor bestandstoegang, herhalen tot een evaluator zegt dat het werk klaar is, en shell-uitvoering. Microsoft waarschuwt wanneer u ze aanzet, en hun API’s kunnen nog veranderen. Daar komen de krantenkoppen over “autonome agents” vandaan, en daar zit ook het risico. Daarom houden wij ze buiten een eerste fase en nemen we ze pas later op, na expliciete afspraak.
How the loop worksHoe de lus werkt
One request becomes many steps. The Harness runs the loop; your agent and your systems make it yours.Eén verzoek wordt veel stappen. De Harness draait de lus; uw agent en uw systemen maken hem van u.
- RequestVerzoek
- Arrives from Teams, Microsoft 365 Copilot or your own app.Komt binnen via Teams, Microsoft 365 Copilot of uw eigen app.
- Your agentUw agent
- The instructions, tools, approval rules and domain skills that make it specific to your business.De instructies, tools, goedkeuringsregels en domeinkennis die hem specifiek maken voor uw bedrijf.
- PlanPlannen
- Starts in plan mode and writes a task list before it touches anything.Begint in planmodus en schrijft een takenlijst voordat hij iets aanraakt.
- Call toolsTools aanroepen
- Works through the list, reaching your systems through tools and MCP servers.Werkt de lijst af en bereikt uw systemen via tools en MCP-servers.
- Ask firstEerst vragen
- A tool that needs approval pauses the run until a person, or a standing rule, says yes.Een tool die goedkeuring nodig heeft, pauzeert de run tot een mens, of een vaste regel, ja zegt.
- RememberOnthouden
- Saves the history after every model call and compacts it as it grows.Slaat de geschiedenis op na elke modelaanroep en comprimeert die naarmate hij groeit.
- Microsoft Foundry
- Hosts the agent with its own identity, billing by use and one tracing pipeline.Host de agent met een eigen identiteit, afrekening op verbruik en één tracingpijplijn.
Two properties matter in operation. Because history is saved after every call, a forty-step job does not restart from zero when a container is recycled: it loses at most one model call. And because the task list and the traces are visible while the run is going, someone can see where the agent is and what it has done. That is the difference between a chatbot that answers and an agent that finishes a job, and can be interrupted, resumed and audited while it works.Twee eigenschappen tellen in de praktijk. Omdat de geschiedenis na elke aanroep wordt opgeslagen, begint een taak van veertig stappen niet opnieuw als een container wordt herstart: hij verliest hooguit één modelaanroep. En omdat de takenlijst en de traces zichtbaar zijn terwijl de run loopt, kan iemand zien waar de agent is en wat hij heeft gedaan. Dat is het verschil tussen een chatbot die antwoordt en een agent die een taak afmaakt, en die onderweg kan worden onderbroken, hervat en gecontroleerd.
The controls are in the runtime, not in a policy documentDe controles zitten in de runtime, niet in een beleidsdocument
Risk-averse organisations ask the same four questions about any agent. The Harness answers each one with a property of the runtime.Risicobewuste organisaties stellen over elke agent dezelfde vier vragen. De Harness beantwoordt elk daarvan met een eigenschap van de runtime.
In a benchmark by Aqib Sherwani, Principal Architect at Microsoft, reported by InfoQ in August 2026, the same model ran the same task on two runtimes. It shows what happens when the controls are off; it is not a ranking of vendors.In een benchmark van Aqib Sherwani, Principal Architect bij Microsoft, waarover InfoQ in augustus 2026 berichtte, voerde hetzelfde model dezelfde taak uit op twee runtimes. Het laat zien wat er gebeurt als de controles uit staan; het is geen rangschikking van leveranciers.
From laptop to production on FoundryVan laptop naar productie op Foundry
The same agent code runs on a laptop, in a container and on Microsoft Foundry; Microsoft puts the hosting change at two extra lines of code. On Foundry Hosted Agents, the agent gets:Dezelfde agentcode draait op een laptop, in een container en op Microsoft Foundry; volgens Microsoft kost de overstap naar hosting twee extra regels code. Op Foundry Hosted Agents krijgt de agent:
- IsolationIsolatie
- Each session runs in its own sandbox, with dedicated compute, memory and filesystem.Elke sessie draait in een eigen sandbox, met eigen rekenkracht, geheugen en bestandssysteem.
- Billing by useAfrekening op verbruik
- You pay for what runs, and nothing for idle infrastructure between runs.U betaalt voor wat draait, en niets voor stilstaande infrastructuur tussen runs.
- One tracing pipelineEén tracingpijplijn
- Model calls, tool calls and hand-offs flow into the Foundry control plane, and evaluations link back to the traces that produced them.Modelaanroepen, toolaanroepen en overdrachten komen samen in het Foundry-controlevlak, en evaluaties verwijzen terug naar de traces waaruit ze voortkwamen.
- Identity and governanceIdentiteit en governance
- The agent can get a Microsoft Entra Agent ID and be governed through Agent 365 in the Microsoft admin center, like any other identity.De agent kan een Microsoft Entra Agent ID krijgen en via Agent 365 in het Microsoft-beheercentrum worden beheerd, zoals elke andere identiteit.
- ChannelsKanalen
- Publishing to Microsoft Teams and Microsoft 365 Copilot, where your people already work.Publiceren naar Microsoft Teams en Microsoft 365 Copilot, waar uw mensen al werken.
- Your data boundaryUw datagrens
- File memory and file access use a store you supply, so they can sit inside your own Azure subscription.Bestandsgeheugen en bestandstoegang gebruiken opslag die u zelf aanlevert, zodat die binnen uw eigen Azure-abonnement kan blijven.
Microsoft names Twilio, KPMG and Iberdrola among its Hosted Agents customers.Microsoft noemt Twilio, KPMG en Iberdrola onder de klanten van Hosted Agents.
How mature it is, honestlyHoe volwassen het is, eerlijk gezegd
The status as Microsoft Learn (updated in October 2026) and the July 2026 release post describe it:De status zoals Microsoft Learn (bijgewerkt in oktober 2026) en de releasepost van juli 2026 die beschrijven:
| Status | WhatWat | What it meansWat het betekent |
|---|---|---|
| ReleasedUitgebracht | The Harness for .NET and Python (July 2026). Agent Framework 1.0 with long-term support (April 2026). Foundry Hosted Agents, generally available.De Harness voor .NET en Python (juli 2026). Agent Framework 1.0 met langetermijnondersteuning (april 2026). Foundry Hosted Agents, algemeen beschikbaar. | Safe to build on.Veilig om op te bouwen. |
| ExperimentalExperimenteel | Background agents, file access, looping.Achtergrondagents, bestandstoegang, herhalen. | They work, but Microsoft warns when you enable them, and the APIs may change.Ze werken, maar Microsoft waarschuwt bij het aanzetten en de API’s kunnen veranderen. |
| Pre-release | Shell execution, from a separate tools package.Shell-uitvoering, uit een apart toolspakket. | Alpha stage: keep it out of production.Alfafase: houd het buiten productie. |
| PartialDeels | Go: a helper exists, but adds no compaction, looping, shell or background agents by default.Go: er is een helper, maar die voegt standaard geen compactie, herhalen, shell of achtergrondagents toe. | Works, with more hand-wiring.Werkt, met meer handwerk. |
| Not availableNiet beschikbaar | TypeScript and JavaScript.TypeScript en JavaScript. | Use a small .NET or Python service, or call a hosted agent over an API.Gebruik een kleine .NET- of Python-service, of roep een gehoste agent aan via een API. |
Where it fitsWaar het past
- The Harness for long-running, multistep work: research, data processing, task automation. Microsoft’s own default for these.De Harness voor langlopend werk in meerdere stappen: onderzoek, gegevensverwerking, taakautomatisering. Daarvoor is hij Microsofts eigen standaard.
- A plain framework agent for simple or single-turn assistants. A building block, and a smaller project.Een gewone framework-agent voor eenvoudige assistenten, of assistenten met één beurt. Een bouwsteen, en een kleiner project.
- The GitHub Copilot SDK when the job is coding, which it already solves. Agent Framework can delegate to it through a connector, so it is not always either-or.De GitHub Copilot SDK als het werk programmeren is; dat lost hij al op. Agent Framework kan er via een connector aan delegeren, dus het is niet altijd het een of het ander.
- LangGraph or another framework if you have already chosen one. Foundry Hosted Agents runs those too.LangGraph of een ander framework als u daar al voor hebt gekozen. Foundry Hosted Agents draait die ook.
What it changes for your agent projectWat het verandert voor uw agentproject
The Harness moves the line between what has to be built for you and what can be maintained for everyone. Read the stack top to bottom as a request flowing down and a result flowing back up:De Harness verlegt de grens tussen wat voor u gebouwd moet worden en wat voor iedereen onderhouden kan worden. Lees de stapel van boven naar beneden als een verzoek dat naar beneden stroomt en een resultaat dat terug omhoog komt:
We build the parts that are specific to you. Microsoft maintains the parts that are the same for everyone.Wij bouwen de delen die specifiek zijn voor u. Microsoft onderhoudt de delen die voor iedereen hetzelfde zijn.
For you, four things follow:Voor u volgen daar vier dingen uit:
How we start: one workflow, four weeksHoe we beginnen: één workflow, vier weken
We start small enough to approve and real enough to learn from: one workflow, one measurable outcome, released features only.We beginnen klein genoeg om goed te keuren en echt genoeg om van te leren: één workflow, één meetbaar resultaat, alleen uitgebrachte functies.
- One workflow you are willing to shareEén workflow die u wilt delen
- Access to the systems it touchesToegang tot de systemen die hij raakt
- A named owner for four weeksEen vaste eigenaar voor vier weken
- A working agent on Microsoft’s platformEen werkende agent op het platform van Microsoft
- A trace log of everything it didEen tracelog van alles wat hij deed
- A number to decide withEen cijfer om mee te beslissen
Good candidates share a few traits: a repetitive, multistep job that touches two or three systems; people who already work in Microsoft 365, Teams and Azure; someone who will ask what the agent did, and why; and a process owner who can describe the job and measure the outcome.Goede kandidaten hebben een paar dingen gemeen: een terugkerende taak in meerdere stappen die twee of drie systemen raakt; mensen die al in Microsoft 365, Teams en Azure werken; iemand die gaat vragen wat de agent deed, en waarom; en een proceseigenaar die de taak kan beschrijven en het resultaat kan meten.
- Microsoft Learn, Agent Harness, Agent Framework concepts, updated 23 October 2026.concepts, bijgewerkt 23 oktober 2026.
- W. Steyn, The Microsoft Agent Framework Harness is now released, Microsoft Agent Framework blog, 22 July 2026.22 juli 2026.
- W. Steyn, Build your own claw and agent harness with Microsoft Agent Framework, Microsoft Agent Framework blog, 22 June 2026.22 juni 2026.
- InfoQ, Microsoft Agent Framework Harness and Hosted Agents Reach General Availability, August 2026. Also the source for the MBZUAI VILA-Lab line count (“Dive into Claude Code”, April 2026) and the stopping benchmark.augustus 2026. Ook de bron voor de regeltelling van MBZUAI VILA-Lab (“Dive into Claude Code”, april 2026) en de stopbenchmark.
- Microsoft Foundry blog, Build and run agents at scale with Microsoft Foundry at Build 2026, June 2026.juni 2026.
- microsoft/agent-framework on GitHub (MIT licence), and itsop GitHub (MIT-licentie), en de .NET Harness samples.
Microsoft, Azure, Microsoft Foundry, Microsoft 365, Teams and Copilot are trademarks of Microsoft Corporation. GAIA is an independent consultancy.Microsoft, Azure, Microsoft Foundry, Microsoft 365, Teams en Copilot zijn handelsmerken van Microsoft Corporation. GAIA is een onafhankelijk adviesbureau.



