An agent harness is the software wrapped around an AI model that gives it tools, memory, instructions, and limits, so the model can act as an agent rather than only answer questions.
An AI model on its own can only produce text. To book a meeting, fix a file, or work on a task for hours, it needs software around it that gives it tools, feeds it the right information, and sets limits. That surrounding software is the agent harness. Anthropic's documentation for its coding product puts it this way: "Claude Code is the harness; Claude is the model inside it."1 LangChain, a company that makes agent software, sums it up as "Agent = Model + Harness."2
Here is an everyday comparison. A horse supplies the power, and the harness and reins connect that power to the cart and let the driver steer. A new model is like a stronger horse. The harness decides what the agent can see, which tools it can reach, and when it has to stop.
The word is old. A 2026 research paper on the term notes that "In English, harness comes from the Old French harneis (also harnois, twelfth century)."3 In software, the term goes back to testing, where a test harness is "the set of scripts, mocks, stubs, and infrastructure that runs tests."3
The phrase "agent harness" spread in late 2025. In October 2025, LangChain's chief executive, Harrison Chase, wrote: "'Agent Harness' is a term I'm just starting to see be used more," and added, "I didn't come up with it."4 We found no source that credibly claims to have coined it. By 2026 the paper above reported that "The term agent harness now circulates widely in software engineering with generative artificial intelligence."3
All four sources agree on the basic split: the model does the reasoning, and the harness is everything around it. Where they differ is how much counts as a harness. Trivedy's definition takes in everything that isn't the model.2 Macedo's is stricter: a system counts only if it meets all four of his conditions.3 Schmid's focuses on keeping long tasks reliable.5
The strongest objection is that the word is still too vague to be useful. Chase wrote, "I don't think there is a clear definition of framework vs runtime vs harness."4 Macedo agrees: "The usage is loose and polysemous," meaning the word is used loosely and for several different things.3 This objection is fair. It doesn't make the idea less useful, but it does mean that when a vendor says "harness," you should ask exactly what is included.
In October 2026, a team mostly from Google Cloud AI Research, with a first author from Northwestern University, posted Harness², a method that improves the harness and leaves the model alone. They write that "LLM agents' capabilities depend not only on their underlying models but also on their execution harnesses," and that in their method "Model weights and the improvement algorithm remain fixed."6 They report "gains of up to 11.5 points on WorkBuddy-Bench," a test of agents on work tasks.6 These are the authors' own results in a preprint and have not been independently checked.
An earlier example shows why harnesses matter for long tasks. Anthropic's engineers described the problem this way: "Imagine a software project staffed by engineers working in shifts, where each new engineer arrives with no memory of what happened on the previous shift."7 Their fix was a change to the harness, not to the model.7
When you buy or build an agent, you are getting two things: a model and a harness. Most of the decisions a leader cares about live in the harness: what the agent can see, which tools it can use, what it remembers, and when it has to stop. Anthropic's glossary lists "permission gating" among the things the harness provides.1
Our view, which we hold as a hypothesis to test: the harness is where an organization puts its rules into practice, including which permissions an agent gets and which actions need a person's approval. If we find that most failures come from the model rather than from the harness around it, we would change our mind.
Question to ask your team: For each agent we run, who owns its harness, and who decides what it can see, what it can do, and when it must stop and ask a person?![]()