Harness, Scaffold, and the AI Agent Terms Worth Getting Right

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Shared vocabulary like 'harness = the execution loop, scaffold = what the model works from' lets practitioners and teams discuss, build, and evaluate agents without talking past each other.

Read this as

Hugging Face published a glossary of AI agent terms after confusion at ICLR 2026. It explains that a model (like Claude) is just a text-in, text-out system, while the 'harness' is the software loop that runs it, calls tools, and decides when to stop. Products like Claude Code and Codex combine a specific model with a specific harness, which is why they behave differently.

As agent products (Claude Code, Codex, Cursor, Antigravity CLI) proliferate, terminology is inconsistent, complicating vendor evaluation. The glossary's key point for buyers: the model, the harness, and the product are three different things, two products on the same model can differ entirely based on harness choices, so compare products, not just underlying models.

The glossary defines scaffold (system prompt, tool descriptions, parsing, context management) versus harness (the execution loop calling the model, handling tool calls, deciding termination), formalizing Agent = Model + Harness. It distinguishes orchestrators managing multiple sub-agents, and covers RL training vocabulary: environments, trainers like TRL's GRPOTrainer, rollouts/trajectories, and rewards (verifiable vs learned, sparse vs dense, rubric objects in OpenEnv and Verifiers). It applies these distinctions at both training and inference time.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Code Codex ICLR 2026 Hugging Face TRL GRPOTrainer Antigravity CLI Cursor

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading