ToolingPublished ExplainedAll news from that day
What an agent framework, or harness, adds to a model
A harness is the loop around a model that routes its tool calls. Knowing what it adds helps you judge agents at work, including the attack tools Britain's cyber agency described.
Check our sources · 12 facts from 4 sources
Image: Anthropic
Key points
- Anthropic describes a harness as the loop that calls Claude and routes its tool calls to the relevant infrastructure, and a sandbox as where Claude can run code.
- Agents are typically models using tools in a loop, based on feedback from their environment, Anthropic writes. Tasks often end on completion or at a set stopping condition.
- In the ShellBench test of 12 models in 5 agent harnesses, the choice of model affected performance more than the choice of harness.
What happened
The attacks Britain's cyber agency warned about on 24 November run on software wrapped around a model. The agency's name for it is an agentic offensive framework: it lets AI models use off-the-shelf security tools to probe digital systems for weaknesses.
Typically such a framework has a language model plan a sequence of steps, uses the tools against a target, then retrieves the results and decides what to do next.
The same shape appears in ordinary agents. Anthropic draws a line between workflows, where models and tools follow predefined code paths, and agents, where the model directs its own process and tool use.
Agents are typically just models using tools based on feedback from their environment in a loop, Anthropic writes. At each step they need ground truth, such as a tool result or the output of code, and they often stop on completion or after a set number of turns.
Harness is a word for the part around the model. In its post on Managed Agents, Anthropic describes the harness as the loop that calls Claude and routes Claude's tool calls to the relevant infrastructure, separate from the sandbox where code runs.
Frameworks make the plumbing easier: calling the model, defining and reading tools, and chaining calls. Anthropic warns that the extra layers can hide the underlying prompts and responses, and suggests starting with the model's API directly.
What the wrapper adds shows in the NCSC's comparison with an attacker working without tools. An agent with a framework works quickly, tries every endpoint and credential it finds, learns from error messages and is cheap to run at scale.
The model still counts for more, at least in one test. In the ShellBench test of 12 models in 5 harnesses, model choice affected performance more than harness choice. Cost differed too: a run cost an estimated $0.29 on average in Pi and $0.53 in OpenClaw, for the models with a cost in all five.
Autonomy has a price. Anthropic says agents mean higher costs and the potential for errors to compound, and recommends testing in sandboxed environments with guardrails.
Underlined sentences link to the facts we checked. Dotted words open a short explainer.
Fact 9 of 12 · from Anthropic, 19 Dec 2024
The autonomous nature of agents means higher costs, and the potential for compounding errors. We recommend extensive testing in sandboxed environments, along with the appropriate guardrails.
Fact 10 of 12 · from Anthropic, 8 Apr 2026
Anthropic's Managed Agents post describes a harness as the loop that calls Claude and routes Claude's tool calls to the relevant infrastructure, and a sandbox as an execution environment where Claude can run code and edit files.
What it means for you
Our viewBefore adopting a framework, build one task straight against the model's API, as Anthropic suggests, so you can see the prompts and responses that extra layers may hide.
If the framework still earns its place, set a limit on how long the agent may run and test it in a sandbox with guardrails, since errors can compound and costs rise with autonomy. Then compare the setups on a task you do often, recording the cost per run and the share of runs that succeed.
It adds no new facts.
Your reaction
We count reactions per story and day, never who reacted. The counts help us choose what goes in the monthly issue. If you are signed in, your own page shows yours too.
We count reactions per story and day, never who reacted. They help choose what goes in the monthly issue.
Check our sources
Every sentence above is checked against these 4 sources.
1 Familiar weaknesses, exploited faster: defending against agentic cyber attacks
Open the source archived copy-
The NCSC says an agentic offensive framework allows AI models to interact with a set of off-the-shelf cyber security tools for the purpose of probing digital systems for weaknesses.
citeAn agentic offensive framework allows AI models to interact with a set of off-the-shelf cyber security tools for the purpose of probing digital systems for weaknesses.
-
The NCSC says that typically such a framework uses an LLM to plan a sequence of attack steps, uses the tools against a target, retrieves the results and decides what to do next.
citeTypically, a framework will: use an LLM to plan a sequence of attack steps; use the tools against a target; retrieve the results and decide what to do next
-
The NCSC says that compared with a human attacker without tools, an agent plus a framework works quickly, tries every endpoint, parameter and credential it finds, learns from failures by reading error messages, and is cheap to run at scale.
citeCompared with a human attacker working without tools, an agent plus a framework: works quickly ... is exhaustive in its search (it will try every endpoint, parameter and credential it finds) instantly learns from failures (it creates memory, reads error messages, responds and adapts its next attempt) is cheap to run, at scale
2 Building effective agents
Open the source archived copy-
Anthropic distinguishes workflows, where LLMs and tools are orchestrated through predefined code paths, from agents, where LLMs dynamically direct their own processes and tool usage.
citeWorkflows are systems where LLMs and tools are orchestrated through predefined code paths. Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage
-
Anthropic says agents are typically just LLMs using tools based on environmental feedback in a loop.
citeThey are typically just LLMs using tools based on environmental feedback in a loop.
-
Anthropic says agents need to gain ground truth from the environment at each step, such as tool call results or code execution, and the task often ends on completion or at stopping conditions such as a maximum number of iterations.
citeit's crucial for the agents to gain ground truth from the environment at each step (such as tool call results or code execution) ... The task often terminates upon completion, but it's also common to include stopping conditions (such as a maximum number of iterations)
-
Anthropic says frameworks simplify low-level tasks such as calling LLMs, defining and parsing tools and chaining calls, but often create extra layers of abstraction that can obscure the underlying prompts and responses.
citeThese frameworks make it easy to get started by simplifying standard low-level tasks like calling LLMs, defining and parsing tools, and chaining calls together. However, they often create extra layers of abstraction that can obscure the underlying prompts and responses
-
Anthropic suggests developers start by using LLM APIs directly.
citeWe suggest that developers start by using LLM APIs directly
-
Anthropic says the autonomous nature of agents means higher costs and the potential for compounding errors, and recommends extensive testing in sandboxed environments with appropriate guardrails.
citeThe autonomous nature of agents means higher costs, and the potential for compounding errors. We recommend extensive testing in sandboxed environments, along with the appropriate guardrails.
3 Anthropic engineering post on Managed Agents
Open the source archived copy-
Anthropic's Managed Agents post describes a harness as the loop that calls Claude and routes Claude's tool calls to the relevant infrastructure, and a sandbox as an execution environment where Claude can run code and edit files.
cite
4 ShellBench: What Matters More for AI Agents, Models, or Harness for Everyday Tasks
Open the source archived copy-
The ShellBench paper evaluates 12 models across 5 agent harnesses and reports that model choice impacts performance more than harness choice.
citeWe evaluate 12 models across 5 agent harnesses ... We find that model choice impacts performance more than harness choice
-
The ShellBench paper reports that averaged over the ten models with a cost in all five harnesses, a run costs an estimated $0.29 in Pi and $0.53 in OpenClaw.
citeAveraged over the ten models with a cost in all five harnesses, a run costs $0.29 in Pi, $0.32 in Codex, $0.33 in Hermes, $0.51 in Claude Code, and $0.53 in OpenClaw
Every sentence above is checked against these 4 sources. Each fact has its own address you can cite.
Source 1 · UK National Cyber Security Centre · 24 Nov 2026
Familiar weaknesses, exploited faster: defending against agentic cyber attacks
The NCSC says an agentic offensive framework allows AI models to interact with a set of off-the-shelf cyber security tools for the purpose of probing digital systems for weaknesses.
An agentic offensive framework allows AI models to interact with a set of off-the-shelf cyber security tools for the purpose of probing digital systems for weaknesses.
The NCSC says that typically such a framework uses an LLM to plan a sequence of attack steps, uses the tools against a target, retrieves the results and decides what to do next.
Typically, a framework will: use an LLM to plan a sequence of attack steps; use the tools against a target; retrieve the results and decide what to do next
The NCSC says that compared with a human attacker without tools, an agent plus a framework works quickly, tries every endpoint, parameter and credential it finds, learns from failures by reading error messages, and is cheap to run at scale.
Compared with a human attacker working without tools, an agent plus a framework: works quickly ... is exhaustive in its search (it will try every endpoint, parameter and credential it finds) instantly learns from failures (it creates memory, reads error messages, responds and adapts its next attempt) is cheap to run, at scale
Source 2 · Anthropic · 19 Dec 2024
Building effective agents
Anthropic distinguishes workflows, where LLMs and tools are orchestrated through predefined code paths, from agents, where LLMs dynamically direct their own processes and tool usage.
Workflows are systems where LLMs and tools are orchestrated through predefined code paths. Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage
Anthropic says agents are typically just LLMs using tools based on environmental feedback in a loop.
They are typically just LLMs using tools based on environmental feedback in a loop.
Anthropic says agents need to gain ground truth from the environment at each step, such as tool call results or code execution, and the task often ends on completion or at stopping conditions such as a maximum number of iterations.
it's crucial for the agents to gain ground truth from the environment at each step (such as tool call results or code execution) ... The task often terminates upon completion, but it's also common to include stopping conditions (such as a maximum number of iterations)
Show all 6 factsShow fewer facts
Anthropic says frameworks simplify low-level tasks such as calling LLMs, defining and parsing tools and chaining calls, but often create extra layers of abstraction that can obscure the underlying prompts and responses.
These frameworks make it easy to get started by simplifying standard low-level tasks like calling LLMs, defining and parsing tools, and chaining calls together. However, they often create extra layers of abstraction that can obscure the underlying prompts and responses
Anthropic suggests developers start by using LLM APIs directly.
We suggest that developers start by using LLM APIs directly
Anthropic says the autonomous nature of agents means higher costs and the potential for compounding errors, and recommends extensive testing in sandboxed environments with appropriate guardrails.
The autonomous nature of agents means higher costs, and the potential for compounding errors. We recommend extensive testing in sandboxed environments, along with the appropriate guardrails.
Source 3 · Anthropic · 8 Apr 2026
Anthropic engineering post on Managed Agents
Anthropic's Managed Agents post describes a harness as the loop that calls Claude and routes Claude's tool calls to the relevant infrastructure, and a sandbox as an execution environment where Claude can run code and edit files.
Source 4 · arXiv · 24 Nov 2026
ShellBench: What Matters More for AI Agents, Models, or Harness for Everyday Tasks
The ShellBench paper evaluates 12 models across 5 agent harnesses and reports that model choice impacts performance more than harness choice.
We evaluate 12 models across 5 agent harnesses ... We find that model choice impacts performance more than harness choice
The ShellBench paper reports that averaged over the ten models with a cost in all five harnesses, a run costs an estimated $0.29 in Pi and $0.53 in OpenClaw.
Averaged over the ten models with a cost in all five harnesses, a run costs $0.29 in Pi, $0.32 in Codex, $0.33 in Hermes, $0.51 in Claude Code, and $0.53 in OpenClaw
Topics
The morning email
On the mornings we publish: the three top stories and up to four short ones. Free.
We email you a link to confirm. An issue may include one sponsor, always labelled Sponsored · Advertisement. Our emails count opens and clicks, not who made them. Unsubscribe in one click. What we keep