读见

更聪明的模型淘汰了旧式 Harness,剩下什么?Jediah Katz 谈智能体架构

原题Smarter Models Killed the Harness. Here's What's Left — Jediah Katz, SpaceXAI

约 13 分钟原文英文已翻译

视频由 YouTube 提供

推荐理由跟随 Cursor 工程师区分会被模型吸收的补丁与长期运行能力,帮助团队决定哪些脚手架应删除,哪些权限和成本控制应继续投入。

看前速览

5 个要点

Jediah Katz 认为,模型会吸收旧式编程辅助技巧,但智能体 Harness 仍负责开启新任务,并保障运行可靠性、权限安全与执行效率。

  1. 模型进步淘汰编程补丁,但不会替代整个 Harness。

    演讲区分了可由模型学会的编程行为,以及保障智能体可用性的运行时、权限和编排。

  2. 数据飞轮不断拓展智能体的工作边界。

    Harness 先让困难任务可行,使用过程积累训练经验,模型吸收能力后,Harness 再开启新任务。

  3. 自主同事需要超出编程范围的协调和判断。

    长期协调器向工作智能体派发任务,同时处理沟通、记忆,以及直接行动还是询问用户。

  4. 基础设施、信任与效率仍是工程责任。

    云端执行、细分权限、缓存、Token 效率和模型组合,共同影响可靠性、风险和运行成本。

  5. 让临时补丁容易观测,也容易移除。

    可组合订阅统一唤醒事件,集中记录的补丁遥测则帮助发现模型已不再需要的护栏。

完整摘要

Jediah Katz 根据参与 Cursor 智能体 Harness 开发的经验,将运行时基础设施与上下文、编排层分开讨论。前沿模型已经吸收许多过去依赖专门提示、编辑模型和护栏的编程技巧。演讲引用的研究显示,不同 Harness 的基准准确率差异可能缩小,但单项任务成本仍可能不同。他用数据飞轮解释这一过程:Harness 让更难的任务成为可能,使用经验进入训练,模型再将能力内化,工程工作则转向新边界。长期协调器、工作智能体、沟通、记忆,以及何时执行或询问,都带来新的编排需求。云端运行、细分权限和成本控制仍由外部系统承担。他建议将事件订阅设计成可组合原语,并集中记录临时行为补丁,失效后及时清理。六个月内大部分智能体工作将离开笔记本,以及效率提升的说法,均属于讲者的预测或陈述,尚非独立验证结果。

章节

文字稿

查看原文

简要说明Brief Description

Jediah Katz 解释了更智能的模型如何在获得智能体框架提供的支持后,掌握编程技巧;与此同时,智能体框架则不断开拓新的任务,并提供基础设施、信任、安全保障和效率。Jediah Katz explains how smarter models absorb coding techniques once supplied by agent harnesses, while harnesses continue to open new tasks and provide infrastructure, trust, security, and efficiency.

目录Table of Contents

  • 测试线束坏了吗?
    Is the harness dead?
  • 从提示工程师到工具链工程师
    From prompt engineer to harness engineer
  • 智能体运行框架中包含什么内容
    What's inside an agent harness
  • 峰值线束,以及反弹
    Peak harness, and the backlash
  • 研究表明了什么
    What the research says
  • 数据飞轮
    The data flywheel
  • 安全带开启了下一个前沿领域
    The harness unlocks the next frontier
  • 模型无法吸收的东西:基础设施、信任与效率
    What models can't absorb: infra, trust, efficiency
  • Harness 接下来会怎样
    What's next for harnesses
  • 测试框架万岁
    Long live the harness

安全带失效了吗?Is the harness dead?

