AI Field Guide
Concepts

Harness

Updated 2026-10-20

Questions this answers

  • What do people mean by an "agent harness"?
  • Isn't the AI agent just the model?
  • Why does the same Claude model feel different in Copilot, Claude Cowork and Claude Code?
  • Should we pick our AI tool by the model it runs?
  • What's actually being built when someone builds an agent?

The Fix

A harness is everything wrapped around a model that turns it into a working agent: the tools it can call, the files and data it can reach, what it remembers, what it's allowed to do without asking, and the loop that lets it act, check the result and go again. The model chooses the next step, and the harness sets what it can see and do.

Claude Code is a good example to look inside. Its harness gives the model tools to read, write and edit files, search by keyword and file pattern, run code, search the web and call connectors. It also loads your skills and project files, asks permission before risky actions, and keeps sessions you can resume. Anthropic sells the same harness two other ways: the Agent SDK, to build it into your own product, and Managed Agents, where Anthropic hosts it and runs each session in a sandbox.

This is why the same model can feel different from one app to the next. Trainees ask us why a Claude model gives them a different result in Microsoft Copilot than in Claude's own app. The model is the same. The harness differs: which connectors IT has switched on, whether a CRM connector is read-only, how much of a long chat it keeps, and which settings your company controls. When people stop using Copilot, it's often because its harness can't reach their data. Our post on how to drive Copilot adoption covers the fix.

When to Use It

Look at the harness when you compare AI tools. "We use Claude" or "we use GPT" tells you little about what a tool can do for your team. Ask these instead:

  1. What can it connect to, and can it write or only read?
  2. Where does it work: a chat window, your files, or a sandbox of its own?
  3. What does it do without asking, and can you change that?
  4. How does it handle long work: does it summarize, start fresh, or lose the thread? See context engineering.

If you build agents, the harness is most of the work. Picking a model takes an afternoon. Deciding what it can touch and when it stops takes the rest.

The harness matters in hiring too. If one candidate does a take-home with a $200 plan, several connectors and a coding agent, and another uses a free chat tool, a lot of the difference in their work comes from the harness. In our AI skills assessments, we standardize the model and the harness for each assessment, so every candidate works in the same environment and reviewers can compare the judgment each one showed.

Best Practices

Related