What is an AI harness?
An AI harness is the software around a model that lets it work as an agent. It assembles instructions and context, makes tools available, applies permissions, and manages progress across the steps of a task. Changing the harness can change what the same model is able to do.
AI Explained · Published
On this page
Model, harness, and agent
The model interprets inputs and proposes outputs or actions. The harness connects the model to the files, tools, and rules it can use. The agent is the whole system handling the task. For example, an agent can ask a model to decide which document to inspect, then use its harness to read the permitted file and pass the result back to the model.
What a harness can control
A harness can decide which tools are available, retain progress from earlier steps, ask for approval, enforce time limits, and log what happened. Some harnesses save a progress note so a later session can pick up a long task. These controls differ by product and configuration.
How skills fit in
A skill gives the agent reusable instructions for a type of task, such as checking a report for required sections. The harness determines when it can load those instructions and which tools the agent can use while following them. Try this Claude Skills workflow for an example of packaging step-by-step instructions.
Why the difference matters
Imagine two assistants use the same model. One receives a question and returns a text answer. The other can inspect a sample spreadsheet, run a calculation, and show its work. Their results may differ because the second harness gives the model a controlled way to check the evidence.