我叫 Jedidiah,2025 年初加入 Cursor,是负责开发我们的智能体运行框架的资历最深的工程师。最近,随着 Cursor 被收购,我也加入了 SpaceX。今天,我想和大家聊聊智能体运行框架是如何演进到如今这个阶段的,以及我认为它未来会走向何方。今天有一个问题想和大家一起探讨:智能体运行框架是不是已经过时了?那么,我们开始吧。My name is Jedidiah and I joined Cursor early in 2025 as the longest tenured engineer working on our agent harness and recently I came along to SpaceX as part of the acquisition of Cursor. So, today I want to talk to you all about how the agent harness has evolved to where we are today and where I think things are going. And there's a motivating question that I have for us to answer today, which is: is the agent harness dead? So, let's get started.

这是对那段脚本更自然、更流畅的改写,读起来像一场连贯的会议演讲,而不是一连串简短的要点。哎呀。只是想确认一下,大家午饭前还开着柔性探测器。呃,不,真的。Here's a more natural and flowing version of that script which reads like a cohesive conference talk rather than a series of short points. Oops. Just making sure everyone's still got their soft detectors on before lunch. Um no, for real.

从提示词工程师到 Harness 工程师From prompt engineer to harness engineer

故事要从 2023 年初说起,那时“提示词工程师”是最炙手可热的头衔。到 2025 年年中,这个角色已经演变成了“上下文工程师”——也就是通过编程方式,实时为模型组织最合适的上下文。直到今年年初,业界才确定了“智能体运行框架”和“运行框架工程”这两个术语,用来描述我和团队一直在做的工作。那么,智能体运行框架里都包含什么?它就像模型的眼睛和双手,包裹着模型,引导它,并将它与外部世界连接起来。So, the story starts in early 2023 when prompt engineer was the hottest title out there. By mid-2025, that had evolved to context engineer, someone who programmatically puts the best context for the model together on the fly. And then only at the beginning of this year did the industry land on the term agent harness and harness engineering to describe work that my team and I have been doing for a while. So, what's in an agent harness? The harness is like the eyes and the hands for the model. It wraps around the model, steers it, and connects it to the world.

用户通过应用连接到我们的运行框架,然后运行框架再将模型连接到计算机以及 MCP 等第三方服务。Users connect to our harness through apps and then the harness connects the model to computers and also to third-party services like MCPs.

Agent 框架内部包含什么What's inside an agent harness

我喜欢将运行框架划分为两层:运行时层,以及上下文与编排层。运行时层有点像运行框架的基础。它决定核心智能体循环在哪里运行,以及如何存储状态,以便后续恢复工作。构建这一基础很像传统的软件工程。而上下文与编排层则有点像蛮荒西部。很多人谈到运行框架时,指的就是这些部分。它们决定何时调用哪些模型,以及模型能够看到哪些上下文。I like to divide the harness into two layers, the runtime and the context and orchestration layers. The runtime is kind of like the foundation of the harness. It controls where the core agent loop runs and how state is stored so that work can resume. Building this foundation is a lot like traditional software engineering. And then, the context and orchestration layers are kind of like the wild west. This is what a lot of people refer to when they talk about the harness. These parts of the harness control which models are called when and what context they see.

当然,这包括提示词和工具之类的内容,也包括记忆压缩,以及许多你可能不知道的技巧,我们用这些技巧让智能体按照我们期望的方式行事。这就是我主要负责的领域。That includes things like prompts and tools, of course, but also memory compaction and a bunch of tricks you might not know that we do to make the agent behave in the way that we want. So, this is the area that I primarily work in.

峰值安全带,以及随之而来的反弹Peak harness, and the backlash

新年伊始,我们算是迎来了 harness 的巅峰时期。Cursor 宣布,他们用一种名为 Grind Swarm 的新型长时运行 harness,从零开始打造了一款浏览器。这是一个多模态 harness,能够协调大量智能体和机器,运行成本非常高。为了制作这个演示,它甚至让 Cursor 的服务瘫痪了一两次。如今,在智能体领域,什么事都可能发生:才过了几个月,网上就有人开始说 harness 已经过时了。Anthropic 的 Tariq 谈到,他们已经从 Claude Code 中移除了大部分系统提示词。In the new year, we kind of hit peak harness. Cursor announced that we had created a browser entirely from scratch uh using a new long-running harness called Grind Swarm. This was a multimodal harness that orchestrated a lot of agents and a lot of machines and it was very expensive to run. Uh it actually took down Cursor maybe once or twice to get this demo. Um now, like anything in the world of agents, it only took a few months of peak harness for people online to start saying that the harness was dead. Tariq from Anthropic talked about how they had killed much of the system prompt from Claude Code.

YC 的 Garry Tan 认为,智能体运行框架终将消失,只有技能才重要。就连我和同事 Stefan 也写过,我们如何移除了 Cursor 中所有这些防护措施——它们原本是用来弥补模型智能不足的。Garry Tan from YC thought that the harness would fade away and only skills would matter. Even myself and my colleague Stefan, we wrote about how we had removed all these guardrails that we had in cursor to patch over gaps in the model's intelligence.

以前,我们会用一个小模型专门对文件进行代码修改,因为当时的前沿模型还不擅长做这件事。我们还准备了各种针对编码的专门指令,比如如何探索代码库,以及如何检查自己的工作。所以,如果这些人都在说 harness 已经消亡了,他们的意思就是,更聪明的模型才是让它消亡的原因。对此有大量证据。我想请大家设想一个非常简单的 harness:模型只能访问 shell 和我所有的机密信息。顺便说一句,请不要截取这张幻灯片的屏幕截图。这张不允许。We used to have things like a small model just to apply code edits to a file because the frontier models weren't good at this. We also had all sorts of coding specific instructions like how to explore the codebase and how to check your work. So, if all these people are saying the harness is dead, they were saying that smarter models are what killed it. And there's a lot of evidence for that. I want you all to think about a very simple harness where the model only has access to the shell and to all of my secrets. Please don't screenshot this slide by the way. This one's off limits.

那么,现场有谁认为,这个非常简单的运行框架在编程评测中的表现会和更复杂的框架一样好?如果你这么认为,请举手。So, who here thinks that this really simple harness would do just as well on coding evals as a more sophisticated one? Raise your hand if you think it would.

少数人举了手,但你们大多数人都知道。A few hands, but most of you know.

研究结果表明的内容What the research says

因此,近期有几项研究试图深入探究这个问题。加州大学伯克利分校的第一项研究,让七种不同的前沿模型在一系列工具框架上接受测试,其中包括 Pi、Codex 和 Cloud Code。他们发现,尤其是较新、能力更强的模型,所选工具框架并不会显著影响它们在 SweetBench light 上的得分。苹果和 EPFL 的另一项研究也得出了类似结论:专用的 MLE 工具框架对 MLEBench 的表现并没有显著影响。那么,这到底是怎么回事?工具框架真的已经过时了吗?他们的结论对吗?以下是我认为证据所表明的情况。So, a few recent studies tried to investigate exactly that question. The first one out of UC Berkeley tried seven different frontier models on a series of harnesses including Pi, Codex, and Cloud Code. And what they found, particularly on the newer smarter models, is that the choice of harness did not actually make a difference significantly in the score on SweetBench light. And then another study from Apple and EPFL found similarly that a dedicated MLE harness did not make a big difference on MLEBench. So, what is going on here? Is it actually true that the harness is dead? Are they right? Here's what I think that the evidence shows.

如今,复杂的智能体框架已经不再能提升编码智能了。我认为确实如此。我知道这听起来很让人意外。但我们过去在框架中做的这些事情,都是为了弥补模型原始编码能力中的不足,比如教它如何探索代码库,呃,如何借助 `/goal` 之类的功能长时间持续工作,呃,以及如何运行测试来检查自己的成果。A fancy harness in this day and age, no longer adds coding intelligence. I think that is true. I know that's surprising. But, these things that we used to do in the harness to patch over gaps in the raw coding muscle memory of the model, like teaching it how to explore the code base, uh how to work persistently for very long time with things like slash goal, uh how to run tests to check your work.

