What Is An Agent Harness? | Aishwarya Patil
Humanitarians AI Fellow Aishwarya Patil defines the agent harness as the operational layer around a model. The video uses a CPU, RAM and operating system analogy, separates harnesses from frameworks and SDKs, and points to market evidence that harnesses are real infrastructure.
An agent harness is the layer of software that turns a language model into something that can actually get work done reliably over hundreds of steps. In this video, Humanitarians AI Fellow Aishwarya Patil explains what a harness is, how it relates to the model and the agent, and why it has become infrastructure that businesses pay for.
The problem a harness solves
The video opens with a point about evaluation. A 1% difference on a leaderboard cannot tell you whether a model drifts off track after 50 steps. That drift over long tasks is the real problem a harness exists to solve. A model can look strong on a benchmark and still lose its way once a task runs long.
The computer analogy
The explanation uses a computer as a model. The language model is the CPU, which supplies raw processing power. The context window is the RAM, the limited and volatile working memory. The agent harness is the operating system: it curates context, handles the boot sequence and provides standard drivers for tool calls. The agent itself is just the application running on top. The video notes that these pieces get confused constantly, although they are different things.
Harness, framework and SDK
Three terms are often mixed up. A framework gives you building blocks to assemble an agent's logic. An SDK is a vendor's library for calling the features of one specific model. A harness is the full operational wrapper, the thing that runs, constrains and observes the agent once it has been built. The distinction is between building the agent and operating it.
Why it became real infrastructure
Without a harness, a model in production meets real problems: API timeouts, memory limits, tool calls made out of sequence, and references to functions that do not exist. A harness turns a powerful but non-deterministic model into something enterprise-ready, which the video describes as governed, observable and verifiable. Those qualities are what organizations need before relying on an agent for real work.
The market signal
The video offers evidence that this is not just theory. It says companies selling domain-specific harness layers, named as Harvey, Legora and Sierra, each crossed one hundred million dollars in annual recurring revenue in 2026. The control that a good harness gives over how an agent runs has, in the video's words, become something real businesses will pay real money for.
Key takeaways
- A harness is the software layer that lets a model work reliably over hundreds of steps.
- Leaderboard differences do not show whether a model drifts after 50 steps.
- In the computer analogy, the model is the CPU, the context window is the RAM and the harness is the operating system.
- The agent is the application running on top of the harness.
- A framework supplies building blocks, an SDK wraps one vendor's model features, and a harness runs, constrains and observes the agent.
- Production problems include API timeouts, memory limits, out-of-sequence tool calls and references to functions that do not exist.
- A harness makes a non-deterministic model governed, observable and verifiable.
Try it yourself
Before building your next agent, ask what is actually managing its context, its tool call errors and its long-running state. Write down the answer for each one. If the honest answer is that nothing manages it and the model just handles it, that is the harness you do not have yet, and it is worth designing before you scale the agent up.
Chapters
Full transcript(auto-generated, with timestamps)
Introduction
[0:00]Hi, I'm Aishwarya from the Microsoft team. This video is about agent harnesses, the real layer of software that turns a language model into something that can actually get work done reliably over hundreds of steps. A 1% difference on a leaderboard can't
The Real Problem
[0:16]Tell you whether a model drifts off track after 50 steps. That's the real problem a harness exists to solve.
The Real Computer Analogy
[0:23]Method, think of it like a computer. The model is the CPU, raw processing power. The context window is the RAM, limited volatile working memory. The agent harness is the operating system. It curates context, handles the boot sequence, provides standard drivers for tool calls. The agent itself is just the application running on top. These three get confused constantly, but they are
Harness vs. Framework vs. SDK
[0:48]Real different things. A framework gives you building blocks to assemble an agent's logic. An SDK is a vendor's library for calling one specific model's features. A harness is the full operational wrapper, the thing that runs, constrains, and observes the agent once it's actually built. Without a
Why This Became Real Infrastructure
[1:07]Harness, a model in production hits real problems. API timeouts, memory limits, tool calls out of sequence, references to functions that don't exist. A harness turns a powerful but non-deterministic model into something enterprise-ready, governed, observable, and verifiable. This isn't theoretical. Real companies
The Real Market Signal
[1:28]Selling domain-specific harness layers, Harvey, Legora, Sierra, each crossed a hundred million dollars in annual recurring revenue in 2026. The control a good harness gives you over how an agent actually runs has become something real businesses will pay real money for. Your turn. Before
Your Turn: Audit Your Agent's Architecture
[1:48]Building your next agent, ask what's actually managing its context, its tool call errors, and its long-running state. If the honest answer is nothing, the model just handles it. That's the harness you don't have yet. What is an
Outro
[2:01]Agent harness? Built with Claude for humanitarian's AI.
More from Humanitarians AI Fellows
3:18RAG Chunking Explained: Fixed vs Recursive Splitting and Retrieval Quality | Ameya
1:53What Is AI Red Teaming | Aishwarya Patil
3:14RAG Embeddings: Mean Pooling, Memory Bandwidth, and the 12x Batching Speedup | Ameya
4:14AI Status Reports: How to Use AI Summaries Without Sending Confident Lies | Sanjana
3:25RAG Evaluation in Production: CI and CD Golden Set Gates and Live Monitoring
3:21