Hugging FaceSergio Paniego, Aritra Roy GosthipatyExplainer
Harness, Scaffold, and the AI Agent Terms Worth Getting Right
Summary
AI-agent terminology has outpaced shared definitions, leaving terms such as harness and scaffold blurred across frameworks and contexts. The glossary separates the model, which produces text but has no memory or execution loop, from scaffolding, which defines instructions, tools, output parsing, and context management, and the harness, which runs model calls, routes tool use, and decides when to stop. It presents an agent as a model plus the surrounding system that lets it act repeatedly, while distinguishing tools, skills, sub-agents, and orchestrators by their roles. For training, it defines the environment, trainer, rollout, and reward, including verifiable or learned scores and sparse or dense feedback. Because usage is not universal, the glossary offers a practical mental model rather than enforcing one vocabulary.
Context
AI-agent vocabulary is evolving quickly, with terms being mixed together, reused in different ways, renamed, or used without consistent explanations. The lack of universally accepted definitions creates confusion for newcomers and practitioners, particularly around the distinction between harness and scaffold.
Approach / What changed
The glossary provides a practical mental model for commonly used agent concepts. It distinguishes the model, scaffolding, and harness; explains related concepts such as context engineering, policy, tools, skills, and sub-agents; and separately defines training terms including RL environment, trainer, rollout, and reward.
Takeaways
A model produces text but has no memory between calls or execution loop; scaffolding and a harness provide the instructions, tools, context management, and execution needed for agent behavior.
The harness runs model calls, handles tool calls, and decides when to stop, while an orchestrator coordinates multiple agents that may each run their own harness.
In training, a rollout records a complete agent run and its rewards, while the trainer scores many episodes and uses those results to update the model's weights.
Source and freshness
- Source
- huggingface.co
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.