该模型已原生掌握这些技能。The model has natively absorbed these skills.

数据飞轮The data flywheel

那么,为什么会发生这种情况?事实证明,harness 正在通过我所说的“数据飞轮”让自己变得过时。在这个过程中,harness 让越来越难的编程任务变得触手可及。于是,更多用户能够借助智能体高效地尝试这些任务。这意味着有更多编程数据会被分享给各个实验室。最终,模型也会逐渐掌握这些技能。模型最终会变得如此出色,以至于 harness 甚至可以删掉那些最初为完成这些任务所必需的功能。这是一个非常有趣的过程。So, why is this happening? It turns out the harness is actually making itself obsolete through what I call the data flywheel. So, in this process, the harness brings harder and harder coding tasks within reach. At that point, more users can productively attempt those tasks with agents. That means more coding data is shared with the labs. And eventually the models learn natively how to do these skills as well. Eventually, the models get so good that the harness can actually delete the things it needed to do to make those tasks work in the first place. It's a very interesting process.

所以,人们才会说,工具框架已经过时了。如果模型足够优秀,能在任何工具框架中很好地编写代码,那你又何必在意呢?你用的是哪种工具框架,真的重要吗?工具框架真的已经过时了吗?So, that's how you get people saying that the harness is dead. And if the models are good enough to code well in any harness, then why should you care? Does it really matter which harness you use? Is the harness really dead?

我认为不是,原因有两个。首先,接下来我会分别展开这两点:harness 实际上为模型开辟了新的任务领域,让它能够去解决。其次,有些任务或 harness 的某些部分,尤其是上下文层之外的部分,是模型无法吸收的。I say no, and there's two reasons why. First of all, and I'm going to go into both these points, the harness actually opens the new frontier of tasks for the model to solve. And then, second, there are some tasks or some parts of the harness, especially outside the context layer, which the model cannot absorb.

线束将开启下一个前沿领域The harness unlocks the next frontier

首先,谈谈 harness 如何开启下一个前沿领域,我想先聊聊 Grokbot。在座有谁试过 Grockbot?能举个手让我看看吗?太棒了。我们开始吧。真不错。嗯,对于还没试过的各位,Grockbot 是我们的自主协作伙伴,能帮你完成工作。不只是编程,还能处理各种知识工作。我真心推荐你试试。我就不多推销了,但它是一款开创性的新产品,已经开创了一个全新的品类。不过,我们还是来聊聊 harness 吧。So, to first talk about how the harness unlocks the next frontier, I want to talk about Grokbot. Who here has tried Grockbot? Can I see some hands? Awesome. Let's go. That's great. Um so, for those of you who haven't, Grockbot is our autonomous colleague who gets work done for you. Not just coding, but all kinds of knowledge work. And I really recommend you try it. I'm not going to sell too much, but it's a groundbreaking new product. It's already created a new category. Let's just talk about the harness, though.

所以,Grockbot 有了一种新型的运行框架,它不再依赖一次性的聊天,而是依靠长期运行的协调机器人来调度一群工作代理。你可以把它想成雇了一位能力很强的律师,直接与你打交道并负责制定策略,但会把具体任务分派给一组律师助理。So, Grockbot has a new kind of harness that operates not based off of one-off chats, but long-lived coordinator bots that orchestrate a fleet of worker agents. You can kind of think of it like hiring a high-powered lawyer who deals with you, you know, directly and owns strategy, but they farm out their tasks to a team of paralegals.

