An agent harness is everything around the model that turns a prediction into finished work. You rent the model, and so does your competitor. The harness is the part you own.
Key takeaways
- A harness has five parts: the loop, tools, context, permissions and verification.
- The model is a shared input any competitor can rent. The harness is the part you own.
- Ask any agent vendor to show you a failed run and what stopped it.
An agent harness is everything around the model that turns a prediction into finished work: the loop that calls the model, the tools it may use, the context it is handed, the permissions it runs under, and the checks that decide whether the result counts. The model supplies the reasoning. The harness decides what that reasoning is allowed to touch and when the job is done.
My claim: for most companies, the harness will matter more than the model. You rent the model from a lab, and so does your competitor. The harness is the part you build, and the part that holds what your company knows.
What is inside a harness?
Five parts show up in every serious one I have seen or built.
- The loop. Code that sends a request to the model, reads the reply, runs any tool the model asked for, and sends the result back, until the task ends.
- Tools. The actions the agent can take: read a record, send a draft, run a query. Each tool is a contract with a name, inputs and limits.
- Context. What the agent is told before it starts: instructions, the relevant slice of company data, and memory from earlier work.
- Permissions. Which data the agent may see and which actions need a person to approve them.
- Verification. The checks that run after the agent says it is finished.
Most demos have the first three. Production needs all five, and the last two are where the months go.
Why does the harness matter more than the model?
Three reasons.
The model is a shared input. Any company can call the same frontier model tomorrow morning. An advantage that anyone can buy by the token is a cost, like electricity.
The same model behaves differently in different harnesses. Give a model a vague instruction, forty overlapping tools and no check on its output, and it will produce confident mistakes. Give the same model a narrow task, four well described tools and a check that fails loudly, and it will do useful work. The difference is engineering you own.
The harness is where trust is earned. A buyer does not ask which model you use. A buyer asks what happens when the agent is wrong. The answer lives in permissions and verification, and nowhere else.
What does that look like in practice?
When I built AlexDLY, the rule that took the most work was the simplest to say: nothing is called Live unless a verified run stored evidence for it. A person cannot set the status by hand, and neither can an agent. The badge expires after seven days without a fresh pass.
That rule is harness, and it has nothing to do with model quality. It exists because an agent's own report that it finished is the least reliable signal in the system. I learned that the slow way, by reading reports that said "done" for work that had never touched a real service.
Two other rules from the same build:
- An agent that is not declared in the registry cannot run.
- Sensitive data only goes to model providers cleared for it, and an unknown provider is refused by default.
Each one says no by default. That is the pattern I would look for in any platform you are asked to buy.
What would change my mind?
If one lab ships a model so far ahead that it works reliably with almost no structure around it, and keeps that lead for years, the harness matters less. I do not see that in how these systems are sold today. The labs themselves ship harnesses, and they keep adding to them.
What should a buyer ask?
Ask the vendor to show you a failed run. Ask what stopped it, who was told, and what the agent was not allowed to do. A vendor with a real harness will have that screen ready. A vendor without one will show you the demo again.
Is an agent harness the same as an agent framework?
No. A framework is a library for building agents. A harness is the working system around a model in production, including the permissions and checks a framework leaves to you.
Do I need to build my own harness?
Most companies will buy one and configure it. What you cannot buy is the part that encodes your rules: what an agent may see, what needs approval, and what proof you accept that the work is finished.
Does a better model make the harness unnecessary?
A better model makes fewer mistakes. It does not decide who may see payroll data or whether a customer email needs approval. Those are company decisions, and the harness is where they are enforced.
See the platform these notes come from
I built AlexDLY as its only engineer, directing AI coding agents. The portfolio shows the six rules its code enforces, with the file behind each one.
Open the portfolio