PhyseaWiki How AI actually works Papers physea.ai →

AI harnesses

What is an AI harness and what is inside it?

An AI harness is the software around a language model that turns it into an agent: the loop that runs it, the tools it can call, the memory it carries, and the permissions that contain it. The model is the engine; the harness is the car.

Last updated 2026-06-15 · Physea Labs

An AI harness is the software a model runs inside. The model supplies the reasoning; the harness supplies everything that lets the reasoning touch the real world: the loop that keeps it going, the tools it can call, the memory it carries between steps, and the permissions that keep it in bounds. The common shorthand is that the model is the engine and the harness is the car. As Addy Osmani puts it, a raw model is not an agent; it becomes one once a harness gives it state, tool execution, feedback loops, and enforceable constraints.[1]

THE HARNESS (the car) Model the engine Agent loop Tools & MCP Context & memory Permissions
The model is the engine. The harness is the car around it: the loop, tools, memory, and the safety controls.

The pieces around the model are what differ from one tool to the next:

  • The agent loop that runs reason-act-observe (see AI agents).
  • Tools and MCP: the verbs the model can use. The tool definitions live in the harness, not the model (see tool use and MCP).
  • Context and memory: what the harness shows the model and what it remembers.
  • Permissions and safety: plan mode, approval steps, sandboxes (see rules and guardrails).

This is why benchmark scores, which measure the model, do not tell the whole story. The harness decides how well that model can see your code and act on it.

References

  1. Agent Harness Engineering — Addy Osmani