Two Hills: Weights and Harnesses

Published 2026-10-11

Evaluating LLM Agents, part 1. Series page and full outline.

Defers: how to build the eval itself to Parts 2 through 5, judge calibration to Part 7, and statistics for small eval sets to Part 8 (

outline).

When a language model system isn't good enough, there are two kinds of change that could fix it. You can change the weights, or you can change the agent harness, the code around the model that assembles its prompt, exposes its tools, manages context and memory, and runs the loop that decides when to call a tool, retry, or stop. Claude Code and SWE-agent are harnesses in this sense, and Anthropic's engineering team is explicit that when they evaluate an agent, they're evaluating "the harness and the model working together" (Anthropic, 2026). An evaluation harness, the infrastructure that runs the evals, is a separate thing, and so is the sandbox the agent acts in, which Part 5 treats as part of the environment.