AI觉醒星球
Awakening is here
Knowledge File / AI技能杠杆
2026-05-25 0 浏览 会员

趋势解读:Harness,Scaffold,and the AI Agent Terms Worth,解读最新 AI 进展

AI Agent领域术语混乱,本文梳理了如“harness”和“scaffold”等关键概念,帮助从业者建立实用的心理模型。

SOURCE / AI技能杠杆 MIN / 4 ACCESS / 会员 POST / 2026-05-25 08:00:00

原贴

查看原文
作者:Hugging Face Blog 来源站点:huggingface.co 原贴时间:

原文

When a field evolves quickly, its vocabulary often evolves faster than its shared understanding. Terms start to blur, get reused in different contexts, or become shorthand for ideas that are never fully explained. We are currently seeing this happen in the field of AI Agents, where concepts are getting mixed together, some are renamed, and others are widely used for a few months before quietly disappearing. This can be overwhelming for newcomers, and even for practitioners trying to keep up with the latest developments. After ICLR 2026, one of us ( @ariG23498 ) posted a question that captured this confusion well: "What do you mean by the terms 'harness' and 'scaffold' in the context of agents? I have heard a lot of explanations while I was at ICLR, but I could not understand why they did not converge to a single explanation." "What do you mean by the terms 'harness' and 'scaffold' in the context of agents? I have heard a lot of explanations while I was at ICLR, but I could not understand why they did not converge to a single explanation." This glossary is our attempt to ground the terms that keep coming up without clear, consistent explanations. It is not meant to be a comprehensive dictionary of every term in the field. Instead, we focus on the concepts that are often mixed up, reused in different ways, or assumed to be obvious when they are not. Most of these terms come up whether you're building an agent, deploying one, or just using tools like Claude Code, Codex, or Hermes Agent. The last section covers concepts specific to training models, which is more relevant if you work on that side of things. Many of these terms don't have universally accepted definitions yet, and different frameworks use the same word differently. The goal here is not to enforce one correct vocabulary, but to provide a practical mental model that makes discussions easier to follow. Many of these terms don't have universally accepted definitions yet, and different frameworks use the same word differently. The goal here is not to enforce one correct vocabulary, but to provide a practical mental model that makes discussions easier to follow. Training RL Environment Trainer Rollout Reward The model is the LLM: it takes text in and produces text out (e.g., Claude, Qwen, GPT, Kimi, DeepSeek…). On its own, it has no memory between calls, and no loop. The model can express the intent to call a tool, but it needs a harness to actually execute it. It answers one prompt and stops. Wrap it in scaffolding and a harness and it becomes an agent. The behavior-defining layer around the model: system prompt, tool descriptions, how the model's responses get parsed, what it remembers across steps (context management). It shapes how the model sees the world and acts in it, whether during training or at inference. Products like Claude Code, Codex, and Antigravity CLI call the whole thing a harness. Claude Code's own docs say it directly: "Claude Code serves as the agentic harness around Claude." That's the broad use: harness means everything that isn't the model. The scaffold/harness distinction matters most when you need to reason about them separately, as in a training pipeline. You'll also hear "scaffold" used more broadly to cover any infrastructure the harness relies on: hooks, runtime configuration, even directory structure.

中文翻译

当一个领域快速演进时,其词汇往往比共识演进得更快。术语开始模糊,在不同语境中被复用,或成为从未被充分解释的概念的简写。我们目前在AI Agent领域看到了这种情况,概念被混合、重命名,或被广泛使用几个月后悄然消失。这对新手甚至试图跟上最新发展的从业者来说可能令人困惑。在ICLR 2026之后,我们中的一人(@ariG23498)提出了一个恰能反映这种困惑的问题:“在Agent语境中,你们说的'harness'和'scaffold'是什么意思?我在ICLR听到了很多解释,但我不明白为什么它们没有收敛到一个单一的解释。”这份词汇表是我们尝试为那些反复出现但缺乏清晰、一致解释的术语奠定基础。它并非意图成为该领域每个术语的全面词典,而是聚焦于那些经常被混淆、以不同方式复用或被认为显而易见实则不然的概念。无论你是在构建Agent、部署Agent,还是仅使用Claude Code、Codex或Hermes Agent这类工具,大部分术语都会出现。最后一部分涵盖了训练模型相关的概念,这对从事模型训练工作的人更为相关。许多术语尚未有普遍接受的定义,不同框架对同一词汇的使用也不同。目标不是强制执行一套正确的词汇,而是提供一个实用的心理模型,使讨论更易理解。训练RL环境训练器推演奖励模型是LLM:它接收文本并输出文本(例如Claude、Qwen、GPT、Kimi、DeepSeek…)。本身在调用之间无记忆,也无循环。模型可以表达调用工具的意图,但需要harness来实际执行。它回答一次提示就停止。将其包裹在scaffolding和harness中,它就变成了Agent。模型周围的行为定义层:系统提示、工具描述、模型的响应如何被解析、跨步骤的记忆(上下文管理)。它塑造了模型如何看待世界并采取行动,无论是在训练期间还是推理时。像Claude Code、Codex和Antigravity CLI这样的产品将整个东西称为harness。Claude Code自己的文档直接说明:“Claude Code作为Claude的Agentic harness。”这是广义用法:harness意味着除模型之外的一切。当你需要在训练管道中分别推理它们时,scaffold/harness的区别最为重要。你也会听到“scaffold”被更广泛地用于指代harness依赖的任何基础设施:钩子、运行时配置,甚至目录结构。

核心信息

AI Agent领域术语混乱,本文梳理了如“harness”和“scaffold”等关键概念,帮助从业者建立实用的心理模型。

  • AI Agent术语混乱,缺乏统一解释
  • Harness是模型之外的整体执行层
  • Scaffold定义模型行为与上下文
  • 本文提供实用心理模型而非强制标准
  • 帮助开发者精准沟通并构建Agent
试看内容

成为会员查看完整内容

你已经看到了这篇内容的前置整理,剩余深度部分仅对会员开放。

详细解读 信息差价值 参考来源
成为会员查看完整内容
上一篇 讨论用书籍学习AI知识的可行性及"橙皮书"命名现象 下一篇 Luma Agents 实现规模化真实 UGC 广告生成