情况就是这样。有意思的是,关于 Grockbot 的执行框架,我之前提到过,在 Cursor 中,随着模型越来越聪明,我们发现自己开始从框架中移除一些东西,比如提示词和防护措施。但有趣的是,在 Grockbot 中,我们反而发现自己重新加回了很多这类东西,还添加了新的提示词和防护措施。这是因为,在这种新的工作方式和 Grockbot 旨在解决的新领域中,出现了许多新任务,而模型还没有完全掌握这些任务。It's like that. Now, something interesting about the Grockbot harness is I mentioned how in Cursor we found ourselves removing things from the harness, removing prompting, removing guardrails as the models got smarter. But, curiously in Grockbot, we've actually found ourselves putting back a lot of these things, adding new prompting, adding new guardrails. And that's because there's a lot of new tasks in this new way of working, in the new domains that Grockbot is meant to solve, that the models have not nailed yet.

举几个这类事情的例子:我们目前在 Grockbot 上重点关注的事项包括一些关键的网站操作流程,比如制作幻灯片、预订旅行,以及沟通。一个自主工作的同事需要随时向你汇报它在做什么,同时又不能让你应接不暇。To give a few examples of those kind of things, just a few things that we're focused on right now when it comes to Grockbot, there's key website flows like making slide decks and booking travel, communication. An autonomous colleague needs to keep you up to date on what it's been doing without overwhelming you.

采取行动还是先询问,是另一个重要问题。Grockbot 可以做很多事情,而这些事情从某种意义上说有一定风险,比如给你的同事发邮件。你希望我们能够做到这一点,但又只希望我们按照你的意图去做。当然,随着时间推移,通过记忆来学习你的工作方式,也是一个重点。因此,可能尝试过突破编程代理能力边界的各位或许已经注意到,这些任务都不是什么新鲜事。但对 GrokBot 来说,它们重要得多,因为每个人都在某种程度上需要这些能力。而目前在 GrokBot 中,正是运行框架让这些任务成为可能。Acting versus asking is another big one. Grockbot can do a lot of things which are kind of risky in some sense, like emailing your colleagues. You want us to be able to do that, but you only want us to do it in the way that you intended. And then, of course, learning over time the way that you work through memories is another big focus. So, those of you who might have pushed the boundaries with coding agents might have noticed that none of these tasks are new. But, for GrokBot, they're much more important because everybody is needing them in some way. And right now in GrokBot, it is the harness that is making these tasks feasible.

当然,模型当然是其中很重要的一部分,但 harness 正在帮助模型将这些能力纳入自身的能力范围。回到我们的数据飞轮,以 GrokBot 为例,它让我们补全了循环中的最后一支箭头:当编码这类能力被模型商品化后,真正为模型开辟新的待解决前沿、并再次启动飞轮的,其实是 harness。Of course, the model is a big part of that, but the harness is helping bring them into its own reach. So, going back to our data flywheel, GrokBot, that example, lets us fill in the last arrow in our cycle, which is when a capability like coding gets commoditized by the model, it's actually the harness which unlocks a new frontier for the model to then solve and kicks off that flywheel again.

所以,这可能表现为承担编码领域之外的新任务,就像我们刚才看到的 GrokBot 那样;也可能只是意味着在软件工程工作中承担纯编码以外的任务。我相信在座的一些人已经在软件职业生涯中相当资深了,你们可能知道,资历越深,实际写代码的时间就越少。所以,工作中还有很多其他重要的事情。这就是我希望你们理解的核心思想:这个飞轮,以及模型和执行框架如何共同推动它。So, that might look like, you know, taking on new tasks outside of the coding domain, um as we just saw with GrokBot, or it could just mean taking on tasks in the software engineering job beyond pure coding. I'm sure some of you here are, you know, pretty senior in your software careers, and you might know the more senior you get, the less coding you're actually doing. So, there's a lot of other things in the job that matter. Um this is the core idea that I would like you to understand, this flywheel and how the model and the harness together drive it.

