觉
AI觉醒星球
Awakening is here
Knowledge File / AI技能杠杆
2026-05-25 4 浏览 免费阅读

趋势解读: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 Agent领域的术语正在快速演变,但缺乏统一理解,导致沟通和开发效率低下。本文由Hugging Face发布,试图定义“harness”和“scaffold”等核心概念,反映了社区对标准化术语的迫切需求。

为什么重要:随着Agent工具(如Claude Code、Codex)的普及,清晰的概念框架对开发者构建可靠Agent至关重要。不精确的术语会引发误解,增加学习成本,阻碍最佳实践的形成。本文通过区分模型、scaffold(行为定义层)和harness(执行基础设施),提供了可操作的认知模型。

对谁有价值:AI Agent开发者、使用Agent工具的产品经理、研究训练管道的工程师,以及任何需要理解技术文档或参与相关讨论的人。初学者可避免被术语混淆,从业者能更精确地描述问题。

可以怎么行动:在团队内部推广这些术语定义,以统一沟通;在构建Agent时明确区分模型、scaffold和harness的责任;关注后续标准化进展,如ICLR等会议提出的共识。对于使用Claude Code等工具,理解其作为“harness”的角色有助于排查问题。

风险或限制:这些定义并非官方标准,不同框架(如LangChain、OpenAI)可能仍有差异。本文强调提供“心理模型”而非强制规范,因此实际使用时需结合具体上下文。此外,术语可能继续演化,当前定义可能过时。

信息差价值

信息差价值:大多数讨论Agent的文章聚焦应用,而本文深入术语辨析,揭示了“harness”和“scaffold”在训练与推理中的不同用法。这种细微但关键的区分,是许多开发者忽视的盲点,掌握后能更高效地调试和设计Agent系统。

业务启发:如果你正在开发Agent产品,明确术语定义有助于团队对齐架构。例如,将工具调用逻辑放入scaffold层,而部署和运行时管理交给harness,可实现模块化。这直接降低维护成本,支持快速迭代。

可沉淀动作:1. 在技术文档或知识库中引入本文的术语模型;2. 下次设计Agent时,画出模型、scaffold、harness的边界,并记录决策;3. 与团队召开一次术语对齐会议,分享本文链接。

参考来源

AI SUMMARY

这篇文章回答了什么

趋势解读:Harness,Scaffold,and the AI Agent Terms Worth,解读最新 AI 进展主要讲什么?

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

这篇文章最值得关注的要点是什么?

AI Agent领域术语混乱,本文梳理了如“harness”和“scaffold”等关键概念,帮助从业者建立实用的心理模型。;AI Agent术语混乱,缺乏统一解释;Harness是模型之外的整体执行层;Scaffold定义模型行为与上下文

这篇文章和哪些AI专题相关?

它适合放在Agent工作流、AI工具、AI超级个体专题里阅读。 关联原因:这篇内容命中「Agent、工作流」等主题信号。;这篇内容命中「自动化、模型」等主题信号。;这篇内容命中「技能」等主题信号。

阅读这篇文章建议先理解哪些关键词?

建议先理解AI工具、工具、自动化、模型、Cursor这些关键词,再结合正文判断工具、机会或风险是否值得进入自己的工作流。

上一篇 讨论用书籍学习AI知识的可行性及"橙皮书"命名现象 下一篇 Luma Agents 实现规模化真实 UGC 广告生成