Agent Harness
An agent harness is the software around a model that runs its action loop, supplies context, routes tool calls and returns results for the next step.
Also known as: agentic harness
The model chooses an action; the surrounding software makes that action possible and returns its result. Anthropic separates its harness from the session log and the sandbox that executes code. Other implementations draw the boundary differently, but the harness coordinates the model’s repeated interaction with those services.
In episode 69 at 15:29, Joel Hron describes giving Thomson Reuters’ model access to Westlaw and Practical Law through a simple agentic harness during training. The harness supplies access; training changes how the model uses it.
For example, if an AI agent chooses the right tool but gets an authorization error, inspect the connection and permissions. If working access still leads to repeated wrong tool choices, inspect the instructions, context and model decisions. Traces of requests, tool calls and results help locate the failure before a team changes the wrong component.
Sources
- Anthropic: Scaling Managed Agents — Separates the harness loop, session log and sandbox; describes tool routing and failure recovery.
Go deeper
- Anthropic: Effective harnesses for long-running agents article
Study progress records, environment setup and checks that help an agent resume work across sessions.
From the conversation
-
Thomson 1: The New $40M Legal AI Model | Thomson Reuters Joel Hron -
Agent Memory: The Last Battleground in the AI Stack | Richmond Alake, Oracle -
The AI Framework Era Is Over: Why Context Is the Moat | Jerry Liu of LlamaIndex -
Why Context Alone Isn't Enough for Enterprise AI Agents | WisdomAI CPO Kapil Chhabra -
AI Codes: Product Engineers Decide What to Build | Laurie Voss, Arize -
Genspark's Bet: AI Agents Become the Users of Software | Wen Sang