AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
agent harness — The scaffolding around a model that turns it into a working agent — the loop, the tools it can call, and the rules for when to stop.
Why it matters
Tool-call failures come in two kinds, wrong tool and wrong arguments, and each needs a different test. The guide shows when to use deterministic checks, a judge, or trajectory comparison, and how to hold the agent harnessThe scaffolding around a model that turns it into a working agent — the loop, the tools it can call, and the rules for when to stop.Full definition → constant across models.