另一个展示 harness 如何开辟新前沿的例子是:你们中的一些人可能听说过“软件工厂”这个概念,多个智能体协同工作,完成整个软件开发生命周期。如今,这一愿景还远未实现,但整个行业围绕 harness 正在进行大量创新。One more example of how the harness can unlock new frontiers is some of you may have heard of this idea of the software factory, where you have multiple agents coordinating together to solve the full software development life cycle. Now, this is far from a solved vision, but there's a lot of industry or there's a lot of innovation happening across the industry at the harness.

举个例子说明这种情况可能会如何呈现:你知道,在内部,我们有很多渠道,人们可能会在这些渠道中报告 bug,然后自动化流程会立即对其进行自动分流。接着,它可能会启动一个云端智能体来尝试修复这个 bug,而该智能体会使用我们的工具展示修复前后的视频,以证明问题已经解决。之后,一旦修复部署完成,或者合并后开始部署,我们的发布管理产品就会启动另一个智能体,在生产环境中监控是否出现任何问题。因此,你可以把这一切看作一个元级编排框架,它将多个智能体协调起来。To give an example of how this might manifest, you know, internally, we have a lot of channels where someone might report a bug to that channel, and then an automation immediately auto triages that bug. Then it might kick off a cloud agent to try to fix the bug, and that agent will use our tooling to show before and after videos to prove that it's fixed. And then, once that fix is deployed and or is merged in and starts deploying, we have our rollouts product, which kicks off another agent to watch in production for any issues. So, you can think of all this as almost like a meta harness, which is orchestrating many agents together.

我希望你能这样看待这件事。这就是你应该重视 harness 的第一个原因:要让智能体任务达到前沿水平,就需要一个前沿 harness。That's how I'd like you to think about this. So, that's the first reason you should care about the harness because a frontier harness is needed to be at the frontier of agentic tasks.

模型无法吸收的东西:基础设施、信任与效率What models can't absorb: infra, trust, efficiency

接下来一个原因是,工具链中有些部分是模型无法吸收的。我们来谈谈这些部分。首先,要让一个自主协作伙伴可靠运行,需要相应的基础设施和运行时环境。在过去一年多的时间里,我们已经从只能处理持续几分钟的典型任务的智能体,发展到能够处理数小时、数天甚至更久的任务。要实现这一点,绝不可能只靠某个人的笔记本电脑——它可能会进入休眠状态。如果你真的想要一个自主协作伙伴,它就必须运行在云端。接下来,我们要谈的是信任与安全。And then the next reason is there are some parts of the harness that the model can't absorb. So, let's talk about those. First of all, there is the infrastructure and runtime needed to make an autonomous colleague reliable. Over the past year plus, we've gone from agents that work on a typical task for minutes to hours to days and even longer. And there's just no way that this can work on one person's laptop, which might go to sleep. It has to be running in the cloud if you really want an autonomous colleague. And then next, we have trust and security.

是的,就像我们之前看到的,呃,一个只用 bash、并把你所有 API 密钥都放在一个文件里的简单脚手架,就能解决编程任务;但你大概不想把装着所有 API 密钥的文件交给模型。嗯,当然,如果你不介意的话,我敢肯定你的安全主管会有话要说。Yes, like we saw before, uh a simple harness with just bash and all your, you know, all your API keys in a file can solve coding tasks, but you probably don't want to give all your API keys in a file to the model. Um or if you're okay with that, I'm sure that your head of security would have something to say.

嗯,所以这对企业来说显然非常重要:我们希望将权限限定到特定的智能体和特定人员。不过,设置防护机制也很重要,这样任何人都不必担心一觉醒来就发现发生了灾难性的操作,或者收到了 1 万美元的 API 费用,对吧?最后,还有效率。如果你回想一下我展示的两项研究,它们发现所选的运行框架并未显著影响评测分数,但两项研究都发现,每项任务的成本存在显著差异。Um so, this is obviously really important companies where we want to have permissions that are scoped down to specific agents and specific people, but it's also important to have guardrails for anyone who doesn't want to wake up one morning to a really catastrophic action or to a $10,000 API fee, right? And then finally, there's efficiency. If you think back to two studies I showed, where the choice of harness did not make a significant difference in eval scores, both of those studies actually found that there was a significant difference in cost per task.

