Plain English · The word nobody explains
What is an agent harness?
An agent harness is the software around an AI model that lets it act instead of only talk. It gives the model tools, runs the steps, checks the results, enforces the limits and keeps the record. If the model is the engine, the harness is the car around it: steering, brakes, seatbelt and dashboard.
You will see "harness" in comparisons and documentation and almost never see it defined. It is not a complicated idea, and it is the part that decides whether an agent is useful or dangerous.
The engine and the car
You can put the best engine in the world on a table and it will not take you anywhere. It needs a car around it: steering, brakes, a seatbelt, a dashboard, a fuel gauge. The engine supplies the power. The car decides where the power goes and what happens when something is wrong.
An AI model is the engine. It is very good at reading and writing language, and it cannot open a file, click a button or check whether its own answer was right. The harness is the car. It is the software that gives the model a way to act, and then keeps the acting under control.
People who build agents use the word constantly. People who use agents almost never hear it, which is a shame, because the harness is the part they are really choosing between.
What the harness actually does
Five jobs, and none of them are the model’s job:
- It gives the model tools
A tool is one specific capability: read this folder, write this cell, open this window, search the web. The harness decides which tools exist and what each one is allowed to reach.
- It runs the loop
Send the job, get a proposed step, carry it out, send the result back, get the next step. Over and over until the job is done or a limit is hit. The model never runs this loop; it only answers inside it.
- It checks the results
A command exits with an error, a file is not there, a total does not match. The harness is what notices, and what decides whether to retry, try another way, or stop and tell you.
- It enforces the limits
Which folders are in scope. Which actions need approval. How much money this job may spend. Which actions are blocked outright whatever the model says.
- It keeps the record
Every action, in order, with the result. This is the part that turns “the agent did something” into something you can check afterwards.
One job, with the harness showing at every step
Watch a single job go through, because the harness is easier to see in motion than in a definition. The job, typed the way you would type it:
“Last month’s invoices are in my Downloads folder. Sort them into a folder per supplier, and tell me which ones are missing a receipt.”
The model on its own can read that sentence and write a convincing reply. That is all it can do. Everything that turns the reply into 214 files moved comes from the harness, and you can point at it step by step.
- The harness hands over tools
It offers exactly four: list a folder, read a PDF, create a folder, move a file. No delete. The model cannot reach beyond the list, because the list is the whole world it is given.
- The harness turns talk into steps
The model says "list Downloads". The harness runs it and returns 214 file names. The model says "read the first one". The harness reads it and returns the date and supplier on the page. Two hundred and fourteen times, if that is what it takes. The model never holds the loop; it only answers one turn at a time.
- The harness catches the mistake
Around file sixty, the model says "move invoice-061.pdf to Acme". There is no such file, because it misread a digit. The harness sees the error and hands it back. A harness that skipped this step would have reported the whole folder sorted.
- The harness holds the limit
The model decides the three duplicate invoices should be deleted to tidy up. The harness has no delete tool, so the proposal fails. You get the three duplicates listed instead. Nothing was destroyed, and no one had to notice in time.
- The harness writes it down
Two hundred and eleven files moved, three duplicates left in place, eleven suppliers with no receipt on file. That list is the receipt for the job, and it is why you can hand over a second month without checking by hand.
Now the part that matters when you choose a product. Run the same job with the same model and a worse harness and you get a different story. One that pastes all 214 file names into every step will run out of room or money halfway. One that does not check the move will tell you it finished. One with a delete tool will have deleted the duplicates and mentioned it afterwards, in a summary nobody reads.
Same brain. Different car.
Why two products on the same model behave differently
This is the practical reason to care. Two agents can use exactly the same model and feel like different species, because everything that is not the model belongs to the harness.
One harness pastes every tool result into the conversation, so the model re-reads a two-megabyte log on every step: slower, and the bill grows with each step. Another summarises the log before it goes in. One notices a failed click and stops; another loops on it forty times and then reports success. One pauses before writing to a file; another writes first and apologises in the summary.
None of that is intelligence. All of it is design, and all of it is visible if you know to look for it.
Harness, framework, app: which word when
The words overlap and nobody polices them, so here is the honest version. A framework is a set of building blocks for programmers: they assemble an agent themselves. A harness is the assembled thing: the loop, the tools, the limits and the log, ready to run. An app is what you see: windows, buttons, a chat box.
A product can be all three at once. Saturday is an app you install, and the thing that installs is the harness: the same loop that runs behind the window is available from a terminal. That is why the word appears in its documentation and not on the home page.
How to judge a harness without reading its code
Ask what it does when something goes wrong, because that is where the harness shows. What happens on a failed step: retry, alternative, or stop? What happens when the model proposes something dangerous: blocked, or paused for you? What is in the record, and can it be edited? Can you name the folders and the spending limit, or is it all or nothing?
A product that answers those questions specifically has a harness someone thought about. A product that answers “our AI is very smart” has not understood the question.
Words on this page, in plain English
- Model
- The language engine. Proposes; cannot act.
- Harness
- The software around the model: tools, loop, checks, limits, record.
- Tool
- One capability, such as reading a folder or clicking a button.
- Loop
- The repeat of propose, act, check, until done or stopped.
- Context
- What the model can see on one step. The harness decides what goes in.
- Token
- A chunk of text, roughly part of a word. Model services bill by the token.
The model is the part that talks. The harness is the part that decides what happens next, what is allowed, and what gets written down.
Questions people ask after reading this
Is a harness the same as a framework?
Roughly, when builders use the word. A framework is a set of building blocks for programmers; a harness is the finished set of controls around a model. Products usually call it neither. Saturday calls the whole program a harness because that is what the package installs.
Why does the harness matter if the model is the clever part?
Because the model only proposes. It writes "click Save". The harness decides whether that is allowed, performs it, notices if it failed, retries or stops, and writes down what happened. Two products on the same model can differ completely in cost, safety and reliability because of that layer.
Does a harness make an agent safe?
It is the only part that can. The model cannot be trusted to police itself; it does not know your rules and will not remember them between steps. Approvals, blocked actions, spending caps and the log are all harness features, so "is this agent safe" is really a question about its harness.
What does "context" mean here?
The text the model can see on a given step: your job, its own plan so far, and the results of what it has already done. The harness decides what goes in. One that pastes an entire build log into the context makes the model slower and the bill larger than one that summarises it first.
Where to go next
Next: Examples
An example is worth more than a definition. An agent can sort a messy downloads folder into named subfolders, match a bank export against your books and list what does not reconcile, cut the silences out of a recorded video, or check a circuit board design and explain every rule it broke.