Guide · 41 episodes · updated 2026-09-06

Agent scaffolding: why the harness matters as much as the model

← all guides

What is agent scaffolding, and why does it matter so much for evaluating AI agents?

Agent is the code around a language model that turns raw text prediction into action: the , tool-call loops, memory formats, retry logic, and orchestration that decide what the model sees and what it is allowed to do. Episodes keep landing here because failures that look like bad reasoning often back to this wrapper, not the underlying : a summarizer quietly deleting safety instructions, a hiding a full attack objective from any single model, a prompt rewrite lifting one model's score by dozens of points. Some papers treat scaffolding as a fixed, hand-crafted artifact; others try to make it learnable, evolvable, or even market-driven, and disagree sharply on whether a central orchestrator helps or becomes the bottleneck.

What agent scaffolding means

Agent scaffolding is the control flow wrapped around a language model that turns it into an agent: the prompt structure, tool-call loop, retry logic, planning steps, and memory plumbing. Two agents built on the same base model can perform very differently depending on scaffolding, which makes it a major confound in capability evaluations.

The episodes (41)

Newest first. Each line is what that paper contributed to the question.

Papers we have not covered yet

Other guides

Intro written by Anthropic's Claude Sonnet 5; episodes selected and edited by Garrett Casey. Episode notes come from each episode's own analysis. How PaperDive is made.