过去一个月,我个人一直专注于提升 Grok Bot 运行框架的效率。现在,通过调整缓存命中率等变量、提高缓存命中率、提升 token 效率,以及调整模型组合等,我们显著降低了 Grok Bot 的成本,并提升了运行速度,而且没有牺牲质量。I have personally been focused over the past month on optimizing the efficiency of the Grok Bot harness. Now, through tweaking variables like uh cache hit rate, improving that, token efficiency, um model mix, we were able to bring down the costs and the speed of Grok Bots significantly for users without any hit to quality.

用户们真的、真的很喜欢这个。看到这一点太棒了。嗯,关于我们是如何做到这一点的,完全可以另开一场演讲来讲,但这里的关键结论是:你越是使用智能体来完成工作,拥有最高效的 harness 对你就越重要、越有价值。所以,到现在你可能已经相信 harness 仍然很重要。Users have really, really been appreciating this. It's been awesome to see. Um now, it could be an entire different talk about how we did this, but the key takeaway here is that the more and more that you use agents to do your work, the more it matters, the more valuable it will be for you to have the most efficient harness. So, by now you might be convinced that the harness still matters.

Harness 接下来会怎样What's next for harnesses

这时你可能会问:“接下来会怎样?”以下是我预见到的几种趋势。首先,这个飞轮正在加速,而我们现在已经进入了一个新时代:产品的发展速度再次超过了模型。这意味着,在逐步理顺之前,harness 会变得更加杂乱。将会有更多东西被推出。因此,我们预计大家会构建自己的 harness,并对其进行设计,让新功能更容易上线和下线。Then you might be asking, "What's next?" Here's a few trends that I'm anticipating. First of all, that flywheel is speeding up, and right now we've entered a new age where the product is once again moving faster than the model. That means that the harness is going to get more messy before it gets cleaned up. There's going to be more things shipped. So, because of this, we're expecting people to um build their harnesses, design them so it's easier to ship and unship new features.

我们已经看到这种趋势的一种体现:无论是 Grok Bot,还是其他类似产品,向用户展示的运行框架内部机制都越来越少。你们当中有些人可能听说过海勒姆定律:凡是向用户公开的东西,他们最终都会依赖它。显然,减少用户能获得的信息也有取舍,比如他们对正在发生的事情了解得更少;但一个好处是,需要处理的变更管理工作也更少,因此你们可以更快地迭代。One way we're already seeing that manifest is with both Grok Bot and other similar products, less and less of the harness inner workings are being exposed to the user. Some of you may have heard of Hyrum's Law, which says that anything that you expose to users, they will come to depend on. Now, obviously there are tradeoffs to giving users less, you know, less visibility into what's happening, but one advantage is that there's less change management to deal with, and you can iterate much faster.

现在,我们看到这一趋势以另一种方式呈现出来:人们越来越重视为智能体设计基础构件。基础构件就像搭积木用的接口,可以组合和扩展,形成强大的功能。有了基础构件,你就能添加新功能,而不会让智能体的工作变得更复杂;也能移除功能,而不必在代码库中进行复杂的重构。这就是良好的工程实践。在我们的各种智能体运行框架中,我们新增的一种基础构件叫作订阅。智能体需要一种机制,以便在事件发生时被唤醒。Now, another way that we've been seeing um this trend manifest is a bigger focus on designing primitives for agents. Primitives are like building block interfaces that can be composed and extended into powerful features. When you have primitives, you can add new features without making things more complicated for the agent, and you can remove features without having to do a complicated refactor in your code base. It's just good engineering. One example across our agent harnesses of a primitive we've added is called subscriptions. Agents need a way to wake up in response to events.

