Insights · 2x10

Agent harness: the concept that turns an LLM into an agentic system

AI in Business · Last checked: 12/05/2026 · 4 min read · Moritz Miedler

When it comes to AI agents, everyone talks about the model. But whether an agent works reliably depends just as much on what is built around the model: the harness. What that is, explained with a simple picture.

When people talk about AI agents, it is almost always about the model: which language model (LLM), which version, which provider. But whether an agent works reliably day to day depends just as much on what is built around the model. There is a term for that: agent harness.

The short answer: Picture the language model as a very smart new employee sitting in a room with no phone, no computer and no keys. He can think and write notes, nothing more. The agent harness is everything you organize around him: someone who takes his notes, checks whether he is allowed to do what they ask, carries it out and brings him the result, and the rules for how this happens. Only with the harness does a language model become an agentic system.

What does an agent harness do?

A language model can only generate text. On its own, it can’t query a database or send an email. In the picture: the employee in his room can only write notes. One note might say, for example, “I need the price and delivery time for item 4711”.

The harness takes this note, checks whether the employee is allowed to know this, looks it up in the ERP and puts the answer on his desk. Then the employee writes the next note. This repeats until the task is done. Technically, this is software that sits between the language model and your systems.

What is a tool?

Tools are the jobs the model may hand out. Each tool is a single job, for example “look up price and delivery time for an item number” or “save draft quote”. In the picture: the employee has a list of the jobs he may write on a note. For each job, it is defined what he has to specify and what he gets back.

Anything that no job on the list covers doesn’t get done, no matter how well he argues for it on his note. A job like “Do whatever this note says” would, however, open up almost everything. In technical terms, that is a tool that runs arbitrary code. What matters, therefore, is how much each tool can do technically.

How well an agent works depends heavily on how the tools are divided up and described: what exactly each tool does and when the model should use it. Anthropic, the maker of the Claude models, recommends designing them as carefully as a UI (user interface) for people.

What does the harness define?

The harness defines what the agent sees and is allowed to do. In the picture, these are the rules for how the notes are handled. The employee doesn’t need to know them; they apply anyway:

  • Which tools he gets: which jobs he may hand out, such as having prices looked up, but not having invoices posted.
  • What he gets to see: which documents are on his desk for each task. The more targeted that selection, the better the answers (more on this in Why AI hallucinates, and why that’s no reason not to use it).
  • What he needs approval for: which jobs are done without asking and which a person has to sign off on first.
  • When to stop: after how many rounds the work is stopped if he isn’t getting anywhere.
  • What gets recorded: a log of every action.

That’s why guardrails belong in the harness and in the connected systems and not only in the prompt, the written instruction to the model. The employee follows an instruction most of the time, but not always. Anything that no tool covers and no permission allows doesn’t get done, no matter what the prompt says.

Where do you go from here?

What permissions an agent should get through its tools is covered in Securing AI agents: which permissions an agent gets. When an agent pays off compared with a fixed workflow is covered in AI agents for business: when a fixed workflow is enough.

Sources

Insights · AI in Business2x10 · Vienna