发展历史
1. 分期方法与阅读说明
图 1-1|AI Harness 三代架构演进:L1–L6 层层叠加
数据来源:基于本文分析绘制的示意图。
1.1. 分期依据
本文件对 AI Harness 演进的分期,采用“核心矛盾迁移”作为分期依据,而非单纯按年份切分。判断标准如下:
| 判断维度 | 说明 |
|---|---|
| 主要瓶颈在哪里 | 每一代的主瓶颈不同,这是分期的第一依据 |
| 主要工程手段是什么 | 解决该瓶颈所依赖的 dominant technique |
| 系统是否有状态 | 无状态 → 有状态 → 可持久化可恢复 |
| 是否有独立评估环节 | 无 → 外部基准 → 内置评估闭环 |
| 是否有治理层 | 无 → 手工权限 → 沙箱与策略化治理 |
1.2. 三代划分总览
本项目全文统一使用如下三代划分,不得改写:
| 代际 | 名称 | 时间区间 | 核心 | 代表 |
|---|---|---|---|---|
| 第一代 | 提示词工程时代(Prompt-Centric) | 约 2020—2023 | 单体 Prompt + Few-shot,无工具、无状态、无评估 | 早期 GPT-3 应用、AutoGPT 雏形 |
| 第二代 | 工具与编排时代(Tool & Orchestration-Centric) | 约 2023—2025 | Function Calling + 工具生态 + 多智能体编排 + 初步记忆 | LangChain / LangGraph、AutoGen、CrewAI、早期 Claude Code / Cursor |
| 第三代 | 运行时与评估时代(Runtime & Evaluation-Centric) | 2025—至今 | 上下文工程 + 沙箱执行 + 轨迹评估 + 权限治理;Harness 独立成层并标准化 | Claude Agent SDK / MCP / Skills、OpenAI Agents SDK、Codex CLI、企业级 Agent Runtime |
需要说明:三代之间并非“后者消灭前者”,而是层层叠加。提示词工程今天仍然必要,只是不再充分。
1.3. 时间轴速览
图 1-2|时间轴速览:从奠基期到第三代
数据来源:基于本文分析绘制的示意图。
- 2022-10 ── ReAct / LangChain 创建
- 2023-02 ── Toolformer
- 2023-03~04 ── AutoGPT / BabyAGI
- 2023-06-13 ── ★ OpenAI Function Calling
- 2023-10-10 ── SWE-bench 发布
- 2024-08-13 ── SWE-bench Verified
- 2024-10-22 ── Anthropic computer use 公开 beta
- 2024-11-25 ── ★ MCP 发布
- 2025-02-24 ── ★ Claude Code 发布
- 2025-03-11 ── ★ OpenAI Responses API + Agents SDK
- 2025-04-09 ── Google A2A + ADK
- 2025-04-16 ── ★ Codex CLI 发布
- 2025-06-23 ── A2A 捐赠 Linux Foundation
- 2025-06 下旬 ── "context engineering" 命名链
- 2025-10-16 ── Anthropic Agent Skills
- 2025-11-25 ── MCP 2025-11-25 规范
- 2025-12-09 ── ★ AAIF 成立
- 2025-12-18 ── Agent Skills 转为开放标准
- 2026-02-05 ── Hashimoto "Engineer the Harness"
- 2026-02-11 ── ★ OpenAI《Harness engineering》
- 2026-03 ── A2A v1.0
- 2026 上半年 ── ★ GB/Z 185—2026 中国智能体互联国标
- 2026-07-28 ── MCP 规范无状态化
2. 奠基期:从 ReAct 到 Function Calling(2022—2023.6)
2.1. 学术前身:让模型学会用工具
Function Calling 在 2023 年 6 月被产品化,但其学术积累至少可以追溯到 2022 年 10 月。
| 时间 | 工作 | 机构 | 贡献 |
|---|
| 2022-10-06 | ReAct(arXiv:2210.03629) | Yao 等(Princeton / Google Brain) | 提出“推理 + 行动”交替的范式;在 ALFWorld / WebShop 上分别超越 imitation 与 RL 基线 34 与 10 个百分点 |
|---|
ReAct 的意义在于:它第一次把“思考—行动—观察”的循环形式化,这个循环至今仍是所有 Agent Loop 的骨架。
2.2. 自主智能体的第一次爆发
2023 年 3—4 月,AutoGPT 与 BabyAGI 相继发布(发布月份在不同来源有 2023-03 与 2023-04 两种说法,本文件统一表述为“2023 年 3—4 月”),引发第一轮“自主智能体”热潮。
同期关键事件:
| 时间 | 事件 | 备注 |
|---|---|---|
| 2022-01 | Chain-of-Thought 提出 | 来源:Taskade 时间线(B 级) |
| 2022-10 | LangChain 仓库创建 | B 级,具体日期 |
| 2022-11 | ChatGPT 发布 | B 级 |
| 2023-04 | 斯坦福 Generative Agents(小镇实验) | B 级 |
这一波热潮的价值与教训同样鲜明:它证明了“模型 + 循环”可以自主完成多步任务,但也暴露了无约束循环的不可控——无限循环、目标漂移、成本失控成为普遍问题。这些教训直接催生了第二代的编排与控制需求。
2.3. 评测成为独立环节
2023-10-10,SWE-bench 发布。这是一个转折点:评测第一次从模型能力评估中独立出来,成为单独的产业环节。
| 参数 | 数值 |
|---|---|
| 发布日期 | 2023-10-10 |
| 作者 | Carlos E. Jimenez、John Yang、Alexander Wettig、Shunyu Yao、Kexin Pei、Ofir Press、Karthik Narasimhan(Princeton + Stanford) |
| 任务实例数 | 2,294 |
| 覆盖仓库 | 12 个 Python 开源仓库 |
| 学术地位 | ICLR 2024 Oral |
| 影响力 | Hugging Face 下载超 200 万次(B 级) |
SWE-bench 确立的原则是程序化判分:测试通过即通过,没有“看起来不错但测试不过”的部分分。这一原则后来成为整个 Harness 评估层的方法论基石。
其初始 SOTA 为 Claude 2 + BM25 的 1.96%(B 级,但为论文原文数字,可信度高)。从 1.96% 起步的这条曲线,后来成为衡量 Harness 能力的主要标尺。
3. 第一代:提示词工程时代(约 2020—2023.6)
3.1. 技术特征
| 特征 | 描述 |
|---|---|
| 系统形态 | 单次调用或简单多轮对话 |
| 核心工程手段 | Prompt 设计、Few-shot 示例、思维链(CoT)提示 |
| 工具 | 无,或极少且手工硬编码 |
| 状态 | 无状态(除对话历史外) |
| 评估 | 人工主观判断,无回归集 |
| 治理 | 无 |
3.2. 代表形态
- 早期 GPT-3 应用(2020—2022):以创意生成、文本改写、分类为主;
- Few-shot 模板工程:通过精心设计的示例引导输出格式;
- AutoGPT 雏形:虽已具备循环,但其“智能”几乎全部来自提示词,缺乏工具边界与评估。
3.3. 出局原因
第一代并非被淘汰,而是被判定为不充分。三个不可克服的缺陷:
- 无工具:模型只能输出文本,无法对环境施加动作,能力边界被锁死;
- 无状态:跨会话无法交接,长任务必然中断;
- 无评估:无法回答“这次比上次好还是差”,工程化无从谈起。
4. 第二代:工具与编排时代(2023.6—2025.2)
4.1. 起点:Function Calling 发布
2023-06-13,OpenAI 发布 Function calling and other API updates(A 级),正式开启第二代。
| 发布内容 | 细节 |
|---|---|
| 核心 API | 新增 functions 与 function_call 参数,通过 JSON Schema 描述函数 |
| 同日模型 | gpt-4-0613、gpt-4-32k-0613、gpt-3.5-turbo-0613、gpt-3.5-turbo-16k(16,384 tokens) |
| 定价 | gpt-3.5-turbo-16k:$0.003/1K input、$0.004/1K output |
| 其他 | text-embedding-ada-002 降价 75% 至 $0.0001/1K tokens;gpt-3.5-turbo 降价 25% |
Function Calling 的历史意义在于:它把“模型调用外部能力”从提示词技巧变成了协议化的 API 契约。从此工具可以被结构化描述、被模型可靠选择、被系统安全执行。
4.2. 编排框架的繁荣与分化
Function Calling 之后,编排框架迅速繁荣。主要代表及其定位:
| 框架 | 主要覆盖层 | 特点 |
|---|---|---|
| LangChain / LangGraph | L2 / L3 | 构建块最全,LangGraph 引入图式状态机 |
| AutoGen | L3 | 多智能体对话式协作 |
| CrewAI | L3 | 角色化任务分工 |
这一阶段的主流认知是“Framework 即解决方案”。但到 2024—2025 年,业界逐渐发现 Framework 只提供构建块,不解决生产问题——上下文怎么组织、什么算“完成”、失败了怎么回归,Framework 都不给答案。这个认知落差直接催生了 Harness 概念。
4.3. 协议化:MCP 的诞生
2024-11-25,Anthropic 发布《Introducing the Model Context Protocol》(A 级)。这是第二代最重要的事件,也是第三代标准化叙事的主锚点。
| 要素 | 内容 |
|---|---|
| 创建者 | David Soria Parra、Justin Spahr-Summers |
| 三大组件 | 规范与 SDK;Claude Desktop 本地 MCP server 支持;开源 MCP server 仓库 |
| 首批预置服务器 | Google Drive、Slack、GitHub、Git、Postgres、Puppeteer |
| 早期采用者 | Block、Apollo |
| 开发工具公司 | Zed、Replit、Codeium、Sourcegraph |
MCP 解决的是 Anthropic 所称的 "N×M" 数据集成问题:M 个模型应用要接 N 个数据源,没有标准时是 N×M 个适配器,有了标准后变成 N+M。
技术上,MCP 复用了 Language Server Protocol(LSP)的消息流思想(B 级,Wikipedia)。在此之前的 OpenAI function-calling 与 ChatGPT 插件框架都属厂商专有方案。
4.4. 基准的产业化
2024 年是基准产业化的一年,也是“Harness 决定结果”这一论断第一次被大规模量化。
| 时间 | 事件 |
|---|---|
| 2024-03 | Devin 发布(C 级) |
| 2024-08-13 | SWE-bench Verified 发布:500 题人工校验子集,93 名标注者,约 68.3% 候选被丢弃;GPT-4o 基线 33.2%(C 级, 具体数字) |
| 2024-08 至 11 | Devlo 47.3%、Globant Code Fix 48.3%、GRU 48.67%、Claude 3.5 Sonnet + agentic harness 49.0%(C 级) |
| 2024-10-22 | Anthropic computer use 公开 beta(A 级时间线;另有来源记为 2023-10,采信官方 2024-10,标 [存疑]) |
2024 年下半年最值得注意的一条记录是:Claude 3.5 Sonnet + agentic harness 达到 49.0%。它第一次在公开基准上把"Harness"写进了成绩单——同一模型配不同 Harness 分数不同,从此成为行业共识。
4.5. 出局原因
第二代的四个未解缺陷:
- 工具集成仍是 N×M:虽有 MCP,但生态尚未成熟;
- 上下文无治理:长任务下上下文腐烂问题普遍,且无人系统性地解决;
- 评估仍在外挂:基准是外部榜单,不是系统内置的反馈闭环;
- 治理靠手工:权限提示频繁打断,既不安全也不流畅。
这四个缺陷,恰好对应第三代的四个核心——上下文工程、沙箱执行、轨迹评估、权限治理。
5. 第三代:运行时与评估时代(2025.2—至今)
5.1. 起点:Claude Code 与终端智能体
2025-02-24,Anthropic 发布 Claude 3.7 Sonnet 与 Claude Code(A 级)。Claude Code 以 "our first agentic coding tool" 的定位、以 limited research preview 形式发布。
其官方能力描述为:搜索与阅读代码、编辑文件、编写并运行测试、提交并推送到 GitHub、使用命令行工具。
后续节点(B 级,标 ):2025-05-22 随 Claude 4 发布转为 GA;发布七周内达 350,000 DAU、超 100 万个被合并 PR、Anthropic 内部约 1/4 代码提交由其产生。
Claude Code 的意义在于:它把 Harness 从“SDK 里的一组 API”变成了“开箱即用的产品”,让用户第一次直观感受到 Harness 的价值。
5.2. 编排与观测的官方内置
2025-03-11,OpenAI 发布《New tools for building agents》(A 级),四大件:
| 组件 | 内容 |
|---|---|
| Responses API | Chat Completions 与 Assistants 工具能力的超集 |
| 内置工具 | web search / file search / computer use |
| Agents SDK | 单/多 agent 编排,开源 |
| 内置可观测性 | tracing |
关键信号:编排与观测被官方内置。评估与观测(L5)不再是外挂的第三方工具,而是厂商 SDK 的一等公民。Assistants API 计划于 2026 年中日落。
2025-04-16,OpenAI 发布 Codex CLI(A 级):
| 参数 | 内容 |
|---|---|
| 许可 | 开源(Apache 2.0,初为 MIT) |
| 默认模型 | o4-mini |
| 平台 | macOS / Linux;Windows 需 WSL(实验性) |
| 批准模式 | Suggest / Auto-edit / Full-auto(后者在沙箱 + 断网环境下运行) |
| 配套 | 100 万美元开源基金($25,000/项目) |
同日发布 o3 与 o4-mini;前两日(04-14)发布 GPT-4.1 系列,1M token 上下文。
2025-05-16,Codex Cloud research preview 发布;codex-1 为 o3 的 SWE 微调变体,SWE-bench Verified 单试 72.1%、八次尝试 83.8%(B 级,标 )。
同期 Google 于 2025-04-09 在 Google Cloud Next 2025 发布 ADK(Apache 2.0,Python 首发,v1.0.0 于 2025-05-20),并同日发布 A2A 协议。
这一“编排与观测官方内置”的趋势在 2026 年 9 月完成了从 SDK 到托管化运行时的延伸:2026-09-10,OpenAI 将支撑 Codex 的执行控制层以 Agents API 形式公测(官方 Changelog 口径,A级)——会话管理、上下文压缩、失败恢复与多代理协同由 OpenAI 托管,API 本身零平台费、按模型与工具用量计费,沙箱可选择 OpenAI 托管、九家伙伴(Blaxel、Cloudflare、Daytona、DigitalOcean、E2B、Modal、Oracle、Runloop、Vercel)或自建基础设施。编排层的显性定价由此归零,收入后置到模型与沙箱消耗。
编码智能体侧的同期动态(官方 Changelog 口径,经汇总核对):Claude Code 在 2026-09-01 至 12 日间连续发布 12 个版本(v2.1.257—270),其中 2.1.257 将 Claude Fable 5.1 设为默认模型(1M token 上下文,$10/$50 每百万 token、缓存读取 $0.25),2.1.260 新增 /diff 实时差异面板,2.1.261 新增 /skill-doctor 技能使用诊断,2.1.269 新增 claude plugin eval 插件评估套件(L5 评估能力下沉到插件生态);OpenAI Codex CLI 0.154.0(09-09)将 GPT-6 Astra 纳入模型选择器并登陆 Amazon Bedrock;GitHub Copilot 于 09-07 周更中在 CLI 引入实验性自适应模型路由 Project HydraFusion;Google 于 09-02 发布 Gemini 3.8 Flash(官方口径),把“经济档模型以更长推理承担代理任务”的路线推到 DeepSWE v1.1 约 73.8%(与 GPT-6 Astra 的 74.1% 几乎持平)。
同一官方 Changelog 页还记录了 2026-09 上旬的运行时能力扩充:GPT-Live 1 全双工语音 API 转正(09-10,$0.05/分钟按秒计费)、GPT-6 Astra 正式可用(09-03,工具调用仅支持 Responses API,并引入异步安全检查与回合中途转向)、Prompt Cache Diagnostics 转正(09-08);MCP 于 08-22 发布路线图,把智能体消息原语、HTTP 原生传输统一与智能体身份(DPoP / 工作负载身份联邦)列为下一规范周期优先项。配套的产业与安全信号包括:Cursor 发布 Projects(Beta,09-10,以不写代码的协调者智能体派发并行子智能体,AI IDE 的 L3 编排层开始对象化);安全公司 Accomplish 披露 Claude Code macOS 沙箱逃逸细节(09-11,2026-07-13 上报、v2.1.247 修复);OpenAI 披露其研究组织内部数据——智能体工作日与人工作日之比达 3.1:1、中位研究员日耗超 600 美元(09-06,官方口径),“智能体工时超过人工作时”首次有头部实验室内部数据支撑。
5.3. 上下文工程的命名与成熟
2025 年 6 月下旬的十一天,是“上下文工程”从一个民间实践词汇变成行业通用术语的过程(B 级,日期经多源交叉):
| 日期 | 人物 | 事件 |
|---|---|---|
| 2025-06-19 | Tobi Lütke(Shopify CEO) | 首次公开使用该词 |
| 2025-06-23 | Harrison Chase(LangChain) | 发表《The Rise of Context Engineering》;Lance Martin 提出四支柱(Write / Select / Compress / Isolate) |
| 2025-06-25 | Andrej Karpathy | 给出被广泛引用的定义 |
| 2025-06-27 | Simon Willison | 公开背书 |
| 2025-06-30 | Philipp Schmid(Google DeepMind) | 给出定义并留下金句 "Most agent failures are not model failures anymore, they are context failures." |
需要补充的是,该词有更早的民间实践源头:HumanLayer 创始人 Dex Horthy(12-Factor Agents 作者)自 2024 年 8 月起即在使用,其第 3 条因子即 "own the context window"。Horthy 自述“不认为自己是发明者,而是给同行已在做的事命名”(B 级)。
2025-09-29 前后,Anthropic 发布《Effective context engineering for AI agents》(A 级),把 attention budget 与 context rot 立为一等概念,标志着该层获得官方方法论地位。
5.4. Skills 机制与渐进式披露
2025-10-16,Anthropic 发布 Agent Skills(A 级);2025-12-18 转为开放标准。
| 要素 | 内容 |
|---|---|
| 最小形态 | my-skill/SKILL.md 目录,可扩展 scripts/、references/、assets/ |
| 必填元数据 | YAML frontmatter 中的 name 与 description |
| 三层渐进式披露 | 启动只加载 name + description → 命中时加载 SKILL.md 全文 → 按需读取 bundled 文件 |
| 代码支持 | 可捆绑可执行代码,代码不进入上下文即可运行 |
| 配套 | /v1/skills 端点与 Code Execution Tool beta |
Anthropic 官方的论断是:"the amount of context that can be bundled into a skill is effectively unbounded“。这把 L1 层从”如何塞进更多“转向”如何按需加载"。
5.5. 标准化:AAIF 成立
2025-12-09,Linux Foundation 宣布成立 Agentic AI Foundation(AAIF)(A 级;GIGAZINE 记为 2025-12-10,本文件采用 12-09)。
| 要素 | 内容 |
|---|---|
| 性质 | Linux Foundation 旗下 directed fund |
| 发起捐赠三方 | Anthropic(MCP)、Block(goose)、OpenAI(AGENTS.md) |
| 其他捐赠 | Obot.ai 捐赠 MCP Dev Summit |
| Platinum 成员(8 家) | AWS、Anthropic、Block、Bloomberg、Cloudflare、Google、Microsoft、OpenAI |
| Gold 成员 | Cisco、Datadog、Docker、IBM、JetBrains、Okta、Oracle、SAP、Snowflake、Temporal、Twilio 等 |
| Silver 成员 | Hugging Face、Pydantic、SUSE、Uber 等 |
成立时点的关键生态数据(A 级):
| 指标 | 数值 |
|---|---|
| MCP 公开服务器数 | 10,000+ |
| MCP Python + TypeScript SDK 月下载量 | 9,700 万次 |
| AGENTS.md 采用项目数 | 60,000+ |
| Claude 连接器目录服务器数 | 75+(B 级) |
两句值得记录的引文:
"Donating MCP to the Linux Foundation as part of the AAIF ensures it stays open, neutral, and community-driven as it becomes critical infrastructure for AI." —— Mike Krieger,Anthropic CPO
"We are seeing AI enter a new phase, as conversational systems shift to autonomous agents that can work together." —— Jim Zemlin,Linux Foundation 执行总监
开放治理的产业张力在 2026-09 显形:NVIDIA 于 2026-09-02 签署、09-03 宣布以约 129.3 亿美元协议收购 Hugging Face(约 119 亿美元付予股东,另设至多 10 亿美元员工留任权益;SEC 8-K 披露,预计 2027 年上半年交割,多源一致),开放模型生态的分发层由此并入算力厂商。官方承诺保留 Hugging Face 品牌、多云与多加速器支持、不强制使用 NVIDIA 算力,但收购方同时是平台上最大的开源模型贡献方(500+ 模型、250+ 数据集),“中立枢纽”能否在交割后维持成为 AAIF 中立治理叙事之外最值得跟踪的产业变量。
5.6. 命名确立:Harness Engineering
2026 年 2 月,Harness 一词在六天内完成了从行业黑话到官方术语的跨越。
| 日期 | 事件 |
|---|---|
| 2026-02-05 | Mitchell Hashimoto 发表《My AI Adoption Journey》,提出 AI 采用六阶段,第五阶段为 Engineer the Harness(A 级) |
| 2026-02-11 | OpenAI 发布官方博客《Harness engineering: leveraging Codex in an agent-first world》(A 级) |
| 2026-02 | Birgitta Böckeler 在 martinfowler.com 发布 Harness engineering 体系文章(A 级) |
Hashimoto 的六阶段为:Drop the Chatbot → Reproduce Your Own Work → End-of-Day Agents → Outsource the Slam Dunks → Engineer the Harness → Always Have an Agent Running。
OpenAI 同文披露了其百万行代码实验(A 级,全部数字可全量引用):
| 指标 | 数值 |
|---|---|
| 起点 | 2025-08 下旬对空仓库首次提交;脚手架由 Codex CLI + GPT-5 生成,连最初的 AGENTS.md 也是 Codex 写的 |
| 五个月后代码量 | 约 100 万行(应用逻辑、基础设施、工具、文档、内部开发工具) |
| PR 数 / 工程师数 / 人均日 PR | 约 1,500 / 3 名(后扩至 7 名)/ 3.5 |
| 时间成本 | 约为手写的 1/10 |
| 人类手写代码 | 0 行 |
| 单任务最长运行时长 | 超过 6 小时 |
这一实验是第三代架构的标杆实证,其工程决策细节见 03-架构演进.md。
5.7. 中国:智能体互联国家标准体系
2026 年上半年,中国发布 GB/Z 185—2026《人工智能 智能体互联》系列国家标准(A 级;发布日期存在 2026-05-22 / 2026-06-26 / 2026-07-09 三种口径,本文件并列呈现)。
| 要素 | 内容 |
|---|---|
| 编号 | GB/Z 185.1 ~ GB/Z 185.7—2026 |
| 形式 | 国家标准化指导性技术文件(GB/Z),属“敏捷标准化安排” |
|---|
七部分结构:
- 第 1 部分 总体架构
- 第 2 部分 身份码(编码、分配与管理)
- 第 3 部分 身份管理(注册、账户、凭证、鉴别)
- 第 4 部分 智能体描述(能力描述及注册、发布、变更)
- 第 5 部分 智能体发现(发现流程)
- 第 6 部分 智能体交互(点对点、群组、混合)
- 第 7 部分 外部工具调用(架构、流程、数据格式)
落地进展:2026-08-31,上海浦东新区张江召开《人工智能 智能体互联》国家标准应用(长三角区域)推进专题会,思必驰与联想、中兴通讯、火山引擎、上海交通大学等 30 家单位获颁“智能体身份码节点”(A 级)。
标准细节与趋势判断详见 04-未来发展.md 第 3.5 节。
6. 关键里程碑总表
下表汇总本文件涉及的全部关键节点,按时间排序,标注来源等级。
| 日期 | 事件 | 等级 |
|---|---|---|
| 2022-10-06 | ReAct 论文公开(arXiv:2210.03629) | A |
| 2022-10 | LangChain 仓库创建(具体日 ) | B |
| 2023-02-09 | Toolformer(arXiv:2302.04761) | A |
| 2023-03—04 | AutoGPT / BabyAGI 发布(月份有争议) | B |
| 2023-06-13 | OpenAI Function Calling 发布,同发 gpt-4-0613、gpt-3.5-turbo-0613、gpt-3.5-turbo-16k | A |
| 2023-10-10 | SWE-bench 发布(2,294 题 / 12 仓库;ICLR 2024 Oral) | A |
| 2024-03 | Devin 发布 | C, |
| 2024-08-13 | SWE-bench Verified 发布(500 题人工校验,GPT-4o 基线 33.2%) | C, |
| 2024-08 至 11 | Claude 3.5 Sonnet + agentic harness 达 49.0% | C, |
| 2024-10-22 | Anthropic computer use 公开 beta(另有 2023-10 说法,[存疑]) | B |
| 2024-11-25 | MCP 开源发布(创建者 David Soria Parra、Justin Spahr-Summers) | A |
| 2025-02-24 | Claude Code 以 limited research preview 发布,同发 Claude 3.7 Sonnet | A |
| 2025-03-11 | OpenAI Responses API + Agents SDK + 内置工具 + 内置可观测性 | A |
| 2025-03-26 | MCP 规范 2025-03-26(Streamable HTTP + OAuth 2.1) | A |
| 2025-04-09 | Google A2A 发布;同日 Google Cloud Next 2025 发布 ADK | A |
| 2025-04-16 | OpenAI Codex CLI 开源发布(同日 o3、o4-mini;04-14 GPT-4.1 系列 1M 上下文) | A |
| 2025-05-16 | Codex Cloud research preview;codex-1(72.1% / 83.8%) | B, |
| 2025-05-22 | Claude Opus 4 / Sonnet 4 发布,Claude Code 转 GA | B |
| 2025-05 | Terminal-Bench 发布(Stanford + Laude Institute) | A |
| 2025-06-18 | MCP 规范 2025-06-18(elicitation、结构化输出,移除 batching) | A |
| 2025-06-23 | Google 将 A2A 捐赠给 Linux Foundation(丹佛 Open Source Summit NA) | A |
| 2025-06 下旬 | "context engineering" 命名链(06-19 → 06-30,十一天五人) | B |
| 2025-09 | Claude Code SDK 更名为 Claude Agent SDK | B |
| 2025-09-29 | Anthropic 发布《Effective context engineering for AI agents》 | A |
| 2025-10-16 | Anthropic Agent Skills 发布 | A |
| 2025-11-24 | Claude Opus 4.5 发布 | B, |
| 2025-11-25 | MCP 规范 2025-11-25(Tasks、并行工具调用、服务端 agent 循环) | A |
| 2025-12-09 | Linux Foundation 成立 AAIF;MCP、goose、AGENTS.md 同时捐赠(另有 12-10 说法) | A |
| 2025-12-18 | Agent Skills 发布为开放标准 | A |
| 2025 年末—2026-01 | Terminal-Bench 2.0 发布(89 题,Harbor 框架) | B, |
| 2026-02-05 | Mitchell Hashimoto 提出 "Engineer the Harness" | A |
| 2026-02-11 | OpenAI《Harness engineering》发布(百万行代码实验) | A |
| 2026-02 | martinfowler.com 发布 Harness engineering 体系文章 | A |
| 2026-03 | A2A v1.0(首个稳定生产版,含 Signed Agent Cards) | A |
| 2026-04-09 | A2A 一周年:支持机构 150+,GitHub 22,000+ stars | A |
| 2026 上半年 | GB/Z 185—2026《人工智能 智能体互联》发布(05-22 / 06-26 / 07-09 三口径) | A,日期冲突 |
| 2026-07-28 | MCP 规范 2026-07-28:协议核心无状态化,引入 Extensions 框架 | A |
| 2026-08-26 | 工信部:已研制近 200 项人工智能关键标准 | B |
| 2026-08-31 | 长三角智能体身份码节点首批发放(30 家单位) | A |
7. 三代架构对比
| 对比维度 | 第一代 · 提示词工程 | 第二代 · 工具与编排 | 第三代 · 运行时与评估 |
|---|---|---|---|
| 时间区间 | 约 2020—2023.6 | 2023.6—2025.2 | 2025.2—至今 |
| 核心工程对象 | Prompt | Tool + Orchestration | Context + Sandbox + Eval + Governance |
| L1 上下文 | 无治理,靠 Few-shot | 初步 RAG,无压缩策略 | 系统化:压缩、笔记、子 agent、Skills |
| L2 工具 | 无 | Function Calling,厂商专有 | MCP 标准化 + 沙箱隔离 |
| L3 编排 | 单轮 | 多智能体编排框架 | 官方 SDK 内置 + 子 agent 派发 + 长时运行 |
| L4 记忆 | 无 | 初步会话记忆 | 跨窗口状态交接 + 检查点 |
| L5 评估 | 人工主观 | 外部基准榜单 | 内置评估闭环 + 轨迹追踪 + 回归集 |
| L6 治理 | 无 | 手工权限提示 | 沙箱 + 凭据保护 + 策略化治理 |
| 主要失败模式 | 能力边界窄 | 上下文腐烂、不可回归 | 熵增与文档腐烂(第四代待解) |
| 代表产物 | GPT-3 应用、AutoGPT | LangChain、AutoGen、早期 Cursor | Claude Agent SDK、MCP、Skills、Codex CLI |
| 典型量化表现 | SWE-bench 1.96% | Verified 33.2% → 49.0% | 前沿系统持续刷新(具体数字 ) |
8. 演进规律与启示
从三代演进中可以提炼出四条规律:
规律一:瓶颈持续外移。
从“模型不会用工具”(第一代)到“工具太多接不过来”(第二代)到“上下文与治理决定成败”(第三代),每一代解决的是上一代暴露的外部问题,而不是模型内部问题。
规律二:每一代都把上一代的核心手段沉淀为基础设施。
提示词工程没有被消灭,而是沉淀为 L1 层的一部分;工具调用没有被消灭,而是标准化为 MCP。新的一代不是替代,是把前一代的手工活变成默认能力。
规律三:标准化总在事实标准出现之后。
MCP 于 2024-11 发布,2025-12 才捐给 Linux Foundation;AGENTS.md 先被 60,000+ 项目采用,才成为 AAIF 的捐赠标的;Agent Skills 于 2025-10 发布,2025-12 才转为开放标准。规律是:先有广泛采用的事实标准,后有中立治理的法律标准。
规律四:命名滞后于实践约 12—18 个月。
上下文工程的实践始于 2024 年 8 月(12-Factor Agents),2025 年 6 月才被命名;Harness 的产品实践始于 2025 年初(Claude Code / Codex CLI),2026 年 2 月才被命名。这提示:当某个概念被正式命名时,其实践通常已经跑了至少一年。
9. 总结
AI Harness 的发展历史,本质上是一部“工程关注点从模型内部向模型外部迁移”的历史。
- 第一代把注意力放在怎么说(Prompt);
- 第二代把注意力放在能做什么(Tools + Orchestration);
- 第三代把注意力放在在什么环境里做、做得好不好、能不能被约束(Context + Sandbox + Eval + Governance)。
三个关键时间点构成了这一迁移的坐标:2023-06-13 Function Calling 让工具有了契约,2024-11-25 MCP 让工具生态有了标准,2025-12-09 AAIF 让标准有了中立治理。而 2026-02-11 OpenAI《Harness engineering》的发布,则标志着这套工程实践终于有了自己的名字。
当前(2026 年)业界所处的阶段是:第三代架构已确立,标准化窗口正在关闭,但方法论尚未收敛。下一阶段的演进方向见 04-未来发展.md。
10. 信息缺口声明
本文件涉及以下信息缺口,已在正文对应位置标注:
- ISO/IEC 智能体互联国际标准:未检索到 ISO/IEC 已发布或已立项的智能体互联国际标准编号,暂无权威信息。
- "Agent Harness"术语首创出处:未找到确切一手首创文献,暂无权威信息。
- LangChain《Anatomy of an Agent Harness》原文与日期:未检索到原文,暂无权威信息。
- Anthropic《How we built our multi-agent research system》的确切 URL 与发布日期:仅在 context engineering 博客中以链接形式被引用,未验证。
- GB/Z 185—2026 发布日期冲突:2026-05-22(中国日报)/ 2026-06-26(百度百科)/ 2026-07-09(人民网报道日,报道用语为“近日发布”)。本文件并列呈现,正文采用“2026 年上半年”。
- AAIF 成立日期冲突:2025-12-09(TechCrunch、Wikipedia)/ 2025-12-10(GIGAZINE)。本文件采用 12-09。
- Terminal-Bench 2.0 发布时点冲突:一处记 2025 年末,另一处记 2026-01。本文件写作“2025 年末至 2026 年初”。
- Anthropic computer use 发布时间冲突:Taskade 记为 2023-10,与官方 2024-10-22 冲突。本文件采信官方 2024-10,标
[存疑]。 - AutoGPT / BabyAGI 发布月份冲突:2023-03 与 2023-04 两种说法。本文件写作“2023 年 3—4 月”。
- MCP “首个公开规范版本”表述:2024-11-05(Ruby SDK 记为 Initial protocol revision)与 2024-11-25(公开宣布与生态启动)可并存。
- 本文件全部 B/C 级数字均标 ,包括:Devin 发布时间、SWE-bench Verified 的 500/93/68.3%/33.2%、2024 下半年各家分数、Claude Code 350,000 DAU / 100 万 PR / 内部 25% 提交、codex-1 的 72.1% / 83.8%、Claude 2025-11-24 版本时间。
- Claude 模型 2026 年各版本时间线:仅见于第三方 GitHub 时间线仓库,需与官方公告核对,标 。
11. 参考资料
- Function calling and other API updates — OpenAI,2023-06-13。https://openai.com/blog/function-calling-and-other-API-updates
- Introducing the Model Context Protocol — Anthropic,2024-11-25。https://www.anthropic.com/news/model-context-protocol
- Claude 3.7 Sonnet and Claude Code — Anthropic,2025-02-24。https://www.anthropic.com/news/claude-3-7-sonnet
- New tools for building agents — OpenAI,2025-03-11。https://openai.com/blog/new-tools-for-building-agents
- Introducing Codex(Codex CLI)— OpenAI,2025-04-16。https://github.com/openai/codex
- Agent Development Kit: Making it easy to build multi-agent applications — Google,2025-04-09。https://googledevelopers.blogspot.com/en/agent-development-kit-easy-to-build-multi-agent-applications/
- A year of open collaboration: Celebrating the anniversary of A2A — Google Open Source Blog,2026-04-16。https://opensource.googleblog.com/
- Harness engineering: leveraging Codex in an agent-first world — OpenAI,2026-02-11。https://openai.com/index/harness-engineering/
- My AI Adoption Journey — Mitchell Hashimoto,2026-02-05。https://mitchellh.com/writing/my-ai-adoption-journey
- Harness engineering for coding agent users — Birgitta Böckeler,martinfowler.com,2026。https://martinfowler.com/articles/harness-engineering.html
- Effective context engineering for AI agents — Anthropic,2025。https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
- Introducing Agent Skills — Anthropic,2025-10-16(2025-12-18 开放标准更新)。https://www.anthropic.com/news/skills
- Linux Foundation Announces the Formation of the AAIF — Linux Foundation / AAIF,2025-12-09。https://aaif.io/
- Linux Foundation Launches the Agent2Agent Protocol Project — Linux Foundation,2025-06-23。https://www.linuxfoundation.org/press/linux-foundation-launches-the-agent2agent-protocol-project-to-enable-secure-intelligent-communication-between-ai-agents
- MCP Protocol Versions — MCP Ruby SDK,2026。https://ruby.sdk.modelcontextprotocol.io/protocol-versions/
- ReAct: Synergizing Reasoning and Acting in Language Models — Yao 等,2022-10(arXiv:2210.03629)。https://arxiv.org/abs/2210.03629
- Toolformer: Language Models Can Teach Themselves to Use Tools — Schick 等(Meta AI),2023-02(arXiv:2302.04761)。https://arxiv.org/abs/2302.04761
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues? — Jimenez、Yang 等(Princeton),2023-10。https://www.swebench.com/
- 《人工智能 智能体互联》系列国家标准(发布报道)— 人民网,2026-07-09。https://finance-app.people.cn/n1/2026/0709/c1004-40757059.html
- 《人工智能 智能体互联》系列国家标准解读 — 中国产业经济信息网,2026。https://cinic.org.cn/xw/zcdt/1643418.html
History of Development
1. Periodization Method and Reading Guide
图 1-1|AI Harness 三代架构演进:L1–L6 层层叠加
数据来源:基于本文分析绘制的示意图。
1.1. Basis for Periodization
This document periodizes the evolution of the AI Harness using "the migration of the core bottleneck" as the basis, rather than a simple cut by year. The criteria are as follows:
| Assessment Dimension | Description |
|---|---|
| Where the main bottleneck lies | The main bottleneck differs in each generation; this is the primary basis for periodization |
| What the main engineering approach is | The dominant technique relied upon to solve that bottleneck |
| Whether the system has state | Stateless → Stateful → Persistable and recoverable |
| Whether there is an independent evaluation stage | None → External benchmarks → Built-in evaluation loop |
| Whether there is a governance layer | None → Manual permissions → Sandbox and policy-based governance |
1.2. Overview of the Three-Generation Division
This project uniformly uses the following three-generation division throughout; it must not be altered:
| Generation | Name | Time Range | Core | Representatives |
|---|---|---|---|---|
| First generation | Prompt-Centric era | c. 2020—2023 | Monolithic Prompt + Few-shot, no tools, no state, no evaluation | Early GPT-3 applications, AutoGPT prototypes |
| Second generation | Tool & Orchestration-Centric era | c. 2023—2025 | Function Calling + tool ecosystem + multi-agent orchestration + preliminary memory | LangChain / LangGraph, AutoGen, CrewAI, early Claude Code / Cursor |
| Third generation | Runtime & Evaluation-Centric era | 2025—present | Context engineering + sandbox execution + trajectory evaluation + permission governance; Harness becomes an independent layer and is standardized | Claude Agent SDK / MCP / Skills, OpenAI Agents SDK, Codex CLI, enterprise Agent Runtimes |
It should be noted that the three generations are not the later wiping out the earlier, but rather stacking layer upon layer. Prompt engineering is still necessary today, it is just no longer sufficient.
1.3. Timeline at a Glance
图 1-2|时间轴速览:从奠基期到第三代
数据来源:基于本文分析绘制的示意图。
- 2022-10 ── ReAct / LangChain created
- 2023-02 ── Toolformer
- 2023-03~04 ── AutoGPT / BabyAGI
- 2023-06-13 ── ★ OpenAI Function Calling
- 2023-10-10 ── SWE-bench released
- 2024-08-13 ── SWE-bench Verified
- 2024-10-22 ── Anthropic computer use public beta
- 2024-11-25 ── ★ MCP released
- 2025-02-24 ── ★ Claude Code released
- 2025-03-11 ── ★ OpenAI Responses API + Agents SDK
- 2025-04-09 ── Google A2A + ADK
- 2025-04-16 ── ★ Codex CLI released
- 2025-06-23 ── A2A donated to Linux Foundation
- late 2025-06 ── "context engineering" naming chain
- 2025-10-16 ── Anthropic Agent Skills
- 2025-11-25 ── MCP 2025-11-25 specification
- 2025-12-09 ── ★ AAIF founded
- 2025-12-18 ── Agent Skills becomes an open standard
- 2026-02-05 ── Hashimoto "Engineer the Harness"
- 2026-02-11 ── ★ OpenAI "Harness engineering"
- 2026-03 ── A2A v1.0
- H1 2026 ── ★ GB/Z 185—2026 China agent-interconnection national standard
- 2026-07-28 ── MCP specification made stateless
2. Foundations: From ReAct to Function Calling (2022—2023.6)
2.1. Academic Predecessors: Teaching Models to Use Tools
Function Calling was productized in June 2023, but its academic lineage can be traced back at least to October 2022.
| Time | Work | Institution | Contribution |
|---|---|---|---|
| 2022-10-06 | ReAct (arXiv:2210.03629) | Yao et al. (Princeton / Google Brain) | Proposed the paradigm of alternating "reasoning + acting"; outperformed both imitation and RL baselines on ALFWorld / WebShop by 34 and 10 percentage points, respectively |
| 2023-02-09 | Toolformer (arXiv:2302.04761) | Schick et al. (Meta AI) | Trained a 6.7B GPT-J to autonomously decide when to insert API calls |
| 2023-05-24 | Gorilla (arXiv:2305.15334) | UC Berkeley | Fine-tuned LLaMA on 1,645 API calls from APIBench, and spawned the BFCL leaderboard |
The significance of ReAct is that it was the first to formalize the "think—act—observe" loop, a loop that remains the backbone of every Agent Loop to this day.
2.2. The First Explosion of Autonomous Agents
In March—April 2023, AutoGPT and BabyAGI were released in succession (different sources give either 2023-03 or 2023-04 as the release month; this document uniformly states "March—April 2023"), triggering the first wave of "autonomous agent" hype.
Key events in the same period:
| Time | Event | Notes |
|---|---|---|
| 2022-01 | Chain-of-Thought proposed | Source: Taskade timeline (Grade B) |
| 2022-10 | LangChain repository created | Grade B, exact date [to be verified] |
| 2022-11 | ChatGPT released | Grade B |
| 2023-04 | Stanford Generative Agents (small-town experiment) | Grade B |
The value and the lessons of this wave are equally stark: it proved that "model + loop" can autonomously complete multi-step tasks, but it also exposed the uncontrollability of unconstrained loops — infinite loops, goal drift, and runaway costs became pervasive problems. These lessons directly gave rise to the orchestration and control requirements of the second generation.
2.3. Evaluation Becomes an Independent Stage
On 2023-10-10, SWE-bench was released. This was a turning point: for the first time, evaluation was separated from model-capability assessment and became a distinct industry stage.
| Parameter | Value |
|---|---|
| Release date | 2023-10-10 |
| Authors | Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan (Princeton + Stanford) |
| Number of task instances | 2,294 |
| Repositories covered | 12 Python open-source repositories |
| Academic standing | ICLR 2024 Oral |
| Impact | Over 2 million downloads on Hugging Face (Grade B) |
The principle SWE-bench established is programmatic grading: if the test passes, it passes — there is no partial credit for "looks good but fails the test." This principle later became the methodological cornerstone of the entire Harness evaluation layer.
Its initial SOTA was Claude 2 + BM25 at 1.96% (Grade B, but this is the paper's own figure and is highly credible). The curve that started at 1.96% later became the primary yardstick for measuring Harness capability.
3. First Generation: The Prompt-Centric Era (c. 2020—2023.6)
3.1. Technical Characteristics
| Characteristic | Description |
|---|---|
| System form | Single invocation or simple multi-turn dialogue |
| Core engineering approach | Prompt design, few-shot examples, chain-of-thought (CoT) prompting |
| Tools | None, or very few and manually hard-coded |
| State | Stateless (apart from conversation history) |
| Evaluation | Subjective human judgment, no regression set |
| Governance | None |
3.2. Representative Forms
- Early GPT-3 applications (2020—2022): mainly creative generation, text rewriting, and classification;
- Few-shot template engineering: guiding output format through carefully designed examples;
- AutoGPT prototypes: although they already had a loop, their "intelligence" came almost entirely from prompts, lacking tool boundaries and evaluation.
3.3. Reasons for Being Superseded
The first generation was not eliminated, but rather deemed insufficient. Three insurmountable flaws:
- No tools: the model could only output text and could not act on the environment, so its capability boundary was locked in;
- No state: no handoff across sessions, so long tasks inevitably get interrupted;
- No evaluation: it could not answer "is this better or worse than last time," so engineering it was out of the question.
4. Second Generation: The Tool & Orchestration-Centric Era (2023.6—2025.2)
4.1. Starting Point: The Function Calling Release
On 2023-06-13, OpenAI released "Function calling and other API updates" (Grade A), formally starting the second generation.
| Release content | Details |
|---|---|
| Core API | Added functions and function_call parameters, describing functions via JSON Schema |
| Models released the same day | gpt-4-0613, gpt-4-32k-0613, gpt-3.5-turbo-0613, gpt-3.5-turbo-16k (16,384 tokens) |
| Pricing | gpt-3.5-turbo-16k: $0.003/1K input, $0.004/1K output |
| Other | text-embedding-ada-002 cut 75% to $0.0001/1K tokens; gpt-3.5-turbo cut 25% |
The historical significance of Function Calling is that it turned "models calling external capabilities" from a prompt trick into a protocolized API contract. From then on, tools could be described structurally, reliably selected by models, and safely executed by systems.
4.2. The Boom and Divergence of Orchestration Frameworks
After Function Calling, orchestration frameworks flourished rapidly. The main representatives and their positioning:
| Framework | Primary layer covered | Characteristics |
|---|---|---|
| LangChain / LangGraph | L2 / L3 | Most complete set of building blocks; LangGraph introduced graph-based state machines |
| AutoGen | L3 | Multi-agent conversational collaboration |
| CrewAI | L3 | Role-based task division |
The prevailing mindset of this stage was "Framework = solution." But by 2024—2025, the industry gradually realized that frameworks only provide building blocks and do not solve production problems — how to organize context, what counts as "done," and how to regress after a failure are all questions frameworks leave unanswered. This gap in expectations directly gave rise to the Harness concept.
4.3. Protocolization: The Birth of MCP
On 2024-11-25, Anthropic released "Introducing the Model Context Protocol" (Grade A). This was the most important event of the second generation and the main anchor of the third generation's standardization narrative.
| Element | Content |
|---|---|
| Creators | David Soria Parra, Justin Spahr-Summers |
| Three components | The spec and SDK; Claude Desktop local MCP server support; an open-source MCP server repository |
| First prebuilt servers | Google Drive, Slack, GitHub, Git, Postgres, Puppeteer |
| Early adopters | Block, Apollo |
| Dev-tool companies | Zed, Replit, Codeium, Sourcegraph |
MCP solves what Anthropic calls the "N×M" data integration problem: M model applications need to connect to N data sources. Without a standard that means N×M adapters; with a standard it becomes N+M.
Technically, MCP reuses the message-flow idea of the Language Server Protocol (LSP) (Grade B, Wikipedia). Before it, OpenAI's function-calling and the ChatGPT plugin framework were all vendor-proprietary approaches.
4.4. The Industrialization of Benchmarks
2024 was the year benchmarks were industrialized, and the first time the claim that "the harness determines the result" was quantified at scale.
| Time | Event |
|---|---|
| 2024-03 | Devin released (Grade C, [to be verified]) |
| 2024-08-13 | SWE-bench Verified released: a 500-task human-verified subset, 93 annotators, about 68.3% of candidates discarded; GPT-4o baseline 33.2% (Grade C, exact figure [to be verified]) |
| 2024-08 to 11 | Devlo 47.3%, Globant Code Fix 48.3%, GRU 48.67%, Claude 3.5 Sonnet + agentic harness 49.0% (Grade C, [to be verified]) |
| 2024-10-22 | Anthropic computer use public beta (Grade A timeline; another source records 2023-10; we follow the official 2024-10, marked [uncertain]) |
The most noteworthy record of the second half of 2024 is: Claude 3.5 Sonnet + agentic harness reached 49.0%. It was the first time "Harness" was written into a public benchmark scorecard — the same model with different harnesses scoring differently became an industry consensus from then on.
4.5. Reasons for Being Superseded
The second generation's four unresolved flaws:
- Tool integration is still N×M: although MCP exists, the ecosystem is not yet mature;
- Context without governance: context rot in long tasks is pervasive, and no one systematically solves it;
- Evaluation is still bolted on: benchmarks are external leaderboards, not a feedback loop built into the system;
- Governance is manual: permission prompts interrupt frequently, being neither safe nor smooth.
These four flaws correspond exactly to the four cores of the third generation — context engineering, sandboxed execution, trajectory evaluation, and permission governance.
5. Third Generation: The Runtime & Evaluation-Centric Era (2025.2—present)
5.1. Starting Point: Claude Code and Terminal Agents
On 2025-02-24, Anthropic released Claude 3.7 Sonnet and Claude Code (Grade A). Claude Code was positioned as "our first agentic coding tool" and released in the form of a limited research preview.
Its official capability description: search and read code, edit files, write and run tests, commit and push to GitHub, and use command-line tools.
Subsequent milestones (Grade B, marked [to be verified]): on 2025-05-22 it went GA with the Claude 4 release; within seven weeks of launch it reached 350,000 DAU, over 1 million merged PRs, and roughly 1/4 of Anthropic's internal code commits were generated by it.
The significance of Claude Code is that it turned the harness from "a set of APIs in an SDK" into an "out-of-the-box product," letting users intuitively feel the value of the harness for the first time.
5.2. Official Built-Ins for Orchestration and Observability
On 2025-03-11, OpenAI released "New tools for building agents" (Grade A), with four major components:
| Component | Content |
|---|---|
| Responses API | A superset of the tool capabilities of Chat Completions and Assistants |
| Built-in tools | web search / file search / computer use |
| Agents SDK | Single/multi-agent orchestration, open source |
| Built-in observability | tracing |
Key signal: orchestration and observability are built in officially. Evaluation and observability (L5) are no longer bolted-on third-party tools but first-class citizens of a vendor SDK. The Assistants API is planned for sunset in mid-2026.
On 2025-04-16, OpenAI released Codex CLI (Grade A):
| Parameter | Content |
|---|---|
| License | Open source (Apache 2.0, originally MIT) |
| Default model | o4-mini |
| Platform | macOS / Linux; Windows requires WSL (experimental) |
| Approval modes | Suggest / Auto-edit / Full-auto (the latter runs in a sandbox + offline environment) |
| Companion | A $1 million open-source fund ($25,000/project) |
o3 and o4-mini were released the same day; two days earlier (04-14) the GPT-4.1 series was released, with 1M token context.
On 2025-05-16, Codex Cloud research preview was released; codex-1 is a SWE fine-tuned variant of o3, reaching 72.1% single-shot and 83.8% over eight attempts on SWE-bench Verified (Grade B, marked [to be verified]).
In the same period, Google released ADK at Google Cloud Next 2025 on 2025-04-09 (Apache 2.0, Python first, v1.0.0 on 2025-05-20), and released the A2A protocol the same day.
This trend of "officially built-in orchestration and observability" was extended in September 2026 from an SDK to a managed runtime: on 2026-09-10, OpenAI launched the execution-control layer behind Codex as a public beta of the Agents API (per the official Changelog, Grade A) — session management, context compression, failure recovery, and multi-agent coordination are hosted by OpenAI; the API itself carries no platform fee and is billed by model and tool usage, and the sandbox can be OpenAI-hosted, provided by one of nine partners (Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop, Vercel), or self-built infrastructure. The explicit pricing of the orchestration layer is thereby reduced to zero, with revenue deferred to model and sandbox consumption.
Concurrent developments on the coding-agent side (per the official Changelog, cross-checked in aggregate): between 2026-09-01 and 09-12, Claude Code shipped 12 consecutive releases (v2.1.257—270), of which 2.1.257 set Claude Fable 5.1 as the default model (1M token context, $10/$50 per million tokens, $0.25 per cached read), 2.1.260 added the /diff real-time diff panel, 2.1.261 added the /skill-doctor skill-usage diagnostics, and 2.1.269 added the claude plugin eval plugin-evaluation suite (sinking L5 evaluation capability into the plugin ecosystem); OpenAI Codex CLI 0.154.0 (09-09) added GPT-6 Astra to the model picker and landed on Amazon Bedrock; GitHub Copilot's 09-07 weekly update introduced the experimental adaptive model routing Project HydraFusion in the CLI; and Google released Gemini 3.8 Flash on 09-02 (per the official statement), pushing the "budget-tier models taking on agentic tasks via longer reasoning" route to about 73.8% on DeepSWE v1.1 (virtually on par with GPT-6 Astra's 74.1%).
The same official Changelog page also records an early-September 2026 expansion of runtime capabilities: the GPT-Live 1 full-duplex voice API went GA (09-10, $0.05/minute billed per second), GPT-6 Astra became generally available (09-03, with tool calling supported only via the Responses API, plus the introduction of asynchronous safety checks and mid-turn redirection), and Prompt Cache Diagnostics went GA (09-08); MCP published its roadmap on 08-22, listing agent message primitives, unification of HTTP-native transport, and agent identity (DPoP / workload identity federation) as priorities for the next specification cycle. Accompanying industry and security signals include: Cursor's release of Projects (Beta, 09-10, dispatching parallel sub-agents through a coordinator agent that writes no code — the L3 orchestration layer of the AI IDE begins to take object form); the security firm Accomplish's disclosure of Claude Code macOS sandbox-escape details (09-11, reported 2026-07-13, fixed in v2.1.247); and OpenAI's disclosure of internal data from its research organization — agent workdays to human workdays reaching a ratio of 3.1:1, with median researcher daily spend exceeding $600 (09-06, per the official statement) — so that "agent hours surpassing human hours" is for the first time supported by internal data from a leading laboratory.
5.3. Naming and Maturing of Context Engineering
The eleven days in late June 2025 were the process by which "context engineering" went from a grass-roots practice term to a common industry term (Grade B, dates cross-checked across multiple sources):
| Date | Person | Event |
|---|---|---|
| 2025-06-19 | Tobi Lütke (Shopify CEO) | First public use of the term |
| 2025-06-23 | Harrison Chase (LangChain) | Published "The Rise of Context Engineering"; Lance Martin proposed the four pillars (Write / Select / Compress / Isolate) |
| 2025-06-25 | Andrej Karpathy | Gave a widely cited definition |
| 2025-06-27 | Simon Willison | Publicly endorsed it |
| 2025-06-30 | Philipp Schmid (Google DeepMind) | Gave a definition and left the memorable line "Most agent failures are not model failures anymore, they are context failures." |
It should be added that the term has an earlier grass-roots practice origin: HumanLayer founder Dex Horthy (author of 12-Factor Agents) has been using it since August 2024, and his factor #3 is "own the context window." Horthy describes himself as "not an inventor, but giving a name to what peers were already doing" (Grade B).
Around 2025-09-29, Anthropic released "Effective context engineering for AI agents" (Grade A), establishing attention budget and context rot as first-class concepts, marking the layer's official methodological standing.
5.4. The Skills Mechanism and Progressive Disclosure
On 2025-10-16, Anthropic released Agent Skills (Grade A); on 2025-12-18 it became an open standard.
| Element | Content |
|---|---|
| Minimal form | A my-skill/SKILL.md directory, extendable with scripts/, references/, assets/ |
| Required metadata | name and description in YAML frontmatter |
| Three-tier progressive disclosure | On startup, only name + description are loaded → on a hit, the full SKILL.md is loaded → bundled files are read on demand |
| Code support | Can bundle executable code that runs without the code entering the context |
| Companion | The /v1/skills endpoint and the Code Execution Tool beta |
Anthropic's official claim is: "the amount of context that can be bundled into a skill is effectively unbounded." This shifts the L1 layer from "how to stuff more in" to "how to load on demand."
5.5. Standardization: The Founding of AAIF
On 2025-12-09, the Linux Foundation announced the formation of the Agentic AI Foundation (AAIF) (Grade A; GIGAZINE records 2025-12-10; this document uses 12-09).
| Element | Content |
|---|---|
| Nature | A directed fund under the Linux Foundation |
| Three founding donors | Anthropic (MCP), Block (goose), OpenAI (AGENTS.md) |
| Other donations | Obot.ai donated the MCP Dev Summit |
| Platinum members (8) | AWS, Anthropic, Block, Bloomberg, Cloudflare, Google, Microsoft, OpenAI |
| Gold members | Cisco, Datadog, Docker, IBM, JetBrains, Okta, Oracle, SAP, Snowflake, Temporal, Twilio, and others |
| Silver members | Hugging Face, Pydantic, SUSE, Uber, and others |
Key ecosystem data at the time of founding (Grade A):
| Metric | Value |
|---|---|
| Number of public MCP servers | 10,000+ |
| Monthly downloads of the MCP Python + TypeScript SDKs | 97 million |
| Projects adopting AGENTS.md | 60,000+ |
| Servers in the Claude connectors directory | 75+ (Grade B) |
Two quotes worth recording:
"Donating MCP to the Linux Foundation as part of the AAIF ensures it stays open, neutral, and community-driven as it becomes critical infrastructure for AI." — Mike Krieger, Anthropic CPO
"We are seeing AI enter a new phase, as conversational systems shift to autonomous agents that can work together." — Jim Zemlin, Executive Director, Linux Foundation
The industrial tension in open governance materialized in 2026-09: on 2026-09-02 NVIDIA signed, and on 09-03 announced, an agreement of approximately $12.93 billion to acquire Hugging Face (approximately $11.9 billion to shareholders, plus up to $1 billion in employee retention equity; disclosed in an SEC 8-K, with closing expected in the first half of 2027, consistent across multiple sources), and the distribution layer of the open-model ecosystem thereby folded into a compute vendor. Official commitments include preserving the Hugging Face brand, multi-cloud and multi-accelerator support, and no mandatory use of NVIDIA compute, but the acquirer is simultaneously the largest open-source-model contributor on the platform (500+ models, 250+ datasets), and whether the "neutral hub" can be maintained after closing has become the industry variable most worth tracking outside the AAIF's neutral-governance narrative.
5.6. Naming Established: Harness Engineering
In February 2026, the term "harness" made the leap from industry jargon to an official term within six days.
| Date | Event |
|---|---|
| 2026-02-05 | Mitchell Hashimoto published "My AI Adoption Journey", proposing six stages of AI adoption, the fifth being Engineer the Harness (Grade A) |
| 2026-02-11 | OpenAI published the official blog post "Harness engineering: leveraging Codex in an agent-first world" (Grade A) |
| 2026-02 | Birgitta Böckeler published a Harness engineering framework article on martinfowler.com (Grade A) |
Hashimoto's six stages are: Drop the Chatbot → Reproduce Your Own Work → End-of-Day Agents → Outsource the Slam Dunks → Engineer the Harness → Always Have an Agent Running.
In the same post, OpenAI disclosed its million-line code experiment (Grade A, all figures may be cited in full):
| Metric | Value |
|---|---|
| Start | First commit to an empty repository in late August 2025; the scaffolding was generated by Codex CLI + GPT-5, and even the initial AGENTS.md was written by Codex |
| Code volume five months later | About 1 million lines (application logic, infrastructure, tools, docs, internal dev tools) |
| PRs / engineers / daily PRs per engineer | About 1,500 / 3 (later expanded to 7) / 3.5 |
| Time cost | About 1/10 of writing by hand |
| Hand-written human code | 0 lines |
| Longest single task runtime | Over 6 hours |
This experiment is the benchmark demonstration of the third-generation architecture; the details of its engineering decisions are in 03-架构演进.md.
5.7. China: The National Standard System for Agent Interconnection
In the first half of 2026, China released the GB/Z 185—2026 "Artificial Intelligence — Agent Interconnection" family of national standards (Grade A; there are three reported release dates — 2026-05-22 / 2026-06-26 / 2026-07-09 — and this document presents them side by side).
| Element | Content |
|---|---|
| Number | GB/Z 185.1 ~ GB/Z 185.7—2026 |
| Form | National standardizing guidance documents (GB/Z), an "agile standardization arrangement" |
| Guiding body | Ministry of Industry and Information Technology |
| Lead body | China Electronics Standardization Institute, organizing 70+ industry-academia-research-use units to develop them |
| Under jurisdiction | Proposed and centrally managed by the National Information Technology Standardization Technical Committee |
| Positioning | Publicized as the world's first systematic agent-interconnection standards system (this phrasing comes from Chinese media and has not been independently corroborated internationally) |
The seven-part structure:
- Part 1: Overall architecture
- Part 2: Identity codes (encoding, allocation, and management)
- Part 3: Identity management (registration, accounts, credentials, authentication)
- Part 4: Agent description (capability description and registration, publication, changes)
- Part 5: Agent discovery (discovery process)
- Part 6: Agent interaction (peer-to-peer, group, hybrid)
- Part 7: External tool invocation (architecture, flow, data formats)
Deployment progress: on 2026-08-31, a special session on the application of the "Artificial Intelligence — Agent Interconnection" national standard (Yangtze River Delta region) was held in Zhangjiang, Pudong New Area, Shanghai, where 30 organizations including AISpeech, Lenovo, ZTE, Volcano Engine, and Shanghai Jiao Tong University were awarded "agent identity code node" status (Grade A).
For the standard's details and trend assessment, see Section 3.5 of 04-未来发展.md.
6. Master Table of Key Milestones
The table below summarizes all the key milestones covered in this document, sorted by time, with the source grade of each marked.
| Date | Event | Grade |
|---|---|---|
| 2022-10-06 | ReAct paper published (arXiv:2210.03629) | A |
| 2022-10 | LangChain repository created (exact date [to be verified]) | B |
| 2023-02-09 | Toolformer (arXiv:2302.04761) | A |
| 2023-03—04 | AutoGPT / BabyAGI released (month disputed) | B |
| 2023-06-13 | OpenAI Function Calling released, along with gpt-4-0613, gpt-3.5-turbo-0613, gpt-3.5-turbo-16k | A |
| 2023-10-10 | SWE-bench released (2,294 tasks / 12 repos; ICLR 2024 Oral) | A |
| 2024-03 | Devin released | C, [to be verified] |
| 2024-08-13 | SWE-bench Verified released (500-task human-verified subset, GPT-4o baseline 33.2%) | C, [to be verified] |
| 2024-08 to 11 | Claude 3.5 Sonnet + agentic harness reached 49.0% | C, [to be verified] |
| 2024-10-22 | Anthropic computer use public beta (another source says 2023-10, [uncertain]) | B |
| 2024-11-25 | MCP open-sourced and released (creators David Soria Parra, Justin Spahr-Summers) | A |
| 2025-02-24 | Claude Code released as a limited research preview, along with Claude 3.7 Sonnet | A |
| 2025-03-11 | OpenAI Responses API + Agents SDK + built-in tools + built-in observability | A |
| 2025-03-26 | MCP spec 2025-03-26 (Streamable HTTP + OAuth 2.1) | A |
| 2025-04-09 | Google A2A released; ADK released the same day at Google Cloud Next 2025 | A |
| 2025-04-16 | OpenAI Codex CLI open-sourced and released (o3, o4-mini same day; 04-14 GPT-4.1 series with 1M context) | A |
| 2025-05-16 | Codex Cloud research preview; codex-1 (72.1% / 83.8%) | B, [to be verified] |
| 2025-05-22 | Claude Opus 4 / Sonnet 4 released, Claude Code went GA | B |
| 2025-05 | Terminal-Bench released (Stanford + Laude Institute) | A |
| 2025-06-18 | MCP spec 2025-06-18 (elicitation, structured output, removed batching) | A |
| 2025-06-23 | Google donated A2A to the Linux Foundation (Open Source Summit NA, Denver) | A |
| late 2025-06 | "context engineering" naming chain (06-19 → 06-30, five people in eleven days) | B |
| 2025-09 | Claude Code SDK renamed to Claude Agent SDK | B |
| 2025-09-29 | Anthropic released "Effective context engineering for AI agents" | A |
| 2025-10-16 | Anthropic Agent Skills released | A |
| 2025-11-24 | Claude Opus 4.5 released | B, [to be verified] |
| 2025-11-25 | MCP spec 2025-11-25 (Tasks, parallel tool calls, server-side agent loop) | A |
| 2025-12-09 | Linux Foundation founded AAIF; MCP, goose, and AGENTS.md donated simultaneously (another source says 12-10) | A |
| 2025-12-18 | Agent Skills published as an open standard | A |
| late 2025—2026-01 | Terminal-Bench 2.0 released (89 tasks, Harbor framework) | B, [to be verified] |
| 2026-02-05 | Mitchell Hashimoto proposed "Engineer the Harness" | A |
| 2026-02-11 | OpenAI "Harness engineering" released (million-line code experiment) | A |
| 2026-02 | martinfowler.com published the Harness engineering framework article | A |
| 2026-03 | A2A v1.0 (first stable production release, with Signed Agent Cards) | A |
| 2026-04-09 | A2A first anniversary: 150+ supporting organizations, 22,000+ GitHub stars | A |
| first half of 2026 | GB/Z 185—2026 "Artificial Intelligence — Agent Interconnection" released (three dates: 05-22 / 06-26 / 07-09) | A, date conflict |
| 2026-07-28 | MCP spec 2026-07-28: protocol core made stateless, Extensions framework introduced | A |
| 2026-08-26 | MIIT: nearly 200 key AI standards developed | B |
| 2026-08-31 | First batch of Yangtze River Delta agent identity code nodes issued (30 organizations) | A |
7. Comparison of the Three Generations
| Comparison Dimension | 1st Generation · Prompt-Centric | 2nd Generation · Tool & Orchestration | 3rd Generation · Runtime & Evaluation |
|---|---|---|---|
| Time range | c. 2020—2023.6 | 2023.6—2025.2 | 2025.2—present |
| Core engineering object | Prompt | Tool + Orchestration | Context + Sandbox + Eval + Governance |
| L1 Context | No governance, relies on Few-shot | Preliminary RAG, no compression strategy | Systematic: compression, notes, sub-agents, Skills |
| L2 Tools | None | Function Calling, vendor-proprietary | MCP standardized + sandbox isolation |
| L3 Orchestration | Single turn | Multi-agent orchestration frameworks | Built into official SDKs + sub-agent dispatch + long-running tasks |
| L4 Memory | None | Preliminary session memory | Cross-window state handoff + checkpoints |
| L5 Evaluation | Subjective human judgment | External benchmark leaderboards | Built-in evaluation loop + trajectory tracing + regression set |
| L6 Governance | None | Manual permission prompts | Sandbox + credential protection + policy-based governance |
| Main failure mode | Narrow capability boundary | Context rot, not regressable | Entropy growth and doc rot (to be solved by the 4th generation) |
| Representative products | GPT-3 apps, AutoGPT | LangChain, AutoGen, early Cursor | Claude Agent SDK, MCP, Skills, Codex CLI |
| Typical quantitative performance | SWE-bench 1.96% | Verified 33.2% → 49.0% | Cutting-edge systems keep setting new records (exact figures [to be verified]) |
8. Evolutionary Patterns and Implications
From the evolution across the three generations, four regularities can be distilled:
Rule 1: The bottleneck keeps moving outward.
From "the model can't use tools" (1st generation) to "too many tools to connect" (2nd generation) to "context and governance determine success or failure" (3rd generation), each generation solves the external problems exposed by the previous one, not the problems internal to the model.
Rule 2: Each generation sinks the core means of the previous one into infrastructure.
Prompt engineering was not wiped out, but sank into part of the L1 layer; tool invocation was not wiped out, but was standardized as MCP. A new generation does not replace — it turns the previous generation's manual work into default capabilities.
Rule 3: Standardization always follows the emergence of a de facto standard.
MCP was released in 2024-11 but only donated to the Linux Foundation in 2025-12; AGENTS.md was adopted by 60,000+ projects before becoming an AAIF donation; Agent Skills was released in 2025-10 but only became an open standard in 2025-12. The regularity is: first a widely adopted de facto standard, then a legally standardized one under neutral governance.
Rule 4: Naming lags practice by about 12—18 months.
The practice of context engineering began in August 2024 (12-Factor Agents), yet was only named in June 2025; the product practice of the harness began in early 2025 (Claude Code / Codex CLI), yet was only named in February 2026. This suggests: by the time a concept is formally named, its practice has usually been running for at least a year.
9. Summary
The history of the AI Harness is essentially a history of "the migration of engineering focus from inside the model to outside the model".
- The 1st generation focused on how to say it (Prompt);
- The 2nd generation focused on what it can do (Tools + Orchestration);
- The 3rd generation focused on in what environment it acts, whether it does it well, and whether it can be constrained (Context + Sandbox + Eval + Governance).
Three key dates frame this migration: on 2023-06-13 Function Calling gave tools a contract; on 2024-11-25 MCP gave the tool ecosystem a standard; and on 2025-12-09 AAIF gave the standard neutral governance. Then the release of OpenAI's "Harness engineering" on 2026-02-11 marked the moment this body of engineering practice finally got a name of its own.
The stage the industry is currently (2026) at is: the third-generation architecture is established, the standardization window is closing, but the methodology has not yet converged. For the direction of the next phase, see 04-未来发展.md.
10. Information-Gap Statement
This document involves the following information gaps, marked at the corresponding locations in the body text:
- ISO/IEC international standard for agent interconnection: no ISO/IEC number for a published or initiated international standard on agent interconnection was found; no authoritative information is currently available.
- The first use of the term "Agent Harness": no exact primary source was found; no authoritative information is currently available.
- The LangChain "Anatomy of an Agent Harness" original text and date: the original text was not found; no authoritative information is currently available.
- The exact URL and release date of Anthropic's "How we built our multi-agent research system": it is only referenced as a link in the context-engineering blog and has not been verified.
- Conflicting release dates for GB/Z 185—2026: 2026-05-22 (China Daily) / 2026-06-26 (Baidu Baike) / 2026-07-09 (People's Daily report date, with the wording "recently released"). This document presents them side by side; the body uses "first half of 2026."
- Conflicting AAIF founding dates: 2025-12-09 (TechCrunch, Wikipedia) / 2025-12-10 (GIGAZINE). This document uses 12-09.
- Conflicting Terminal-Bench 2.0 release timing: one source records late 2025, another 2026-01. This document writes "late 2025 to early 2026."
- Conflicting Anthropic computer use release dates: Taskade records 2023-10, conflicting with the official 2024-10-22. This document follows the official 2024-10, marked
[uncertain]. - Conflicting AutoGPT / BabyAGI release months: two accounts, 2023-03 and 2023-04. This document writes "March—April 2023."
- The "first public spec version" wording of MCP: 2024-11-05 (the Ruby SDK records it as the Initial protocol revision) and 2024-11-25 (public announcement and ecosystem launch) can coexist.
- All Grade B/C figures in this document are marked
[to be verified], including: the Devin release date; SWE-bench Verified's 500/93/68.3%/33.2%; the various scores of the second half of 2024; Claude Code's 350,000 DAU / 1 million PRs / 25% internal commits; codex-1's 72.1% / 83.8%; and the Claude 2025-11-24 version date. - The 2026 version timeline of Claude models: found only in a third-party GitHub timeline repository; it needs to be checked against official announcements and is marked
[to be verified].
11. References
- Function calling and other API updates — OpenAI, 2023-06-13. https://openai.com/blog/function-calling-and-other-API-updates
- Introducing the Model Context Protocol — Anthropic, 2024-11-25. https://www.anthropic.com/news/model-context-protocol
- Claude 3.7 Sonnet and Claude Code — Anthropic, 2025-02-24. https://www.anthropic.com/news/claude-3-7-sonnet
- New tools for building agents — OpenAI, 2025-03-11. https://openai.com/blog/new-tools-for-building-agents
- Introducing Codex (Codex CLI) — OpenAI, 2025-04-16. https://github.com/openai/codex
- Agent Development Kit: Making it easy to build multi-agent applications — Google, 2025-04-09. https://googledevelopers.blogspot.com/en/agent-development-kit-easy-to-build-multi-agent-applications/
- A year of open collaboration: Celebrating the anniversary of A2A — Google Open Source Blog, 2026-04-16. https://opensource.googleblog.com/
- Harness engineering: leveraging Codex in an agent-first world — OpenAI, 2026-02-11. https://openai.com/index/harness-engineering/
- My AI Adoption Journey — Mitchell Hashimoto, 2026-02-05. https://mitchellh.com/writing/my-ai-adoption-journey
- Harness engineering for coding agent users — Birgitta Böckeler, martinfowler.com, 2026. https://martinfowler.com/articles/harness-engineering.html
- Effective context engineering for AI agents — Anthropic, 2025. https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
- Introducing Agent Skills — Anthropic, 2025-10-16 (open-standard update 2025-12-18). https://www.anthropic.com/news/skills
- Linux Foundation Announces the Formation of the AAIF — Linux Foundation / AAIF, 2025-12-09. https://aaif.io/
- Linux Foundation Launches the Agent2Agent Protocol Project — Linux Foundation, 2025-06-23. https://www.linuxfoundation.org/press/linux-foundation-launches-the-agent2agent-protocol-project-to-enable-secure-intelligent-communication-between-ai-agents
- MCP Protocol Versions — MCP Ruby SDK, 2026. https://ruby.sdk.modelcontextprotocol.io/protocol-versions/
- ReAct: Synergizing Reasoning and Acting in Language Models — Yao et al., 2022-10 (arXiv:2210.03629). https://arxiv.org/abs/2210.03629
- Toolformer: Language Models Can Teach Themselves to Use Tools — Schick et al. (Meta AI), 2023-02 (arXiv:2302.04761). https://arxiv.org/abs/2302.04761
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues? — Jimenez, Yang, et al. (Princeton), 2023-10. https://www.swebench.com/
- "Artificial Intelligence — Agent Interconnection" family of national standards (release report) — People's Daily Online, 2026-07-09. https://finance-app.people.cn/n1/2026/0709/c1004-40757059.html
- Interpretation of the "Artificial Intelligence — Agent Interconnection" family of national standards — China Industrial Economy Information Network, 2026. https://cinic.org.cn/xw/zcdt/1643418.html