这些可能是有人在 Slack 上发帖、智能体关注的某个 PR 的 CI 变红,或者仅仅是一天中的某个特定时间。现在,我们不再为这些情况分别设置集成,而是提供一个统一的框架和工具,让模型或智能体可以用来订阅事件。Those might be someone posting in Slack, CI going red on a PR that the agent cares about, or just a certain time of day. Now, rather than having one separate integration, you know, having separate integrations for each of these things, we have one framework and one tool that the model can use or the agent can use to subscribe to an event.

另外,我们做的另一件很酷的事是:我之前提到过,我们有一些确定性的防护机制,用来修补模型的不良行为。比如,如果 GrokBot 没能及时回复用户,我们可能会轻轻提醒它一下,说:“嘿,用户还在等你呢。”当然,我们更希望不用做这些事。它们有点像临时补丁,但比起等下一个模型检查点发布,我们宁愿现在就把问题修好。And then another cool thing that we do, I mentioned earlier that we have these deterministic guardrails to patch over bad behaviors in the model. That might be, for example, if GrokBot doesn't respond to the user fast enough, and we might give it a little nudge and say, "Hey, user's waiting on you." Now, we'd rather not do these things. They're kind of like hacks, but we would rather fix them now than, you know, wait for the next model checkpoint to get released.

所以,为了让我们的代码库不那么杂乱,也让今后的迭代过程没那么糟糕,我们会集中跟踪所有这些东西,我们称之为兼容层;每当模型用到其中一个,就会记录下来。现在有个机器人会监控这个仪表盘,一旦某个兼容层不再触发,相应的模型或代理就会提交一个 PR,说明这个兼容层可以清理掉了。So, in order to make our code base, you know, be less messy and have less of a worse time iterating the future, we track all these things, which we call shims centrally, and every time the model uses one, it gets logged. So, now we have a bot who watches this dashboard, and whenever a shim stops firing, that model or that agent will put up a PR and say this shim can be cleaned up.

我认为 harness 接下来的另一个发展方向,是走向更高层次的抽象。上一代 harness 是通过组合大量 LLM 调用构建起来的。如今我们看到的新型 harness,比如 GrokBot 和软件工厂,则以智能体作为核心构建模块。最后,我预测,未来 6 个月内,90% 的智能体工作都会在笔记本电脑上运行。这已经是大势所趋了;我认为,要想拥有真正自主的智能体,让它们能以我们期望的方式与我们协作,这一点必不可少。Another thing that I think is next for the harness is it is moving up to a higher level of abstraction. Yesterday's generation of harnesses were built from composing a bunch of LLM calls. Now, the new harnesses we're seeing, like GrokBot and the software factory, are using agents as the core building block. And then finally, I predict that within 6 months, 90% of agent work is going to run off the laptop. This is already where things are going, and I think there's just no way that, you know, this is not necessary in order to have truly autonomous agents who can, you know, really work with us in the way that we want.

Harness 万岁Long live the harness

那么,harness 已经过时了吗?那些让它在编程方面变得更智能的部分,确实如此,这正是飞轮效应在发挥作用。但正如我们所见,harness 是智能体开拓下一个工作前沿的关键。此外,harness 所带来的信任、效率和基础设施也不会消失。所以,昨天的 harness 也许已经过时,但明天的智能体 harness 万岁。谢谢。So, is the harness dead? The parts that made it smarter at coding, yes, that is the flywheel at work. But, the harness, as we saw, is how the agents can unlock the next frontier of work. And then also the trust, the efficiency, the infrastructure that the harness brings, those things are not going anywhere. So, yesterday's harness may be dead, but long live the agent harness of tomorrow. Thank you.

值得记下

  1. 模型已经原生吸收了这些技能。
  2. 智能体需要一种响应事件并被唤醒的方式。
  3. 上一代 Harness 是通过组合多次 LLM 调用构建的。

← 回到本期 · 第 5 条