随着 Coding Agent 能力过去一段时间的突飞猛进,软件工程师的工作变了:从“写代码”变成了“设计让 AI 可靠工作的环境”。
这种设计能力,有个名字:Harness Engineering。
一、什么是 Harness Engineering?
Anthropic 在其官方文档中给出了它们的定义:
“An agent harness (or scaffold) is the system that enables a model to act as an agent : it processes inputs, orchestrates tool calls, and returns results.”
Harnesses emerged as a way to formalize planning and guardrails so that the agent’s output is actually useful and correct. Especially for long-running agents, harnesses provide a way to maintain state and continuity .