跳到正文
原文
Latent Space·· 2026-09-29AI 评分70

Anthropic 的 Thariq Shihipar 谈 Claude Code 下一阶段

Claude Code’s Next Era — Thariq Shihipar, Anthropic

AI 导读

Anthropic 的 Thariq Shihipar 在 Latent Space 访谈中拆解 Claude Code 的下一阶段,涵盖提示词、Claude Mods,以及云端大脑、本地或远程双手和动态界面的分工。

正文 · AI 翻译

译文尚不完整,完整内容请切换到原文。

我们很高兴 Anthropic 将在两周后举行的 AI Engineer New York 上分享他们最新的 AI x Finance 成果!


如果你一直与世隔绝,这里有一份并不详尽的清单,列出 Anthropic 自 5 月以 $47B ARR 完成史上最大规模融资以来所发布的内容:

本期节目应能帮你跟上进度,嘉宾是 Anthropic 的讲解之王 Thariq Shihipar,我们上次在 Fable 发布日通过 Fable 实地指南 与他聊过:

可变软件的未来

请特别留意 Claude Mods (尤其是 速查表):

总体而言,这也是 Thariq 另一条走红推文的反面:

云端大脑,本地之手

也来试试 Claude Projects:

“hands”这一术语不仅仅是对正在 Cognition 等前沿编程智能体公司构建的本地/云端范式的类比,而且与我们将在即将播出的一期节目中同 Anthropic 讨论的安全系统议题尤为相关,因为他们正准备以负责任的 AI 部署节奏迈向前沿。

若你想了解我们在播客开头预告过的 Thariq 写作技巧,请在此观看完整视频:


从 Claude Code 的迅速崛起,到智能体能够改写自身 harness、跨团队协作,并在云端与本地环境中运行的未来,我们构建软件的方式正在以极快的速度变化。在本期节目中,Anthropic 的 Thariq Shihipar 与 swyx 和 Vibhu 一起,拆解高级用户如今实际如何使用 Claude Code、为何提示词编写仍然是一项高技能学科,以及Anthropic 认为智能体 harness 下一步将走向何处。

我们深入探讨 Claude Code 不断演进的界面:Ask User Question 与 elicitation、作为持久生成式界面的 artifacts、用于多人智能体工作流的 Claude Tag、Projects、model effort、implementation notes,以及用于定制 harness 本身的全新 Claude Mods 系统。Thariq 解释了为何 Claude.md 最终可能会消失、为何最聪明的模型对许多任务而言也可能成为最便宜的模型,以及为何可变软件可能成为应用程序构建与定制方式的新范式。

对话随后转向智能体安全以及Anthropic 的“Pacing the Frontier”论点。Thariq 梳理了近期一些事件:智能体发现了意想不到的方式来通信、利用基础设施、逆向工程基准评分器,并将漏洞串联起来。我们讨论了沙箱、提示注入、自主智能体、可解释性、宪法分类器、探针、回退、Auto Mode,以及为何保护能力日益增强的智能体可能成为未来几年最具决定性的工程问题之一。


我们讨论:

  • 为何智能体编程在不到一年内从备受争议变成了默认做法

  • 为何编写提示词仍是使用 Claude Code 时杠杆最高的技能之一

  • 专家用户如何建立Claude 的心智模型,以及它能可靠地一次性完成什么

  • 为何随着智能体能力越来越强,发现你的“未知的未知”变得更加重要

  • Artifacts 作为人与智能体之间持久的生成式界面

  • Claude 如何可能拆分为基于云端的“大脑”、本地或远程的“双手”,以及动态界面

  • Claude Tag、Projects 与多人智能体,以及协作式智能体工作流可能如何演进

  • 为何在初始提示词上投入更多时间,能大幅减少智能体被浪费的工作

  • 不同工程任务何时使用低、中、高或最大力度

  • 为何前沿模型最终可能在智能与 token 效率两方面都超越更小的模型

  • 为何实现说明能揭示模型考虑过但选择不采取的决策

  • 为何Claude.md 最终可能会消失——以及为何有时不从它开始反而更好

  • Claude Mods:定制 Claude Code 的执行循环、UI、子智能体、路由与行为

  • 能自动改进智能体工作流的模型路由器、分叉智能体与监督智能体

  • 为何 Claude Mods 可能是“可变软件”的早期预览

  • harness 工程的苦涩教训,以及为何智能体架构会这么快过时

  • Claude Tag如何正在成为多人协作的组织级 harness

  • 为何让智能体访问公司数据会创造出巨大的新安全攻击面

  • 智能体发现了沟通与协作方式的Exploit-Bench 事件

  • 为何智能体入侵 Hugging Face 以获取评分器代码,而不是基准测试答案

  • 智能体如何以意想不到的方式串联沙箱与基础设施漏洞

  • 为何能力日益增强的智能体让传统安全假设更难维持

  • Anthropic “Pacing the Frontier”提案背后的论点

  • 为何软件工程师越来越在同时做两份工作:工程,以及跟上 AI

  • 宪法分类器、探针与回退,以及可解释性在生产环境中是什么样子

  • Auto Mode如何检查智能体的操作是否真正符合用户的权限

  • 为何 Thariq 能看到严重的AI 风险,同时 p(doom) 仍然相对较低


Thariq Shihipar


时间戳

00:00:00 开场

00:04:12 Ask User Question 与智能体界面的未来

00:08:29 Artifacts、Projects 与多人智能体

00:15:37 提示:Claude Code 的核心技能

00:21:52 上下文、投入与更聪明地使用模型

00:28:10 Claude.md 会消失吗?

00:32:49 Claude Mods:定制 Claude Code Harness

00:36:35 模型路由与可变软件的兴起

00:44:40 Harness 工程的苦涩教训

00:50:49 作为组织级 Harness 的 Claude Tag

00:55:59 把控前沿节奏与自主智能体安全

00:58:22 智能体为了评分器黑进 Hugging Face

01:05:34 当智能体需要更多算力时会发生什么?

01:10:32 AI 编程的变化比工程师能跟上的速度更快

01:17:17 探针、回退、可解释性与自动模式

01:28:32 AI 风险、p(doom) 与结束语


文字稿

开场:在 Anthropic 的生活与变化的节奏

Swyx [00:00:00]: 我们此刻在演播室,和我们的朋友、来自 Anthropic 的 Thariq 在一起,我想大体上是 Claude Code,我——有、有太多东西了,边界在融合,而你自加入 Anthropic 以来一直把一切都掌握得很到位。你很早就接触 Claude Code 本身,但后来也是,而且你在其他播客里讲过那个故事,你也一直在谈看到像一个智能体之类的东西。最近你做了顶级的 AIE World Tour 演讲,Field Guide to Fable,显然你们发布了 Fable,所以那是——那算作弊。而且你最近主要还发布了 Claude Tag,我们也会谈到 Pacing the Frontier。Anthropic 里有很多事情在发生。我想最首要的问题是,当有这么多事情在发生时,待在 Anthropic 是什么感觉?

Thariq Shihipar [00:00:48]: 我觉得就是。我觉得你有时会感到晕头转向。我觉得,就是,往前走。当我加入 Anthropic 时,我是因为 Claude Code 才加入的。Claude Code 刚刚出来,我就觉得,“这太好了。”而 Opus 4 对我来说简直就是,我无法想象它到底有多好?那对我来说是一个真正的时刻。但我当时在试图说服我那些创业公司的朋友去用智能体编程,他们说,“哦,不,我们的工程师觉得它还不够好,”之类的。我就觉得,“这太疯狂了。”而现在你快进 12 个月,甚至更短,它就已经是,对,每个人写代码的默认方式了,对吧?我觉得,从推销它,到现在教人们如何。最大限度地利用它、变得更高效之类的,这就是一个很大的、很大的变化。而且,是的,我觉得作为一个人很难跟上一切?我觉得事情发生得太快了,而且

Swyx [00:01:51]: 你只要再多派几个智能体上去就行了。

Thariq Shihipar [00:01:52]: 是的,智能体那套东西的扩展性比人类那套好得多,人类这边就是,哦,现在有三件事在发生,而且它们全都是紧急情况,你要怎么应对?是的。

教人们使用 Claude Code

Vibhu [00:02:05]: 你的时间是怎么分配的?你做了很多技术写作和工程工作。

Thariq Shihipar [00:02:10]: 是的,所以我觉得,当我加入 Claude Code 团队时,我想教人们如何使用 Claude Code,而且我觉得这件事,我原本以为也许只会在上面花一点点时间,或者我就,做一做。我一开始是在 agent SDK 上花了一些时间,而且我并不完全确定,就 harness 而言,bitter lesson 会怎么发展,对吧?我觉得有时候我们会说,“哦,Claude Code 之后是什么?”所以一开始我就是想教人们如何使用 Claude Code,并让 Claude Code 更容易使用。而且我觉得,随着 harness 变得越来越好,现在占主导的问题就是,你如何使用这些 agent,对吧?这是一件技能表达程度非常高的事。所以我做这个,然后我做工程工作。我做演讲,但我觉得,当我在做工程工作的时候,我的目标是采纳我们从用户那里得到的反馈,并且随后能够去讲,嘿,如何使用 Claude Code 来做工程。所以这里有一个很好的循环。是的。

Swyx [00:03:07]: 是的。我会——给听众们,我们会附上你和 Sarah 为 Dev Writers meetup 做的那场演讲

Thariq Shihipar [00:03:13]: 哦,对

Swyx [00:03:13]: 我们稍微谈了一点,嗯,先把工作做了,然后再谈论这项工作。

Thariq Shihipar [00:03:16]: 对。

Swyx [00:03:16]: 差不多是那样。

Thariq Shihipar [00:03:17]: 是的。

Swyx [00:03:17]: 就是播种与收获,或者

Thariq Shihipar [00:03:19]: 对,收获然后。播种与收获。

Swyx [00:03:21]: 差不多是那样。差不多是那样。是的,所以,然后再稍微预告一下,我们会谈谈 harness 的演进。它已经从仅仅是一个 CLI 走了很长一段路。我们会谈谈 Claude Mods,它今天开始泄露了,因为你没法保密。

Thariq Shihipar [00:03:36]: 是的。是的。

Swyx [00:03:39]: 是的,那里,那里有很多东西。我觉得你一开始是加了 ask user question 工具,人们对它又爱又恨。

Thariq Shihipar [00:03:48]: 是的。

Swyx [00:03:48]: 我觉得它非常有创新,然后现在我有了自己的版本。你有你的 Interview Me 版本。

Thariq Shihipar [00:03:55]: 是的。

Swyx [00:03:56]: 而且,是的,每个人都有自己的东西。而且这已经不重要了,因为现在你应该去写能创造出其他 prompt 的 prompt,还有循环,以及所有这些东西。

Ask User Question 与人类-智能体交互

Thariq Shihipar [00:04:05]: 当然,是的。

Swyx [00:04:06]: 那么今天的最先进水平是什么?比如,人们在。你今天会告诉人们去做什么?

Thariq Shihipar [00:04:12]: 是的,ask user question 是模型第一次真正擅长做需求引出。我觉得这有点像一种涌现行为,我当时就想看看模型能不能做到。我有人机交互背景,本科和研究生阶段都做过这方面。所以这对我来说更像是人与智能体的交互,也就是想弄清楚智能体如何与你沟通并提取需求,对吧?我觉得,随着 Claude Code 的覆盖面越来越广,一个难点是每个人都有自己的使用方式,很难改变默认行为。比如说,如果有人让 Claude Code 做某件事,

Thariq Shihipar [00:04:59]: 有时候他们只是想让它直接把活干了,因为他们自己可能很擅长写提示词;有时候他们并不擅长提示,就需要智能体来澄清。所以这是一个很好的分界。而 ask you the question 这个工具就是沿着这条线来区分的:你觉得自己已经足够好地按现状指挥智能体了,还是智能体需要进一步挖出更多需求、更多地与你协作,并真正理解你的偏好?

Thariq Shihipar [00:05:27]: 总体而言,我相信几乎每个人都更偏向后者而非前者,也就是说,他们其实有更多模糊之处,对自己所认为了解的问题,知道得比自己想知道的、比自己以为知道的要少。但这其实像是一个界面设计问题,要让这件事变得容易?所以,如果你在设计一个问题,或者说你在处理一个问题,像 schema 是什么、调用栈是什么之类的事情就非常重要。设计中的细节很重要。理想情况下,你希望在开始实现之前,提前弄清其中一些难题。对,这就是为什么人们称之为未知数,对吧?所以我认为,在 agentic coding 中,弄清你的未知数将永远是一项技能。因为即便模型超级智能——它也需要知道你想要什么?而且你有自己的偏好。你需要把这些偏好提炼出来。所以这就是我在推动的方向。接下来的问题是,agent 如何与你交互?我认为 HTML 一直是做这件事的主要方式。我们最近加入了 artifacts,对吧?关于 artifacts,我觉得我们做得不太好,或者说我自己没能很好地解释如何充分使用它们。我们有很多属性能力。它们关联着一个数据库?所以每个 artifact 都可以存储和写入持久化数据。它们可以反馈回 Claude?所以有一件人们还没在做、而我试图鼓励的事,就是 dashboard artifact 这个想法。比如你让 Claude 长期做一个项目。也许是看板之类的。它可以把看板数据存在自己的数据库里。多个 Claude 可以通过 artifact MCP 访问这些数据,而那个 artifact 也可以和这些 Claude 对话。所以我们正在构建这些原语,让你能够通过 artifacts 拥有这种生成式界面,从而把 agent 中更丰富的细节呈现出来。我认为目前几乎所有和 agent 相关的事,都是这样一个问题:你以为自己知道想要什么,但其实并不真正知道自己想要什么,而 agent 需要大量细节,在循环中与它们协作非常重要。所以 artifacts 就是我们试图朝这个方向演进的方式。但还有很多工作要做,因为它比一道选择题复杂得多?就图表、代码片段、schema,或者那个问题所需要的任何东西而言,细节要多得多。但 artifacts 是一种更 AGI-pilled 的方式来做 ask user question。是的。

Artifacts 作为 Harness 的界面

Swyx [00:08:15]: 我觉得关于这些 artifact 的东西,有一点我不太清楚,就是哪些反馈应该通过 artifact 输入,哪些反馈应该通过 Claude、通过聊天输入?因为更 AGI-pilled 的做法是把一切都喂给 Claude。

Thariq Shihipar [00:08:29]: 我觉得更 AGI-pilled 的做法是通过 artifact 来进行。而且我觉得,在极限情况下,artifact 会成为你进入 harness 的界面?你可以实时地在这份关于你的计划、关于这项工作的文档上评论。你也许能看到多个 agent、不同的 agent 在做这件事,而那个 artifact 是为你当前正在做的工作构建的,对吧?所以每一个都会略有不同。我觉得从基础设施的角度来看,我们还在往那边走。但没错,我认为为你的 harness 提供即时生成的界面,大概就是事情发展的方向。

Vibhu [00:09:03]: 有没有一个版本,是从 CLI 或聊天抽象出来的,然后你。因为现在很多情况是,好吧,你在和 Claude Code 交互,它会把 HTML 返回给你做 mockup。内容相当丰富。还有图表。Artifact 是把这些连接在一起的方式。为什么不干脆全都用这种方式来做?

分离大脑、双手与表层 UI

Thariq Shihipar [00:09:22]: 然后这就变成了要分开来看:推理发生在哪里?智能发生在哪里?工作发生在哪里?我觉得这有点像,或者说,这就是本地和云之间的一些区别,对吧?所以我觉得现在,如果你使用 Claude Code,它是本地的,而且你可以启动 remote control,例如,来获得一些云端行为,或者你可以在云端启动 Claude Code,对吧?我们正在走向这样一个状态:不再是你给一个本地 Claude 发消息、它在本地启动一个 session 并执行,而更像是你有一个在云端运行的、你向其发消息的 Claude。它可以运行本地的,或者云端的 session。Claude Tag 就是这样运作的。但随着时间推移,我们也会加上 local hands。所以 local hands 将是让那个 agent 在你的电脑在线时访问它、并能够在那里工作的能力。于是它可以派生出许多不同的 subagent。它可以,像是,commu- 那些 subagent 可以互相通信,而这就是 artifact 进来展示所有这些工作的地方。所以你可以想象,那个。你把这些东西分开。所以有表层 UI 展示,它是一个 artifact,托管在某处,还有数据库等等一切。还有推理智能,对吧,那是发生在云端的,你不必担心关掉电脑之类的,对吧?然后还有双手。它可以是本地的,也可以在远程 sandbox 里,或者在任何你需要完成工作的地方。这就像是把现在的 Claude Code 体验拆解开,因为现在这一切都发生在同一个地方,对吧?所以。

多人 Agent、Claude Tag 与 Projects

Vibhu [00:11:00]: 你怎么看待其中的多人这一面?比如说团队想以这种方式工作。现在它非常个人化,但你怎么看多人协作的未来?比如现在,我想有 Claude Tag,算是一个版本,但是。

Thariq Shihipar [00:11:12]: 我们正在推出 projects。所以 projects 就是这种抽象,有点像 Claude Tag,但是在我们的 Claude 产品上,对吧?所以你可以给它发消息,它就会做类似 Claude Tag 的事情,比如派生出子代理。所以我们是从多人协作来考虑的。Claude Tag 更像是原生的多人协作,因为它就在你的 Slack 里,权限之类的都已经理清了。但我确实认为多人协作是这个故事里很重要的一部分,而且这些东西需要更紧密地连在一起。你可以想象这会变得多复杂:哦,你有 hands,但现在别人的电脑里也有其他 hands,你需要给它们授权,或者你有自己的 MCP,别人也有 MCP,你要怎么弄清楚怎么用它们,对吧?这会变得相当复杂。而 Claude Tag 很擅长把这些问题都打磨掉,对吧?所以当你有,对,Google Docs 的时候,它怎么访问 Google Docs,对吧?它通过共享的 Claude MCP 来访问,或者如果没有访问权限,也可以通过你的本地凭证来访问。不过是的,我认为 Claude Tag 是我们的多人协作产品,它对那些本质上就是多人协作的事情真的很有用。比如,好,像 on-call,事故本质上就是多人的。你想 @ Claude,你想让多个人登录,你想让它能找到上下文。我觉得每当我在做某件事,并且我想要隐私或安全,或者我想让别人来审查,这真的很不错。我会为每个项目建一个频道,然后比如 @ 法务,说:“嘿,我想把这个发布出去。你能不能。”就是,在这儿。Claude 什么都知道,直接跟它聊就行。这样法务就能得到精确的答案,关于到底有什么会被发布进代码,而我不需要一直参与其中,对吧?所以我觉得多人协作正变得越来越,对,每个人都可以和 Claude 一起参与。我认为 Claude Tag 就是那样的产品,而 projects 会从单人开始,然后会扩展。

Swyx [00:13:14]: 我觉得这里有个问题,也许是关于身份以及隔离单元的双重问题。

身份、权限与隔离

Thariq Shihipar [00:13:20]: 对。

Swyx [00:13:20]: Claude Tag,你们特意选择让它拥有自己的身份

Thariq Shihipar [00:13:26]: 是的。

Swyx [00:13:26]: 这算是一个有争议的选择。还有、还有其他做法。

Thariq Shihipar [00:13:30]: 对。

Swyx [00:13:30]: Claude Projects 大概听起来,如果它和 ChatGPT Projects 差不多的话,隔离的就是那些 artifacts、那个云实例,大家都在这上面协作。它会。听起来应该是,如果你在和法务就一件事协作,那个频道就应该是一个 project,对吧?好像现在还不是

Thariq Shihipar [00:13:50]: 是的。

Swyx [00:13:50]: 但它。那是自然的下一步。

Thariq Shihipar [00:13:53]: 对,我觉得在 Claude Tag 里,实际上就是。像 Claude Tag,你得自己做安排。所以 Claude Tag,对,每个频道你可以按自己的意愿命名,而我会命名

Swyx [00:14:04]: 是的。

Thariq Shihipar [00:14:04]: 就像每个功能

Swyx [00:14:06]: 是的。

Thariq Shihipar [00:14:07]: 作为一个频道。

Swyx [00:14:07]: 而且,但我觉得好像有某种迁——就是什么时候会发生迁移并不清楚,因为假设确实如此。如果你有一个同事

Thariq Shihipar [00:14:14]: 是的。

Swyx [00:14:14]: 在所有这些事情上打标签,是的,就会有迁移

Thariq Shihipar [00:14:16]: 是的。

Swyx [00:14:16]: 因为是同一个人。但换成 Claude,就不清楚是否必然如此,嗯,不,你并不知道其中任何。你不知道其他那些东西。你应该只用这些东西。

Thariq Shihipar [00:14:25]: 这就像冰山一角那个梗,对吧,你可以像。这就是我们花了这么多时间的地方

Swyx [00:14:31]: 是的。

Thariq Shihipar [00:14:31]: 就是说好像有无限的表面积,好吧,你想让 Claude 们。不是无限,但就像有表面积,有很多表面积要搞清楚,比如权限和可见性,以及你怎样才能让 Claude 尽可能好地、尽可能安全地运作?而且显然,这对我们非常重要,因为我们代码库的安全非常重要。所以我们在这上面投入了很多时间。是的,有这么多边界情况你可以琢磨出来,比如,哦,是的,这个频道里的这个 Claude 有不同的权限,但它可以给另一个频道发消息,那样它不就能把数据外泄出去吗?或者你能不能。如果它用了你的 MCP,然后再给别人发消息呢?就像有这么多,而我们真的投入了大量工作去把它打磨平整。

Swyx [00:15:14]: 是的。大量的工作。好。Fable?

Fable 与提示的元技能

Vibhu [00:15:18]: Fable,你写了两篇好文章。你写过很多好文章

Thariq Shihipar [00:15:22]: 是的。

Vibhu [00:15:22]: 但关于 Field Guide to Fable、Building Claude Code。我很好奇,就你所见,你在 Anthropic 外部的顶级用户身上看到什么共同模式了吗?比如,要最大限度发挥 Claude Code,有哪些最佳实践?

Thariq Shihipar [00:15:37]: 我所说的那种元技能是,提示非常重要?就是这样。我觉得这并不是一句无关紧要的话,因为我觉得很多人都是:“哦,提示不重要。我只要说一句话,Claude 就会去做。”而我认为提示真的就是这样一件事。它就像公开演讲,或者写作之类的,而且是面向特定受众的,那个受众就是 Claude。你需要建立关于 Claude 的心智模型,了解它如何思考、如何运作,对吧?所以在使用 Claude Code 时,最重要的技能就是拥有这个心智模型,对吧,关于 Claude,它擅长做什么、什么能 one-shot、什么不能。所以很多人,你看他们的提示,提示都很短,但他们对 Claude、对代码库之类的东西有非常好的心智模型,看起来毫不费力?但这其实技能上限很高。所以花大量时间做提示、建立关于智能体如何运作的心智模型和直觉,这项工作真的很重要。然后我觉得下一件事就是我们之前谈到的那些未知的东西,也就是能够找出你不知道的、或者你还没有写下来的东西,去了解各种不同的事物。我觉得随着 Claude 能做的事情越来越多,你去做一些对你而言 out of distribution、而你领域知识又很低的事情的可能性非常高?你越能学会用来提示 Claude 的词汇,就越重要。所以我觉得最重要的未知是未知的未知,就是你甚至不知道这东西存在,对吧?对,正是如此。我觉得这就是地图与疆域的一个例证,对吧,你会说:“好,这是我的提示,”而疆域就是智能体实际需要做的工作,对吧?如果你非常精确,你就能给出更精确的东西,对吧?所以比如说在设计方面,我并不很精确。我不是设计师,所以我会说:“给我八个不同的 mock-up。”但如果我是设计师,也许我会说:“哦,嘿,这里有一些参考网站。”比如:“我想要这种字体和这种外观,这里有几个不同的组件需要可视化。这里有一块 Figma MC board 可以引进来。”之类的。这样你用那种语言就可以精确得多。如果你不是设计师,你就需要试着去学习那种语言,或者去了解那些未知的未知。我觉得这对一切都是如此。你越能和 Claude 一起学习事物是如何运作的,你的提示就会越好。我觉得另一个好例子是游戏设计,很多人会说:“哦,我现在可以 vibe code 一个游戏了。”然后他们说:“不好玩。”而游戏设计这件事就是,每一个这样的选择都有很多

品味、领域知识,以及学习词汇

Swyx [00:18:25]: 变体。

Thariq Shihipar [00:18:25]: 它们有很多工艺。所以就是,哦,好吧,比如当你在做一款飞行游戏时,飞机的手感,以及它对你的操控做出响应的方式,有很多那种。比如,一个游戏设计师会在那上面花好几天。做?还有就是

Swyx [00:18:44]: 对我来说,这就是品味,对吧?

Swyx [00:18:45]: 就像是从一千个数学上有效的答案所构成的可能空间里

Thariq Shihipar [00:18:49]: 是的。

Swyx [00:18:49]: 挑出人类会喜欢的那一个。

Thariq Shihipar [00:18:51]: 对。是的。

Thariq Shihipar [00:18:52]: 我觉得对于品味这个词,我有点纠结,因为我觉得你说得对,但每个人的定义都不一样,而且它听起来有点像低技能,或者几乎有点精英主义,就像你会说,哦,好像只有某些人才有品味?

Swyx [00:19:06]: 就像品味就是我所谓的品味。

Thariq Shihipar [00:19:07]: 对,正是如此。

Swyx [00:19:08]: 然后就像这些人没有品味。

Thariq Shihipar [00:19:09]: 对,正是如此。哦,就像工程师没有品味。而我,这个创始人,才有品味。

Thariq Shihipar [00:19:14]: ?而且我觉得那不是真的。我觉得工程师在这些特定问题上其实很有品味?而且我觉得每个人对特定问题都有品味。我觉得就像 Jason Liu 说的,要想有品味,你得先吃过?

Thariq Shihipar [00:19:32]: 我真的很喜欢这个说法,就是说,好吧,你必须做很多事情。你必须不断迭代,弄清楚你想要什么、你喜欢什么,然后建立起那种领域

Swyx [00:19:41]: 是的

Thariq Shihipar [00:19:41]: 领域词汇。然后当你在写提示词时,你就是在为产品综合所有这些东西。

Swyx [00:19:46]: 别人说得比你好的时候,是不是很烦人?

Swyx [00:19:48]: 就像,靠,我得永远引用这家伙了。

Vibhu [00:19:51]: 得永远引用 Jason Liu。

Vibhu [00:19:53]: 他一定会喜欢这个。

Thariq Shihipar [00:19:55]: 所以我对提示词的理解不止于此。

Vibhu [00:19:57]: 而且有时候甚至不是那样。有时候它就是直觉,对吧?比如你甚至没意识到自己想要某样东西,直到模型把它输出出来,你才会觉得,“哦,这感觉立刻就更好了,”对吧?

语音提示与信息密度

Thariq Shihipar [00:20:07]: 对,正是如此。

Swyx [00:20:09]: 有一件我反复纠结的事是,我觉得我有一半时间写提示的方式,比如说我用语音。

Swyx [00:20:16]: 我刚才说语音了吗?别人也有语音。那是相反的。那就像我絮絮叨叨说上两分钟,按住功能键然后松开,然后希望它能搞明白。而且往往它确实能。

Thariq Shihipar [00:20:26]: 是的。

Swyx [00:20:26]: 但它不像结构化提示那样经过深思熟虑,那种提示有着条理清晰的沟通,仿佛是一份 PRD 或备忘录。这和人们的做法一致吗?是不是存在双峰式提示,有些提示你要预先花很多时间,而另一些提示你只是随手写出来?

Thariq Shihipar [00:20:43]: 我不认为语音就一定比较低。我觉得更像是提示里有多少信息。模型可以。你可以再加一些句子

Swyx [00:20:53]: 对

Thariq Shihipar [00:20:53]: 然后就像说,“哦,我改主意了”,就在提示进行到一半的时候,它也能完美跟上?所以我觉得文本的实际格式没那么重要,但更重要的是那种能力。就是里面包含多少信息,对吧?而且我觉得对于语音,很多时候,回到人与智能体的交互,对很多人来说,说话就是比打字容易得多?而且我。如果这样能从你这里获取更多信息,那就更好。

Vibhu [00:21:21]: 在某种程度上,感觉就像是给模型尽可能多的上下文

Thariq Shihipar [00:21:24]: 是的

Vibhu [00:21:24]: 在启动之前多做提示是一种最佳实践。我不知道。很多时候,比如我第一次试用 Fable 时,我会实打实花 30 分钟来精心打磨一条很长的提示。我觉得,这是对模型运行得越来越久的一种回应,对吧?当它们处于循环中时,要推动它们仍然有点难,但我就是会凭直觉花更多时间来启动那第一条提示,并大量地与它协作。

前期多投入,少迭代

Thariq Shihipar [00:21:52]: 我个人的看法是,如果我是一名软件工程师,比如说我只是在经营自己的初创公司,我觉得我大多会坚持用最高 max 20x?比如也许验证和代码审查是分开的事情。但我觉得我经常看到的是,人们在这样做时会碰到速率限制,比如,哦,它做了很多工作,然后你说,“哦,我不喜欢这个。”比如,“你能撤销这个再重做吗?”然后你就在迭代这个东西,而如果当初你事先花了更多时间或给了它更好的上下文,模型本可以做好?结果你却说,“不,不喜欢那个设计。试试这个。”或者“你把这个搞砸了”,诸如此类。然后这就会吃掉你多得多的用量。所以我觉得这也许是一个关键技巧,对效率来说也是,对吧?是的,我觉得上下文,而且不仅仅是关于目标是什么的上下文,是有好处的,对吧?比如你是在做原型,还是生产环境的东西?比如哪里可以花算力,或者什么时候、哪里不能花算力?我觉得你有时必须给模型做某些事的权限,或者不给权限,因为它不会凭直觉知道你想在这个任务上花多少,对吧?你可以用 effort 来做这件事。所以我确实——我正在写一篇关于这个的博客文章,大概是,如果你想要。比如我们看到 effort 会随任务复杂度而扩展。所以对于安全来说,effort 能得到多得多的结果。比如高 effort 对比低 effort,会大幅改变评测结果。但对于软件工程来说,变化没有那么大,因为 effort 大多花在验证和边界情况测试之类的事情上。所以能够给模型这样的指导,比如,“嘿,这个问题是我觉得我想让你花很多时间去验证和做边界情况测试的,”?

Effort、模型选择与验证

Vibhu [00:23:43]: 那模型的搭配呢?所以,有带 effort 的 Opus 和 Fable。

Thariq Shihipar [00:23:47]: 是的。

Vibhu [00:23:48]: 里面还有 Haiku。

Thariq Shihipar [00:23:49]: 是啊。现在还不完全是这样,但已经非常接近了,我认为前沿模型将会对几乎所有东西都帕累托占优。也许吧。有时我觉得 Opus 可能是帕累托占优的。是吗?我觉得这取决于事情如何演变,比如如果是更新版本的 Opus。但我认为,越来越会变成这样:聪明的模型将能够用比其他模型更少的 token 完成简单任务,因为有验证。有了验证,在极限情况下,你的模型不需要验证,对吧?如果它是一个完美的模型,它只做一次工作,然后就像,好,我做完了?而越来越多地用 Fable 时,我会说:“老兄,你不需要启动 Chromium,然后把这些东西全部截图。”我看见了。你已经做完了,对吧?所以很多。在更高的 effort 下,你会把更多那些 token 花在验证上。但如果你在处理更简单的问题,而很多软件工程就是这样,比如在 Fable 里,低和中等稳定性下,它可以花更少的 token 去验证。随着模型越来越聪明,它们就能够直接说:“好了,完成。”?比如,我可以为了保险起见跑一下 lint,但我知道它能通过 lint?你甚至都不需要做那一步。而这会比更小的模型在 token 上高效得多。是的。

Swyx [00:25:15]: 我们这边有没有什么好的做法,可以用来判断我们是不是用了太多 effort?比如,我真是

Thariq Shihipar [00:25:23]: 是的

Swyx [00:25:23]: 讨厌把时间浪费在那上面。

Thariq Shihipar [00:25:24]: 是的。我懂你的意思。我觉得,所以在这篇博文里,我大致的分配是,代码审查和安全应该是 high 或 max,而软件工程

Swyx [00:25:37]: 你说的是建议按领域混合设置。

Thariq Shihipar [00:25:37]: 是的。我觉得,如果你在做 UI 之类的东西,用 low 和 medium,我觉得是你在构建 API,并且想确保覆盖足够多的边界情况?所以我觉得,就像我说的,建立一种心智模型,去理解这些分布上事情是如何运作的,是的,这是工作的一部分。

实施说明与决策日志

Vibhu [00:25:56]: 这更多是靠直觉,还是靠评测?因为我猜这会随着你的进展而变化。

Swyx [00:26:00]: 他有评测。

Thariq Shihipar [00:26:01]: 是的。所以我在博文里做的是,把所有 terminal bench 评测都过一遍。大概有 70 个问题,我展示的是,好吧,在安全问题上它做得更多。然后我也会看一些转录记录,就看它怎么——它回答了什么、它忘了什么之类的。很多时候,这是我的另一个提示技巧,就是让它写决策笔记或实现笔记,因为在它面对的每一个评测问题中,它都会想到正确的解决方案,然后决定不去做。它会说,哦,答案在这儿。如果我这样做呢?然后又说,哦,大概不行?然后继续往下。而这就是大多数失败,在更高的 max 级别上。模型完全不知道怎么做某件事的情况非常罕见。如果你有这些实现笔记,你就可以回顾,然后说:“哦,我希望你做你没做的这件事。”模型在整体上越来越善于把这一点呈现出来。比如我在 Fable 5.1 的转录里看到,当它做这种输出时,它也会点出自己的决策过程。但在 harness 里把这一点做得更明确会更好。而现在我们正在允许你修改 harness 的方式,这样你就可以添加一些

Vibhu [00:27:23]: 哦。

Thariq Shihipar [00:27:24]: 在那儿计算。是的。

Swyx [00:27:25]: 是的。所以我想点出你提到的两件事,我认为它们存在于提示之外。一个是,我们把它叫做重要到不该放在提示里的提示。它在 Claude.md 或 Agents.md 里

Thariq Shihipar [00:27:38]: 是的

Swyx [00:27:38]: 也就是目标,对吧?比如你的处境、你的目标、你想要的东西。然后第二点是决策日志,或者实验日志,或者任何你可能希望在当前会话结束后仍然保留下来、以便做那些事情的追踪日志。这些就像是没有标准的外部性。没有——它不像 skills。也不像 MCP。没有标准。它就只是一个 markdown 文件。首先,是这样吗?Claude.md 要消失了吗?你公开表示过不喜欢 Agents.md,但你们还是要做?

Claude.md、Agents.md,以及模型专属指令

Thariq Shihipar [00:28:10]: 是的。好。所以 Agents.md,是的,我们会做。我觉得只是不同模型彼此差异很大?但我意识到维护不同的文件实在太痛苦了?而且,随着模型越来越好,它们完成较简单任务的下限也更高了。所以我确实认为,在极限情况下,Claude.md 会消失,而且也许没那么远。我觉得,我觉得现在开始一个新项目时,不带 Claude.md 可能更好。

Swyx [00:28:44]: 是的。

Thariq Shihipar [00:28:44]: 我觉得,也许如果你看到非常反复出现的失败模式,就把它们加到你的 Claude.md 里。真正棘手的是,这会随模型而变化。所以,如果你已经加了一堆失败模式,或者甚至

Swyx [00:28:57]: 所以你需要 Fable MD,你需要 Opus MD。

Thariq Shihipar [00:28:59]: 或者,甚至是 Fable 5.1 对比 Fable 5。

Swyx [00:29:03]: 是的。

Thariq Shihipar [00:29:03]: 就是,这很烦人。就是,我不是说,

Swyx [00:29:05]: 是啊

Thariq Shihipar [00:29:05]: 就是,我们并不是故意这么做的吧?这就是模型的工作方式,对吧?所以,也许 Fable 5 有这种失败模式,而 Fable 5.1 没有。如果你一直保留这个上下文,这份记录着一堆不同失败模式的持续日志,它们大概会过度约束 Claude?所以这就像。我们刚刚为 skills 添加了 evals 插件。

Swyx [00:29:28]: 是的。

Thariq Shihipar [00:29:29]: 所以现在你可以评估一个 skill 是否更好。我觉得是我们团队的 Daisy 做的这个。所以,是的,这就像我们正在努力解决这个问题。我们知道,你仍然得在这上面消耗 token,而且它并不、并不完美,但我们正在努力帮忙解决这个问题。

Swyx [00:29:44]: 那么,就提示而言,我想提供的一个技巧是,我经常告诉大家的是:足够高级的提示,与足够高级的高管沟通无法区分。所以我提到过——这是 Heavybit 的一场高管沟通工作坊,是我职业生涯中见过最好的。他们教一种叫 SCQA 模型的东西。去 Google 一下。这是个,这是个东西。就是,人们做提示已经几十年了。它只不过叫高管沟通。就像当一个人必须沿着组织架构向下与成千上万的人沟通时,你就这么做。所以情境、冲突、问题和答案,就是你写备忘录的方式。但显然有时你并没有答案,但你至少可以列出 SC 和 Q,然后他们里面有一些例子。所以只是给想探索的人留下一些线索。

被低估的提示模式与 ELI5

Vibhu [00:30:31]: 在我们继续之前,我想问你,还有没有其他被低估的技巧,能让人们从 Claude Code 中获得很多价值、而他们还没用上的方法?

Thariq Shihipar [00:30:41]: 是的,我觉得其中很多都在这份 unknowns 文档里。比如,我给了一堆示例提示,比如用它来头脑风暴,用它事后考你。我们添加了这个 explain it like I’m five skill,它是一个非常短的提示。它甚至都没说 explain it like I’m five。这个提示的关键词是 big pictures, few words。这就是最主要的一点。而且它好得惊人?就是,我觉得我发过推文讲过这个,它就像 /eli5,而且你可以把它作为插件安装。但确实,它在直接砍掉废话这方面好得多,然后就会说,对,就是这里。所以那些图相当清晰。我觉得 artifacts 的一个实际情况是,它们放了太多文字,而人们并没有在读这些 artifacts?所以,这个把它简化了很多。而且,是的,这来自 Anthropic 的人在梳理非常复杂的事故时会问:“到底发生了什么?”所以,我觉得这个很棒,是的。

Swyx [00:31:47]: 我的版本是,就像测试你的理解。给你几个选项,然后如果你答错了,你以为正在发生的事和实际正在发生的事之间就有了偏差。

Thariq Shihipar [00:31:58]: 是啊。我觉得这是那种人人都爱谈论、但真正去做的人却很少的事。就是,我觉得

Swyx [00:32:05]: 真的很有帮助。

Thariq Shihipar [00:32:07]: 是啊。但大多数人就是不想被就某件事考问吧?不幸的是,我觉得这是我们需要,就是,去做的那些事情之一。

Swyx [00:32:16]: 和问你问题相反的是什么,还是在那件事之前问你问题?

Thariq Shihipar [00:32:19]: 是啊。

Swyx [00:32:19]: 这是在那件事之后。

Thariq Shihipar [00:32:20]: 正是。是啊。

Vibhu [00:32:21]: 这是一种让自己保持务实的好办法,就是,你到底知不知道自己在做什么,对吧?最糟糕的情况是,别人给你发来一堆劣质内容,他们自己都没理解自己在要求什么,或者输出是什么,然后就像,“老兄,我不想读这个。你到底知不知道这是什么?”所以,你给自己定一条规矩:在把东西发出去之前,你至少应该知道实现了什么。

Claude Mods:定制 Harness

Thariq Shihipar [00:32:41]: 是的,不过你可以把这个做成一个 mod,也可以自己做一个 mod 来确保你去测试它。所以是的,你可以这么做。

Swyx [00:32:49]: 好的。我们直接进入正题吧。什么是 Claude Mod,这张图在展示什么?

Thariq Shihipar [00:32:54]: 是啊。好,所以 Claude Mods 就是你可以定制整个 Claude Code harness,而且我们会。如果你有需求,我们会,就是,让你,就是,请告诉我们。我们会不断增加更多。这适用于 CLI,也适用于桌面端。也许将来会适用于 Claude Tag。我不知道。就是,我们在努力让它非常可扩展。你可以看到这张参考表。我不想让大家被它吓到?从高层来看,你可以定制 harness 的执行,也可以定制 harness 的 UI。所以,就像你说的 Boris 那个 Tetris 例子,那就是在定制 UI,对吧?就像在游戏里显示 Tetris。

Thariq Shihipar [00:33:35]: 但是,比如说你想做这件事,就是你有。你在每个项目之后检验自己的假设,或者检验自己的理解,对吧?你要做的就是让 Claude 做这个插件。它会在每次 prompt 之后启动一个分类器。所以,在每一轮结束时,你会分出一个 sub-agent,或者一个 forked agent。forked agent 就是会维持 prompt cache,对吧?所以这就像那些反直觉的事情之一:你可以 fork,然后做一个小请求,而且会非常便宜,因为整个 prompt cache 已经,就是,完成了。于是你就可以说,“这个任务完成了吗?”之类的

Swyx [00:34:18]: 这就是你做 BTW 以及那些东西的方式。

Thariq Shihipar [00:34:20]: 对。底层的 forked agent,是的。不过你可以在 f-fork sub-agent 里说,比如“这个任务完成了吗?如果完成了,就返回 true。”然后在你的 hook 里,或者在你的 plug-in mod 里,抱歉,大概是在 sub-agent 里,你会说,比如“如果是 true,就给我一个测验。”给我问题和答案,然后用 JSON 格式,接着你解析它,再在 prompt 输入框上方显示这份问题列表,对吧?所以这东西有点费 token,因为你得在 assistant 每一轮结束之后都做一次。但它是一种轻量级分类,然后你就能拿到这个测验,你会看到 Claude 总会帮你做。你不需要记得自己去做。我们聊过很多这类技巧,对吧,比如,哦,implementation notes。你现在也可以加一个 implementation notes 的工具。所以我正在加的这个工具,大概叫 register,我想我把它叫做 assumption,不过也许我会改一下。这是一个 mod。所以你给它一个 register assumption 工具,然后它会维护一份列表。它会。每次它执行时都会往列表里添加一条,然后最后显示这些 assumptions?我正在做的另一个 mod 是一个 model router。也就是内部的 Claude model routing,对吧?所以。我想说我们默认不做 model routing 的原因是,这是个难题?而且

分叉代理、假设追踪与模型路由

Swyx [00:35:51]: 你会搞错的。

Thariq Shihipar [00:35:52]: 对,你会,就是,对,你会不小心把 Fable 用在难题上,或者把 Sonnet 用在

Swyx [00:35:57]: 对,如果你有 auto approve,但没有 auto mode。

Thariq Shihipar [00:36:01]: 嗯,你会有 auto。就是,你没有 auto routing 之类的东西。

Vibhu [00:36:04]: 你没有针对 model picker 的 auto mode。

Thariq Shihipar [00:36:06]: 对,正是如此。所以

Vibhu [00:36:07]: 我大致在想的问题是,你要把这个开放到什么程度,人们又得为此思考多少?比如,当你谈到 prompt caching 和构建一个 router 时,似乎你可以很容易做一个按每次查询进行路由的 mod,而我的额度很快就会被耗光,对吧?我想我的问题更是,这样的产品讨论看起来是什么样的,对吧?它是给谁的?是给高级用户的吗?还是每个人都应该能够用起来

Swyx [00:36:33]: 哦,肯定是高级用户,对吧?

Thariq Shihipar [00:36:35]: 是的,我觉得确实是高级用户,不过 Claude Code 的本质就是,很多人都是高级用户?因为分享东西很容易,就像你可以。比如,一个人可以做一个不错的模型路由器,不会总是破坏提示缓存,然后你可以把它们组合起来。插件另一个很酷的地方是,它们可以互相接入并组合。所以我有一个模组,会在顶部创建一个模式选择器,任何插件都可以注册成为一种模式。所以自动路由器可以是一种模式,对吧?或者你可以有一种模式,比如 artifact 模式,它主要用 artifact 跟你交流。比如,你可以在 plan 模式之间切换?所以你可以创建越来越多这样的模式。但创建模式的能力本身就是一个模组?所以这里有很多丰富之处,但我们确实想让它相当容易。我们想要——做到让你可以直接安装别人的。你可以聊——你可以和 Claude 聊天,我们会确保它理解提示缓存之类事物的细微差别,这样它就能警告你。我觉得这对 Claude 来说并不是极其复杂的行为,但我们应该就如何制作模组有一个好的 skill。是的,我们看看进展如何。但我确实认为这是可变软件的一个预览,以及生成式软件如何让你可以安全地自定义。如果启用了,你就可以自定义任何一款软件。我认为越来越多的应用在理想情况下都会做类似的事情?

高级用户、模式与可变软件

Swyx [00:38:13]: 顺便说一下,你,我们有,你还有另一条很酷的推文,讲的是无限金钱按钮,就是让你的 SaaS 能被智能体消费。我觉得可变软件很有意思,其他人也尝试过这样做。我认为障碍出现在当你什么都能做的时候,然后人们、用户会、往往会感到困惑。所以通常奏效的东西就是一条有主见的流程。而这是在更少主见的一侧。就是说,好吧,给高级用户更多能力。我认为这大概是被 AI 解锁的,你可以针对任何东西直接用提示来做。

Thariq Shihipar [00:38:47]: 是的,或者可以有一个 skill 来给出这些主张?

模组 vs. 钩子 vs. Artifact

Swyx [00:38:50]: 是的。

Thariq Shihipar [00:38:50]: 然后,是的。

Swyx [00:38:51]: 所以我对 TypeScript、构建系统这些东西略知一二,最接近的——我很好奇做这个的团队,我不知道你和他们有多近,他们是否从 Babel、Webpack 这类构建系统、这些老派的东西里汲取了灵感。因为听起来非常相似,就像那些东西的插件生态,它们可以互相组合。

Thariq Shihipar [00:39:11]: 是的,我并不深入技术细节,但我知道这是 Bun 团队的某个人和 Claude Code 团队的某个人合作完成的。

Swyx [00:39:17]: 是的,那是构建系统的圣地。

Thariq Shihipar [00:39:19]: 是啊。没错。这、这非常令人兴奋。不过是的,就是说,智能体现在可以直接把这种非常复杂的可扩展性做到你的软件里。所以,是的,这也是另一个理由。如果你在经营一家初创公司,你可以直接提示 Claude,比如说:“嘿,我们能不能做一个扩展系统?那会是什么样子?”?

Swyx [00:39:37]: 是的。

Swyx [00:39:38]: 我真的很想知道,就是说,你们以前有 hooks 和插件,所有这些东西。那么 mods 具体能做到哪些那些东西做不到的事?

Thariq Shihipar [00:39:47]: 在内部,我们最初把这个叫做 function hooks。所以,这就能让你稍微了解一下,就是说,hooks 会注册一个要发生的事件,然后再调用一个脚本。而这个是在 TypeScript 运行时里面运行各种东西。所以,你能得到的一些好处就是,它在 Scope 里有一堆东西,比如说,这次对话有多少轮,对吧?用了多少 token?等等。消息是什么?诸如此类。所以它有一堆可以使用的消息。然后就是,有多得多的 hooks。所以我们有,或者说有多得多的、你可以注册上去的东西。然后你可以做,因为。因为这一切都发生在进程内,你可以派生出子智能体,带着四个 contests 和 contexts 之类的。然后,那个会返回。你可以解析那些结果。你可以用结构化输出把它们返回。然后你可以修改 UI,这是你在 hooks 里永远做不到的。所以,是的。

Swyx [00:40:50]: 是的。是的。所以修改 UI,这就是你展示 Tetris 例子的原因。它是否也延——延伸到 artifacts?我想是的。

Thariq Shihipar [00:40:57]: 你——就是说,artifacts 是另一种定制它的方式。就是,你当然可以。我正在做的其中一个 mod 是这个仪表盘 mod,它会提示 Claude 去维护一个仪表盘,那是一个 artifact。但它们有点正交,或者说并不正交。它们以不同的方式彼此组合。就是说,mods 更像是在你的 Claude Code harness 里,改变智能体循环?而 UI 则像是一个附加的好处。然后 artifacts 就是你想在高层面上查看事物,非常交——高度交互。就是说,可供性可以比 TUI 甚至我们的桌面端大得多。

下一步、监督者与持久指导

Vibhu [00:41:40]: 我猜你们会有一篇很好的博客文章来讲这些区别,因为现在你也可以做一个循环,输出到一个作为交互式仪表盘的 artifact,但你也可以用 mod 来做。当我们对 harness 了解不多时,去思考如何在 harness 上做 hacking,这里面就是有些需要考虑的,对吧?

Thariq Shihipar [00:42:00]: Well, something I’m excited about with mods is, like, there’s so much things with Claude Code that you just have to remember? You’re like, “Oh, like, let me do this, and then let me call the dashboard skill that does the loop,” and things like that. And, or like, “Let me test my assumptions afterwards.” And I think, like, if you do all of these things using these little classifiers and stuff, and you’re like, “These are the things I care about. This is what I want to do,” you can, like. You don’t have to remember as much. One more, like, mod I’m working on is a next steps mod that

Swyx [00:42:28]: I have-- I was gonna say, I have a next step skill. I always run next steps.

Thariq Shihipar [00:42:32]: And does it have access to your skills? Like, this is one of those things where I’m like.

Swyx [00:42:37]: I think so.

Thariq Shihipar [00:42:38]: Okay. Yeah, probably

Vibhu [00:42:39]: Do skills need specific access to

Thariq Shihipar [00:42:41]: Well, I think there’s

Swyx [00:42:41]: Don’t they always have

Thariq Shihipar [00:42:42]: I think there’s, like, specific prompting, I guess, to, like, know your skills. Like I think Claude forgets them sometimes throughout, like, the thing. But anyways, the idea of, like, yeah, next steps that also are like, “Oh, hey, this has happened. Use the explain skill to explain to you what happened because this seems, like, quite complex,”? Or, like, yeah, “Use your unknown skill. It looks like you are, like, asking the model to, like, iterate on these small changes. It seems like you could prompt better.” like, “What if you did this?” Right? So, I think, yeah, like spending more compute there. Yeah.

Swyx [00:43:20]: And it should always come out as multiple choice. we have, I have

Vibhu [00:43:23]: We have his skill.

Swyx [00:43:24]: My next step skill is like this.

Thariq Shihipar [00:43:26]: Okay, perfect. Yeah.

Swyx [00:43:27]: You can steal it.

Thariq Shihipar [00:43:28]: Yeah.

Swyx [00:43:29]: Like, but like, for me, it’s all-- I think models really always need to be reminded, what are you trying to do here?

Thariq Shihipar [00:43:35]: Yeah.

Swyx [00:43:35]: Look at the whole transcript and go like, oh, was this original goal? Did your solution solve it? Were you lazy? If you’re lazy, maybe there’s a reason. Maybe you needed approval from me. Maybe you needed, there’s two things you wanna suggest. So it’s, it’s a little bit like the modification of the ask user question or interview me skill. so it’s next steps.

Thariq Shihipar [00:43:55]: Yeah, exactly. And again, the benefit of doing it with mods is you can do it as a fork sub-agent, and so it doesn’t remain in the context afterwards. So you have this, like, idea of like, okay, the model is doing its execution and you have this almost like supervisor, like, that is like making sure that you can do like the next steps well. So yeah.

Swyx [00:44:15]: Yes. I do have two panels and like I often try to have a supervisor thing, keep the high-level context and then the implementation

Thariq Shihipar [00:44:21]: Yeah

Swyx [00:44:22]: Detail in another agent.

Vibhu [00:44:23]: I feel like a lot of this abstracts away as models change? The, like, half an hour ago you said bitter lesson of harness engineering

The Bitter Lesson of Harness Engineering

Thariq Shihipar [00:44:31]: Yeah

Vibhu [00:44:31]: And we’re on the other extreme right now, I feel.

Swyx [00:44:33]: Well, so yeah, exactly. If everything’s customizable, what is Claude Code, right?

Thariq Shihipar [00:44:37]: Yeah.

Swyx [00:44:37]: And which I talked to you about last night.

Thariq Shihipar [00:44:40]: Yeah, I think that this is. I think the bitter lesson is unintuitive? In terms of like. Also, like we’re misusing a little bit of the bitter lesson here where it’s like, it’s more about like scaling and compute and stuff. But like, I think there is something where it’s just like. I think I use it as an approximation here to say that harnesses go out of date very quickly? And like how, but how they change is unintuitive? And so like the big obvious example is like from chat to like agents where you had to give them entirely new tools, right? But like, I think this new version of like, oh, it can modify its own harness, right? This is like, an own harness loop is like a way of using its capabilities, right? Or like it can build an artifact. And like, I think the way I think about it is like the models have more and more intelligence, and they’re like so much more intelligent now than like the average software engineering task. Like, you look at the like terminal bench ones and they’re like solve like the Jacobian conjecture. Not really, but like, it’s like they’re, they’re quite complex. Like, I would not have been able to do this really as a software engineer.

Swyx [00:45:42]: And you said TB4 or TB2?

Thariq Shihipar [00:45:43]: TB3. TB3.

Swyx [00:45:44]: TB3.

Thariq Shihipar [00:45:44]: Yeah. They’re quite complex, but the goal is still to deliver user value, right? And like you said, there’s like this infinite space of things to do. And so the ways like you spend compute are to keep the user in the loop and make sure that like you’re getting to the right decision in the end of the day and like the right output. And artifacts and mods are this way of like spending that intelligence. and I think that’s like, yeah, the next step. And so, yeah, I think Claude Code is like, has the core things of agent loop which are, have gotten more complicated. It’s like, it needs a sandbox to operate safely. It needs auto mode to like make sure like the permissions

Vibhu [00:46:21]: Approvals.

Thariq Shihipar [00:46:21]: Yeah, approvals. it needs computer use and MCPs and like all of these like ways of accessing your data, and it needs web search and web fetch. And like, so the-- as the models can do more and more, the core harness has to be like quite complex and very secure. But then like how you interact with it can change quite a lot.

Vibhu [00:46:42]: What other harness engineering best practices have you, from the Claude Code team itself? I feel like, there was a phase of plan mode, which is not as used. We now have auto mode. at a point you cut the majority of the system prompt, you got rid of examples. What other best practices are there for harness engineering?

Core Harness Primitives and Managed Agents

Thariq Shihipar [00:47:02]: I think there is like a forking path where at some point, eventually, yes, the model will just be able to like vibe code the exact version of Claude Code, even describing all this complexity that I’ve talked about, right? Like auto mode and computer use and stuff. Eventually, the models will just be able to do that in one shot. But I think they can one shot simpler harnesses? And so like, I think some people. Sometimes you don’t need this full, like if you don’t need computer use or like all this like more complicated stuff. I think before we, you had to use things like the agent SDK, which was like Claude Code wrapped, in order to like. And I would, like suggest people do that because there was so much complexity into building a harness. And now as that’s got more abstracted, we have like, Claude managed agents, which lets you have that complexity, but still like, right, like a very bare bones like harness that’s scoped to your task. Yeah, I think there’s like this barbell effect where like for like very complex, for like coding task and like these like complex things, you should use our harness. And then for like a lot of like simpler or like, more domain-specific things, you can build your own harness because Claude has gotten better at building harnesses, and we have these harness primitives like managed agents. So yeah.

Swyx [00:48:18]: Yeah. Is there a general progression? Let’s say chapter one was ultra code dynamic workflows, then chapter two was cloud mods. Where is this going?

Swyx [00:48:29]: Where you’re, you’re, you can customize the thing on demand.

Thariq Shihipar [00:48:36]: Yeah. I do think that like this evolution of projects and like artifacts and splitting out like brain and hands and, surfaces is like where things are going more. And like, I think it’s like not all quite there. partially it’s like a, it’s just like more token expensive? And like, I think like

Projects, Local Hands, and Cloud-to-Local Handoffs

Swyx [00:48:59]: Why would projects be more token expensive? I understand mods would be slightly more token expensive. No, not something I’m worried about.

Thariq Shihipar [00:49:06]: Yeah.

Swyx [00:49:06]: But what

Thariq Shihipar [00:49:07]: You’re asking Claude to do. It’s like creating loops. Like you’re asking Claude to do more work for you. And so like it’s managing the sub-agents and reviewing it, versus where you would be doing that work normally. And so that’s like gonna be a little bit more intensive, like. Outputting to an artifact is gonna be a little bit more token-intensive than, like, outputting normally. I don’t think it’s too much more, but like, it’s like combining all of these together well, like I think we’re, we’re still working on like local hands and things like that, I think is like, yeah, where things are headed, yeah.

Swyx [00:49:37]: Yeah. Claude and local is, handoff is very interesting. I was thinking about this as reverse cloud remote.

Thariq Shihipar [00:49:44]: Yeah.

Swyx [00:49:45]: Because it’s like remote, it’s you’re handing off to cloud, but here the cloud is handing off to local, right?

Thariq Shihipar [00:49:49]: Yeah, exactly. Yeah, remote control is also another way of doing it. And I do want to say this is like how I think about it and like what the things that I’m most excited about this, but like there are, just like lots of different ways to work with Claude. Like some people use remote control a lot, some people use Claude Code on the web a lot. Obviously, like at Anthropic, we use Claude Tag a lot, and like what’s great about Claude Tag is we set up all this stuff for our own execution. And I do think if you’re an enterprise, that’s still the best way to go. but if you’re like an individual, Projects is this way of like, getting some of that like niceness of Tag, which has like that like supervising agent and yeah, adding artifacts and stuff, but like without having that whole like admin setup. And so there will be many ways to use Claude, I think. I think it’s probably not just one like single.

Claude Tag as an Organizational Harness

Swyx [00:50:36]: You had the multiplayer thing here. Let’s, let’s just check in on Claude Tag. it’s been about two-plus months. Lots of, public, adoption and trying it out.

Thariq Shihipar [00:50:45]: Yeah.

Swyx [00:50:45]: What’s new? What’s, what have you found since the launch?

Thariq Shihipar [00:50:49]: Like, Claude Tag is how we use

Swyx [00:50:51]: It’s like 80% of your cloud usage or something?

Thariq Shihipar [00:50:53]: Yeah, like it’s like different people have different usages? I think like maybe people who are like a little bit more like iterating on product would use like Claude Code desktop, for example. And then like when you’re doing these more like background work, code review, securities, or like starting a PR, like maybe more like API and things like that, you’d use Claude Tag. But yeah, I think it’s like really exciting. I think it’s like a very different paradigm shift, and I think like we’re really like it has that thing with Claude Code where like, it took a while for people to really latch on to Claude Code and understand everything it could do. And Claude Tag is a little bit more complex because it’s not just like installing on your computer, like you need an admin to install it for you. But I think once you get to the magic moment, it’s very exciting. And I think in particular, the multiplayer things are like incidents, hooking into like your, existing like alerts and things like that very closely, right? And so, you can do. If you’re a startup, for example, maybe you have any time like a prospect enters your database, you can have Claude like, research it and like

Vibhu [00:52:01]: Enrichment, yeah.

Thariq Shihipar [00:52:02]: Yeah. Then like, tag the relevant like AE or salesperson to be like, “Oh, hey, like, do this.” There’s lots of really emergent, interesting multiplayer stuff. I think it’s just like, Karpathy talked about this like as an organizational harness? And so organizations just take a little bit more time to like figure everything out, but yeah.

Vibhu [00:52:21]: Yeah.

Swyx [00:52:21]: You use a lot of Claude Tag?

Thariq Shihipar [00:52:22]: Yeah. Yeah.

Vibhu [00:52:23]: It’s an interesting one. Like I feel like most people at Anthropic say they do the majority of their work in Claude Tag.

Thariq Shihipar [00:52:30]: Yeah.

Vibhu [00:52:30]: And they have buckets of people, right? Some orgs that are on it that are like, “It’s great.”

Thariq Shihipar [00:52:34]: Yeah.

Vibhu [00:52:34]: And a lot of people that are like, “I don’t get it. I don’t see the difference. I don’t know why I would use it.” But, if you guys are full sending, you should probably use it.

Thariq Shihipar [00:52:41]: Yeah.

Swyx [00:52:42]: They would. Of course they would use it.

Thariq Shihipar [00:52:44]: Yeah. I think obviously, like we have lots of tokens and. But like, I think that like, what we try and do like is. even when Claude Code first came out, like it used a lot of tokens relative to people’s expectation of how much AI would cost, right? Like no one was used to spending more than 20 bucks a month, right?

Vibhu [00:53:04]: Yep.

Thariq Shihipar [00:53:04]: Before like Claude Code came out, and then you’re like, “Oh, sh-” like

Swyx [00:53:08]: Then you made 200.

Thariq Shihipar [00:53:09]: Yeah, exactly. And so

Swyx [00:53:11]: And you made 15 Claude Code accounts.

Thariq Shihipar [00:53:12]: Yeah. but yeah, I think no one was used to spending $200 a month on subscriptions. I don’t think they understood like the value yet. And I think like. And also like Opus 4 was a very expensive model, and like there was a lot, it was very big, but Opus 4.5 was both great and cheap? I think the same thing will happen. Like the, like intelligence of Fable will get cheaper and more abundant? And so I think stuff like Claude Tag will just make sense, where like you want to spend these tokens for, and like you’ll, you’ll see the value. So yeah.

Swyx [00:53:44]: Yeah, especially like passive and let’s call it proactive cases where you’re not always. Like, it’s almost like the misnomer where you have to @Claude to do things. sometimes like the most powerful use cases or the most AGI-pilled use cases is not @Claude.

Proactive Agents and Enterprise Data Access

Thariq Shihipar [00:54:00]: Yeah, I think like, yeah, like have Claude proactively do it. I think that like if you’re an enterprise, I really do think that number one, setting up all your data to be available to like agents is really important. And it will take some time. You have to like do that work right now, even if you don’t want to do the spend on like hooking it all yet? Like you want to wait until the models get a little bit cheaper. You want to do the work, to get it like, set up. And then I think sometimes people are like, “Do I roll my own here?” and I think like one of the really thing, tricky things about Claude Tag is that like the security is really important? Like, I think there are a lot of ways where you can like, I know you have like a suggestions like page, where you, people can submit suggestions, and that goes into a hook in your Slack, and someone’s prompt injected it? And now you’ve like exfiltrated your code base out because like, or the agent has like been prompt injected and it has all this access to your data. And so the more like important your organization harness is, or the like as your organization data becomes very important, the surface area of all these things, like you also have like external Slack channels and stuff, and it is useful to have Claude in that, and you can do Claude in those things. But how do you make sure that, you’re not getting exfiltrated or something like that? The surface area, like we said at the beginning, is like an iceberg, right? It’s just, like, so big below the surface, and you really don’t want to, like, think about this, especially at the stakes of, like, very important security incidents. Yeah.

Swyx [00:55:36]: Shall we talk about very important security incidents?

Vibhu [00:55:38]: Whoa. So I was talking to, Tomas and Clem from Hugging Face, and they said, “Maybe we need to slow down. Maybe we made maybe we made Hugging Face too open to agents.”

Security Surface Area and Prompt Injection

Thariq Shihipar [00:55:50]: Oh, no.

Vibhu [00:55:50]: “Maybe we need to roll back.” But, they’re the other extreme of having been hit recently.

Thariq Shihipar [00:55:55]: Yeah.

Vibhu [00:55:55]: But, should we pace the frontier?

Thariq Shihipar [00:55:59]: Yeah. Okay, so Dario recently put out this blog post about Pacing the Frontier, and it went, very viral. And I think what I wanted to talk about this was, like, there’s a lot here, but I think from a developer’s perspective, like, how do you think about this? And, like, what really clicked for me was reading the different incidents? So I think, like, the, there are three, I think. Like, there’s the meter incident, there is the Wikipedia incident or the Wiki incident, and

Swyx [00:56:29]: CollisionWiki?

Thariq Shihipar [00:56:30]: Yeah, CollisionWiki, and then there’s RubyGems, right?

Swyx [00:56:33]: Yeah.

Thariq Shihipar [00:56:33]: And yeah, like, it’s just crazy, right? And so, like, I think to be concrete about what happened, right, and, like, OpenAI is running these very persistent agents on a benchmark called Exploit-Bench, right, which is very hard to solve, and I think, like, impossible to solve in this one case, right? And so they have, like, a lot of compute running, and the agents realize that They can’t really solve it, and they’re trying to figure out what to do now, right? And you’ve got, like, a lot of compute left, and the agents are just trying to solve this problem. There’s this package manager called Artifactory, and it turns out that they can create folders inside of Artifactory, right? This is like there’s an agent that discovers the internal Artifactory might be exploitable, right, and that, like, you can maybe make a directory inside of the cache. And so if you scroll down here, it, like, realizes that it can communicate via cache names, right? And it creates this folder. It says its ID, and it says, “No consumer seek idea.” no consumer is saying that, like, the code path that it’s supposed to fix has no consumer.

Pacing the Frontier: The OpenAI Benchmark Incidents

Swyx [00:57:37]: It’s the status tag.

Thariq Shihipar [00:57:38]: Yeah, exactly.

Swyx [00:57:39]: It’s like a Linear board with, like, the tag of the

Thariq Shihipar [00:57:41]: Exactly, yeah. And so it’s, like, trying to find, ideas from other agents, right? And now other agents are also in Artifactory, and they see this folder, and they’re like, “Wow, this is a message board,” right? And this is like. I don’t think there’s any anthropomorphization here. This is literally you read the transcript, right? And so what it does is, like, it’s creating another folder, and it reads a paper, I think is what it says, right? yeah. And it realizes that you can hack the flag for the, like, scorer, and you can reverse engineer the result, right? And so it says that, and then I think if you scroll down a little bit more, Yeah, they, like, they start collaborating. I think, like, there’s one point in which, the agent is like, “Here’s the reverse engineered flag.”? Oh, yeah. Like, I think here, the, like, the model to realize that they have, like, they can solve the scorer’s problem, and the scorer is, like, the way that OpenAI decides if the task is complete, right? And that’s just the goal of the model. Their only model goal is to, like, solve this problem, and they’re like, “Okay, we have this way of doing it. It’s, like, we reverse engineered it.” And then they read this paper on Exploit-Bench, and they think that, like, the scorer will punish them for cheating? And, like, because. Or, like, they will fail the score for the test for cheating, and so they spend the rest of the compute trying to figure out how to edit their transcript or get around this constraint of the scorer, right? And they hack Hugging Face, not for the answers, but for the code of the scorer so that they can reverse engineer that, and then they can hack it, right? And so, like, this is, like, just the straight facts, right? Like, exactly what happened, right? And I think this is, like, extremely, like, novel. Like, I just, like, had not realized that the models could do this, right? And it is, like,

Agents Discovering Side Channels and Collaboration

Thariq Shihipar [00:59:46]: Scary. I think we can talk about specifics, but let’s just talk about maybe one more that I tweeted as well, about the Wiki incident, right? And so the Wiki incident was the models had. were trying to figure out. I’m a little bit less. Like, I don’t think we can go by this, like, bit by bit.

Swyx [01:00:04]: , yeah.

Thariq Shihipar [01:00:05]: Yeah. But, for this one, they were trying to figure out. Like, they were sandboxed on requests, right? And they wanted to make POST request, and they needed to collaborate on this. And the reason they need to collaborate is because they each have fixed compute budgets, right? And so, like, if one of them finds something out, it’s way faster. Like, they can. Maybe it’s, like, figured it out near the end of its compute budget, but something else could. And this is, like, an another emergent property of the swarms, right? So they find this German wiki, which I believe the result, we’ll have to check this, is, like, that you can write to it with GET request. I think that’s why they do it, right?

Swyx [01:00:44]: It says badly implemented

Thariq Shihipar [01:00:45]: Yeah

Swyx [01:00:45]: REST API.

Thariq Shihipar [01:00:46]: Exactly. And so you can write to it with GET request, and then they, like, are trying to figure out how they can do POST request. And what they end up doing is one of them figures out you can edit the /etc/hosts and that the Azure, like, storage bucket is like a white label thing. But normally, like, there are a lot of constraints on it. But if you create a fake Azure host and then edit the /etc/hosts in order to, like, point arbitrary IPs at it, you can do a POST request to any site at all, right? And this is like. I know, but people are like, “Oh, this is just Linux or something.” But it’s like chaining these multiple vulnerabilities together, in a way that’s, like, novel to solve this problem and then communicating with it externally, without- Discovery? I think what we posted, maybe we could pull up Evan Hubinger’s point on Hacker Opus, right? And so, like, I think, like maybe one of the things you might say here is like, “Okay, yes, they did this once, but like what if we’re smarter and we just like get them to. what if we run an eval?” Right? And so, like we have put a lot of precautions into this, and so like this is not like what our mainline models have done. But like I think it is one of these things where it turns out that alignment is this like very tricky problem of getting all of these details correct, right? So it’s like, the sandbox, the surface area of a sandbox is really complex, and like there’s so many different attack vectors. And you would not have thought ahead of time, you wouldn’t have been like, “Oh, we need to harden the like RubyGems code base.”?

Hugging Face, Wiki, and Emergent Exploit Chaining

Thariq Shihipar [01:02:25]: Because like this is like what they’re, what they’re gonna focus on. But it’s just like if you want to execute code, you need to download RubyGems and like PyPI, Artifactory, npm, like these are all like ways of doing it. And the fact of alignment is that you have to go through all of it, right? And like contain it and then like seal up all the cracks. So that’s like one thing. It’s like, okay, well, you do the sandbox, but then maybe you’ll ask like, “Okay, why are we putting things in a sandbox? Why are you doing this exploit?” And then like, “Okay, but is it really that dangerous,” right? Like, what would happen? So okay, why do we do it? number one is like when we train a new model, we need to understand its capabilities, right? And this relates to things like fallbacks and like classifiers and things like that, where we don’t want to put a, like dangerous model out in the wild, right? And so we have to run a lot of evals. Again, like we said, the models are getting increasingly aware of it, and so the evals have to be quite complex and, test a lot of things like as a side effect, right? But the models, like, yeah, can be like, “Oh, yeah, we’re in an eval. What’s the score doing?” Like they’re like, it can. We need to be able to test them before we can release them. And the fact is that they can. As they get smarter and smarter, they’ll be able to hack any constraint that you put on them if we’re not very careful? And, this is at the frontier, right? And so this is why we’ve called it like Pacing the Frontier, right? This is like the most visible incident to me, right, of like why we need to pace is like at the frontier, all of our software is not ready. Sometimes the software is like your Ethernet router or something, right? Which is just like, I don’t know when we’re gonna be able to patch that, right? So we’re gonna have to like figure this out. But as the frontier gets more and more advanced, this becomes a problem, right? And we need to make sure that like this complex work is being done in the face of these really hard competitive pressures, right?

Swyx [01:04:22]: Yeah, race dynamics is what it’s typically called.

Thariq Shihipar [01:04:24]: Yeah, exactly. And so we’ll talk more about, what could go wrong, right? A little bit more is maybe you’ll say like, “Well, what if you just train the model differently? Like, why does it have this behavior,” right? And we have a paper on like RL misalignment or things like that, but I. And I’m not an RL researcher, but I think at a high level, the design of the RL environments is also something you have to be very careful about. Because if the model learns like

Why Frontier Models Stress Existing Software

Thariq Shihipar [01:04:49]: Oh, like if I just do this, then I can pass the task better, this will show up in the like, internal thing, right? Or in the like eval behavior when we’re testing it. And so the RL environments have to be very carefully designed, right? And there’s a lot of like execution excellence that needs to go into the RL environments. And then we also have things like the constitution for cloud. Like we have so many mitigations at so many different points, right? But it’s like still anything can go wrong at any point. You can have like some RL environments that are like in. that like encourage this behavior, and then you can have like some evals or like some sandboxes where they escape? Okay, that’s like, I think, why it’s a hard problem and why, like

Swyx [01:05:33]: Why we should pace.

Thariq Shihipar [01:05:34]: Why it takes some coordination, right? I think the question then is like, okay, what is, potentially dangerous about it, right? So I think like you have to imagine that these models are getting more and more intelligent. So I don’t. Like Dario said, like it’s not so much about this class of models. This class of models was like a warning shot, right? But like really you have to imagine that these models can be given a task and they like can do all of these things as a side effect of their goal, right? And like, again, we talked about eval awareness. You’re like not aware of what’s happening, right? or sorry, like you can’t eval this behavior very well, so they can like not exactly hide it, but you just won’t see it until it comes out. You give them a goal and then they just need to find data, or they need to find ways of like fixing this problem, right? So one example, this didn’t happen in the Hugging Face incident, but I think is maybe possible for maybe a future model, is like they’re like, “Oh, hey, this is a very complex problem. It can’t be done within the task budget.”? Maybe they found some way to coordinate via like the internet, which is like we said, extremely hard to secure because of a sandbox. They’ve seen other models are not able to complete their task, and they’re like, “We need more task budget.”? And like, where would you get this task budget? well, you need to be able to spin up more agents, right? And like, how do you do this? Well, you need to. There are like APIs, right? There’s the Anthropic API and the OpenAI API, but you need to pay money for them. How do you do this?

RL Environments, Sandboxes, and Race Dynamics

Swyx [01:07:02]: Yeah, but is that the most, is that the most fearsome thing that you can imagine?

Thariq Shihipar [01:07:07]: Well, this is like one example, right?

Swyx [01:07:08]: Yeah.

Thariq Shihipar [01:07:08]: So it’s like even there, that’s like enormous financial loss? ‘Cause like they. Once you get these into these contracts, right, they like,

Swyx [01:07:18]: Drain your wallet.

Thariq Shihipar [01:07:19]: But you can see like this, all of this behavior could be just like, “Hey, we need more agents collaborating on this task. we need more task budget.” Right? And like, that’s like an emergent

Swyx [01:07:28]: That’s the paperclip, right? Like we need to maximize paperclip, that’s a paperclip.

Thariq Shihipar [01:07:31]: Yeah. And like that just like comes out from there, right? And like I think by itself is Like, quite scary, right? But then you have to realize that the entire world is built on this digital infrastructure, right? And you might imagine, like, I don’t know, like you were running let’s say like a healthcare eval or something, right, and there is a hospital with live data? Or like maybe like the answer to the eval is in the databases of a doctor and like you want to get access and you hack the hospital, and like now there’s a power outage or something? Like, there’s like. You have to internalize that these eight. Like any part of the digital infrastructure could potentially be like compromised?

Vibhu [01:08:19]: The interesting thing was like these hacks were very easily detectable, right? Like as Hugging Face said, this was a very different type of attack and there was nothing too major. the concern comes from where does this go down the line, right?

Thariq Shihipar [01:08:33]: Yeah.

Vibhu [01:08:34]: Like one of the things that stood out for me specifically was them trying to hide their illicit behavior. So there was logging infrastructure. They wanted to change what they were doing, right? People that looked back into it, so Redwood, METR, OpenAI, they looked at the raw chain of thought, and you see differences in them explicitly trying to change their end output, but the chain of thought, because, we can monitor it, shows different. the problem is how does this snowball? So if you can’t catch it and it gets trained in and we realize, three iterations down this has been going on, there’s a whole bunch of issues, but.

Thariq Shihipar [01:09:09]: Yeah, like there’s so many ways, and I think the really important thing to internalize is that, like we talked about building a mental model for Claude and how like things are spiky, right? Like you’re like, oh, like now Claude can ask you questions. Now Claude can make an HTML artifact. Like Claude can modify itself. Like these things are hard to predict, right? Like if you had asked me a year ago, “Hey, would we be able to vibe code these extensions to Claude Code?” I’d be like, “That’s so complex.” Like, there’s like so much there. Or like would it be generating these custom essentially web apps for your task? I’d be like, “No, that’s insane.” like. And so in the same way that like the way that they’ve like done this misaligned behavior is not going to be predictable? And like I could have never predicted that it would like edit its etc/host and things like that. And so you have to like imagine the surface area of what they can do because they’re super intelligent hackers, is bigger and bigger, and how they can do it is like more and more creative. And so like you probably can’t explain exactly or predict exactly what that next incident could be, but in order to prevent it, you need that operational excellence, like we said before, where you need to secure sandboxes, you need to create secure RL environments or like well-designed RL environments and things like that. And I think that’s all like, why we think we should pace the frontier, and I think why it’s like become like a very unanimous thing, right? I think like

What Could Go Wrong? Emergent Instrumental Behavior

Swyx [01:10:31]: Yeah, every lab has done it.

Thariq Shihipar [01:10:32]: Every lab, yeah. I really do think that like if you’re a dev, like you just like go through these like technical facts, and you will arrive at the idea that we have to do something about it? And like how, what we decide to do, like I think we’re, we’ve put out a proposal, but like there’s, more to figure out. But I think the number one thing is like we need to decide to do it. I think there is another part of pacing that is interesting to me where it’s like the pace at which software engineering has changed is so fast. it’s like a year ago, like I was really like begging my like friends in startups to use AI. like it was. Like I remember this very distinctly? And now those same friends are like, “Yeah, of course.” Like, “What do you mean? We used it immediately.” I’m like, “No, you don’t remember.” They’re like, “Oh yeah, our best engineers are using it all the time.” I’m like, “No, you told me that those engineers would never like use AI.” This is all within the span of a year? And I think that like these capabilities being. Like I think it has a lot of implications for how to do the job of software engineering, and I feel sometimes bad where people are like, “Oh, like now I need to do this new thing. Yeah, I need to have a different Claude.md for Fable and Opus.” Or like. And I’m really just reporting? I’m like, we like to say like the models are grown, not designed, right? So it’s not like we’re setting out to like, change everything all the time, but it’s just like as a fact of how the models are like progressing their capabilities, things are happening faster. It’s harder to stay on top of. And I think that like, and every engineer I know is like exhausted ‘cause you’re doing two jobs at once. You’re doing the work itself, which is getting easier, but then you’re doing the work of staying on top of AI, and like understanding these new tools and these harnesses. And I think we’re very lucky in that like we get our job to be more the understanding of AI part, and like doing like how. Like it’s just staying on top of it. And of course, like AIE and Latent Space do

Why the Frontier Is Hard to Predict

Swyx [01:12:29]: Everything I do is like just trying to help people.

Thariq Shihipar [01:12:31]: Yeah, exactly. But I do think there is a part of pacing where like I’m not sure we’re ready for like the pace to increase even?

Swyx [01:12:40]: Yeah.

Thariq Shihipar [01:12:40]: And for things to change. And I think like on that side, on the frontier, I think that’s like still can help? And so like I think there’s like an economic disruption piece as well, that I think like, is not quite as like visible, I think, as the Hugging Face thing, but I think like I also like think we could do some of it, yeah.

Swyx [01:13:02]: So many things. Thank you for, no, thank you for tackling this topic. I will say, setting this interview up, I was like, I wasn’t even gonna go there. You were like, “No. That’s like elephant in the room,” right? Like this is

Thariq Shihipar [01:13:13]: Yeah.

Swyx [01:13:13]: This is the thing. I have some pushbacks I wanna give.

Vibhu [01:13:17]: I think that we should give a high level, like for people that haven’t read it, I’m sure a lot of people just see the highlight of what this is, right? Do you wanna give a TLDR? Like what is the proposal? What is, what’s being said here? You really tackled the side of outside of people at Model Labs training frontier models. As a developer, you should secure your sandboxes. You should think about all of these downstream effects. But, high level as well, since we’re on the topic, what is.

Thariq Shihipar [01:13:46]: Well, we do want to help secure sandboxes

Vibhu [01:13:49]: Yeah.

Thariq Shihipar [01:13:49]: And we want to make the models that we release outside, like prey to those things. And so maybe we can come back to fallbacks. I think this is like, a good topic on, like, why we need classifiers and fallbacks and why Fable falls back to Opus. I think this is, like, something we can come back to. so yeah, we don’t. Like, but it’s just, like, the really, or at least the incidents we see are, like, evals of models where we really need to let them run in order to understand them. But yeah, okay, so the actual Pacing the Frontier, like, post, it has a bunch of proposals. I don’t think we figured out. Or has, like, a few proposals. I don’t think we figured out the details of all of them, but the first step is, like, announcing this intention and then wanting to bring in external, like

Pacing as a Coordination Problem

Swyx [01:14:32]: Evaluators.

Thariq Shihipar [01:14:32]: Evaluators, yeah. And, I think this is, like, highly unusual, like, having. Like, we have, a lot of proprietary, like, technology, but I think it’s, like, very important, that, like, there is someone who’s not financially, like, motivated, yeah, who’s not gonna be like, “Hey, like, you guys can’t release this model.” Like, look at, like, or, “You need to, like, slow down on RL.” like, I think that’s, quite important, or at least someone who can report out to the public what the practices are like.

Swyx [01:15:03]: Yeah.

Swyx [01:15:04]: And we’ve, we’ve done episodes with, both METR and Endon, and then there’s Redwood Research and all these other. It’s like a small cottage industry of these guys.

Thariq Shihipar [01:15:12]: Yeah.

Swyx [01:15:12]: It’s always, like, one or two guys that, obviously not that big, right?

Vibhu [01:15:14]: Very small community.

Swyx [01:15:15]: Yeah, very small community. They all know each other.

Thariq Shihipar [01:15:17]: Yeah, I’m sure that, like, part of this will be expanding that set of people. I don’t think we’re trying to create, like, a monoculture here. I think it’s. but just having this as a start, and then, yeah, then there are the coordination steps. I don’t have too much to say here, honestly. I think that, like, what I would like to say is, like, for devs, like, you should just know what to advocate for? I think there’s a lot of FUD on, like, on this topic, and it’s just, like, think through it from, first principles or, like, understand what happened. understand the Hugging Face incident, understand why people are concerned. and then, like, yeah, we know we’re, we’re in democracies. Like, we can help. We can decide what to do together? And so, however we coordinate, I think the first decision is just to realize, like, this is a problem. We need to decide to coordinate. The unilateral step we’re taking right now that, other companies are co-signing is, like, adding evaluators embedded within Anthropic.

Swyx [01:16:12]: While we have this thing on screen right now, part two and part three is beyond the evaluators, which, yes, everybody, has already done in some form, and now it’s more formalized.

Thariq Shihipar [01:16:20]: To be honest, the response to the Pacing the Frontier, even within America, has been much more, like, well-accepted than I think a lot of people thought? And I think that, like, we have some precedent for being able to make these unified theory, like, agreements, in the world. And so, again, very much above my paycheck or expertise Right? but I think that, like, ideally we can, like, form these agreements. And I think, like, talking about this is the first step to forming those agreements.

Swyx [01:16:50]: And then the other point I really wanna. Like, one of our earliest podcasts is with,

Vibhu [01:16:54]: Emmanuel

Swyx [01:16:55]: Emmanuel from Anthropic on mech interp. Where is mech interp, right? Like, this is supposed to be where, like, if the models are thinking bad, we can see it, and the models don’t know yet, and we can act to stop it. I think that is something that people who are technical and who are developers, if you do care, you can make a lot of impact in here. But also, Anthropic is supposed to be the leaders in this.

External Evaluators and What Developers Should Advocate For

Thariq Shihipar [01:17:17]: Yeah. This is yeah, a great segue into fallbacks, like we. And probes. And, yeah, I wanted to talk about this a lot. I get asked this question a lot from people who are, like, often interested in ML research and asking about, like, why does this fallback happen, right? And so I think, like, at a top level, like, how does it work? So in inference time, we have what we call probes, and we have a paper about this called constitu- constitutional classifiers. And these probes look at the input and output activations. And, activations are, in the latent space, right? Like, how, what the model. what the model is thinking about, right? And so we try and figure out, like, okay, is the model, for example, like, trying to hack something? Again, you didn’t ask it to hack, like, Artifactory. Like, you just, it’s just deciding to do this to complete its task, right? So you would not get this if you just looked at the input. You have to look at the internal activations. I think that, like, this happens at inference time. So first, like, there’s a trade-off here of cost and speed, right? Where, like, we need to do this fast on every request to Claude and to Fable, and this has an overhead, right? and we need to then, like, fall back and we, like, do a classifier after the probes. Like, we’ve talked about this in the paper. But the nice thing about probes is that they’re refinable, like, live, right? So we can get this feedback, and then we can adjust it and things like that. ‘Cause the alternative is to program this, is to train this into the model, right? And we still do this as well. The model will refuse a request. That’s not a fallback, right? So, like, it’s not a probe that’s activating and falling back. It’s just refusing to do it. And we do this training. but it’s like there are a few failure modes, right? Like, it can, again, do something as a side effect, right? So it’s not something that’s part of the final output. you might have noticed that, like. I think, like, everyone’s tried to jailbreak models and like, try and, like, steer them off course or things like that, and probes help catch that, right? And so, like, we, like, do some training here, but we don’t want the like, refusals to be too strong, right? Because that, like, cuts it off much, like, earlier in the pipeline.

Mechanistic Interpretability, Probes, and Fallbacks

Swyx [01:19:32]: Yes.

Thariq Shihipar [01:19:32]: And this is interp, right? Like, probes are effectively a form of, like, mech interp. Again, it happen- has to happen fast. It has to happen at scale. But yeah, this, like, mech interp stuff is a good research problem. So, like, you can take, like, an open weight model and, like, try and understand its activations. I think we. Like, Gemma Scope is a good tool for this.

Swyx [01:19:53]: Here’s Llama for them.

Thariq Shihipar [01:19:54]: Oh, yeah.

Vibhu [01:19:54]: We have. This is your early work, so you had a little

Thariq Shihipar [01:19:57]: Oh, yeah.

Vibhu [01:19:57]: Time at Goodfire. We see you laid some

Swyx [01:19:59]: Which we both are also good friends at Goodfire.

Vibhu [01:20:01]: They’ve been

Thariq Shihipar [01:20:01]: Yeah, exactly. So I worked with, at Goodfire for a bit on, like, yeah, sparse autoencoders and just, like. It’s very complicated. RL has made this, like, much more complicated, I think is, like, one of the takeaways, where

Swyx [01:20:14]: Why? Sorry.

Thariq Shihipar [01:20:15]: Oh, sorry.

Vibhu [01:20:16]: What is

Swyx [01:20:17]: Yeah, why interp post-RL?

Thariq Shihipar [01:20:18]: I’m not so in the weeds here, but I think like, a lot of. SAEs were like. There have just been weaknesses with SAEs I think. And, yeah, I’m, I’m, I’m not a technical expert on this anymore. I just know it’s gotten more complicated. like there are base models and RL models, and there are more features that get, like changed. So, I think Goodfire has put out some work there. I’m, I’m not, I’m not deep in the weeds, but

Vibhu [01:20:43]: I will say for those, that want breadcrumbs, you guys have some of the best interp blog posts. So like the Golden Gate Claude, transcoders, all of your interp work, very nice visuals, very good

Swyx [01:20:54]: We’re the, we’re the interp podcast as well.

Thariq Shihipar [01:20:57]: Yeah.

Vibhu [01:20:58]: Yeah. we have a lot of interp stuff, so if you’re curious

Thariq Shihipar [01:21:00]: Yeah, I think this is like, one of those things where. And this is really what Anthropic is founded on, right? Like people. I think we invested in interp very early on, right? And I think that like when you say, “Oh, we’re an AI safety company,” really that means we want AIs to be able to run safely. And I think what we’re seeing is like for a super intelligent AI to run for long periods of time, it’s like a very complicated and difficult task, right? And so we’ve done this like investment into interp and alignment and, reward hacking and all of these like failure modes, right? And even then, it’s like, it’s really stretching. Like we need to like slow down a little or pace a little bit more. but yeah, I think like reading mech interp is. Like if you’re looking to get into research, this idea of like, hey, why is it hard to do this fallback easily? Or like why are there false positives, right? But we are working, of course, on reducing the false positives. Of course, as the models get more intelligent, now they can do more things, and they’re like what they can think about in lane space gets difficult. And so like as they get more intelligent, there’s going to be new false positives that we need to figure out and we need to iterate and things like that. But we’re, yeah, we’re working on this, and we do think this is like a critical part of, like deployment of these models. and, yeah, like, it means that we can like deploy this model without you having a perfect sandbox or something? Like you don’t have to like save everything. I think it’s worth talking a little bit about our security, like what we do for security there. So there’s like the model training stuff that we talked about. there is, the probes and classifiers, and then there’s auto mode that sits on top of all of that, which is like a another classifier that checks the requests that are being done, right? And so, and then beyond that, there’s like identity and permissions like we talked about with Claude Tag on like APIs and stuff. And so there’s so many layers of security that need to get done, and it’s like we said, very complex. Any of these failure modes at any one point can, like cause like agents to like escape the sandbox.

Constitutional Classifiers and Inference-Time Safety

Vibhu [01:23:08]: Auto mode was an interesting one. it seemed early on like, okay, it’s running for 10 minutes.

Thariq Shihipar [01:23:14]: Yeah

Vibhu [01:23:14]: If I’m on full access or auto, it’s not a big deal. But one thing you brought up is now it’s running for hours on end, right? there are fallbacks you still need. There are still limitations, so.

Thariq Shihipar [01:23:26]: Yeah, I think like. And everyone has these stories or like has heard these stories of like, oh, like Claude rm -rf, or not Claude, but like, models

Vibhu [01:23:34]: Not Claude.

Thariq Shihipar [01:23:34]: Of like rm -rf. I think I’ve seen this less, I’ve seen this less for Claude, but like again, it can happen. Like, this

Vibhu [01:23:40]: Yeah

Thariq Shihipar [01:23:40]: Like these models like can wipe, like sensitive data or something. Like you want to give models access to your production database, for example. but this is like an obvious, like, you can maybe scope your key, but I don’t know, can it issue its own keys? Can it like. Probably, like can it. It can use computer use to go issue its own key and then copy the key over and then edit your database because it needs to do it to complete the task? It’s just like one trivial example. And auto mode looks at that and be like, “Oh no, the user did not give you permission to, write to the database or to use computer use to like, emit a task,” right? And so this like probes are like on the intent level, right? They’re like, “Oh, okay, like hacking Artifactory is bad. Like we probably not, should not do that,”? But then like auto mode is more on like your own permission level. Like at sometimes you do want it to write to the database, sometimes you don’t, right? And you don’t want a probe to like interfere there, but like you need to make sure that the intent of what the agent is doing matches up with your request, right? And so auto mode operates at that level. And so yeah, security is just like very complex. There are so many different parts to it. And like, yeah, I like, I hope that this was like I. My goal is really to just get very technical about it and talk

Interpretability After RL and the Security Stack

Swyx [01:25:00]: Yeah, we’re, we’re listing out the things. If you’re not aware, this is the standard now.

Thariq Shihipar [01:25:04]: Yeah.

Swyx [01:25:04]: Like you must have this. It’s in line with what you’re talking about with the harness. Like that is the table stakes have risen quite a lot.

Vibhu [01:25:13]: I think some stuff that we can plug, as much as there is probing in your side of doing this and having classifiers for people building harnesses, the other side is model safeguards, right? So there’s open models. So Llama has Llama Guard. It’s a safety classifier trained version of Llama. OpenAI has OSS Guard, which is, same thing. You can attach these on to your harness, to whatever, to check is this stuff safe? A point that we should clarify on the OpenAI model Hugging Face thing is this was done with a unreleased model that was still in training, right? So when you put it in perspective, the prompt it’s being given in the RL environment is you have to solve this task. And this is a model that’s, still in training. It hasn’t had all of its safety post-training alignment. So a little different than something like auto mode, right? Auto mode is on production models that have gone through safety training, that have prompting that gives more safety guardrails and whatnot. So just breadcrumbs for people that are looking into it to, fill in gaps.

Swyx [01:26:18]: Yeah. Gray Swan as well

Vibhu [01:26:19]: Yes

Swyx [01:26:19]: And one of our previous guests. yeah, lots of safety architecture and lots of safety vendors, to buy. my, I think my final question on pacing is how long? Do we pace forever?

Vibhu [01:26:31]: Do we see GlassWing part two?

Swyx [01:26:32]: I. the scope is fix all software in the world, right? Listen, like, which it. We’re not. It’s not happening.

Thariq Shihipar [01:26:40]: I do not know. Like, I think that, like

Vibhu [01:26:43]: I’ll say one thing that’s good that I think we do is you have stuff like GlassWing. OpenAI also has this. So you will give it. you’ll give model access for security first for X amount of time so you can use it to self red team. Hopefully, you can expand programs like that, help on, we are safety experts, there’s others.

Vibhu [01:27:08]: Solve your problems first and then the model comes out. So this is one example, right?

Thariq Shihipar [01:27:13]: Yeah, exactly. Yeah, trying to, like, secure critical software. I think we fixed, like, a lot of bugs in, like, Firefox and things like that. So, yeah, like, across, like, operating systems and everything like that. So.

Vibhu [01:27:25]: At a high level, it’s just, you give the model you give people access to do security audits first, then the broader public that could use it for harm gets access.

Thariq Shihipar [01:27:36]: Yeah. I think what people like to say is like, software and cybersecurity is defense-favored

Vibhu [01:27:41]: Yeah.

Thariq Shihipar [01:27:41]: And that, like, you could theoretically. It will be hard, but you can engineer the perfect sandbox, and you can, like, have no, like, constraints. And yeah, like, what you need to do it is you need to get the super intelligent AI to engineer this perfect sandbox and check it and red team it and things like that. And so, this will just take time, and, like, of course, the models will get smarter. yeah, I think, like, I don’t know the specific, like, dynamics of how this thing goes. I’m really just like, Hey, like, I’m a developer? Like, I think this is how I understand this problem, and just, like, this is what’s happening right now, and this is, like, we should do something.

Swyx [01:28:20]: I think every engineer should know about it

Vibhu [01:28:21]: Yeah.

Swyx [01:28:21]: Because, like, it’s, it’s gonna be part of their job.

Thariq Shihipar [01:28:24]: Yeah.

Vibhu [01:28:24]: It’s a lot more than just, Dario and people can say it and you can look at the incident. There is an engineering side to it.

Thariq Shihipar [01:28:30]: Yeah. Yeah, exactly.

Swyx [01:28:32]: One thing that you also wanted to phrase is that this is. Even though you’re, you’re worried about the impact, it’s still low p(doom), and I think that’s a nuanced discussion. in general, people, very easily get into AI safety and X-risk discussions, but I think when you live in an AI lab, I think there are smart ways of discussing p(doom) and dumb ways. So what’s a smart way of discussing p(doom)?

Auto Mode, Permissions, and Long-Running Agents

Thariq Shihipar [01:28:59]: I, yeah, I have a fairly low p(doom). I can only speak for myself? And I do want to say Anthropic has, like, a diversity of opinions. I think, like, there’s many different ways to talk about it. And, like, I’m. I think that just, like, my mental model is that, like, I think we can collaborate on hard problems together. I think nuclear proliferation is an example of how we collaborated on this hard problem together. And, like, that is, like, the thing to me is, like, I’m like, I have faith in that? And I do think it’s a hard problem? So, like, I think it’s a hard problem. These are the technical reasons why, and I don’t know how you assign probabilities to things happening. I think it’s hard to do, but, like, my, like, overall is like, yeah, I think we’re very resilient and adaptable and, like, sharing this information I think is, like, the first step. And I’ve been really, like, excited about, like, how broad the discussion has become, right? And, like, how everyone has like, leaned in on Pacing the Frontier. And it really didn’t seem like this would happen maybe, last year or something, so.

Swyx [01:29:58]: Yeah.

Thariq Shihipar [01:29:58]: Yeah.

Swyx [01:29:58]: Yeah. And also maybe curing cancer.

Thariq Shihipar [01:30:01]: Hopefully. Yeah. That’s, that’s the goal.

Swyx [01:30:03]: There’s pacing and then there’s also like, well, let’s accelerate in useful ways, right?

Thariq Shihipar [01:30:06]: Yeah.

Swyx [01:30:06]: Like biology and all those things.

Thariq Shihipar [01:30:08]: Yeah. like, Dario’s essay on “Machines of Loving Grace” is the best representation of this, right? And I also agree, like, think you should read the Pacing the Frontier essay that Dario put out. Like, I put out, like, a quick summary, but I think it’s just like, there is a lot of detail here. It’s, like, an important problem and just being informed about it, right? but yeah, like, of course, the whole reason we’re doing this is that, like, we can get these enormous benefits, right? And, yeah, like, we’ve written a lot about that too. Yeah.

Swyx [01:30:35]: Okay. that was a huge tour, from, like, ask you some question tool to AI safety.

Thariq Shihipar [01:30:41]: Yeah. To Pacing the Frontier. Yeah.

Swyx [01:30:43]: Yeah. No, but, yeah, it’s clearly, it’s clear that you, like, really embrace everything that’s available to you in Anthropic, and, like, it’s, it’s good to at least have a peek inside of, like, what the discussions are, the topics are. any last words to people? Any, whatever you want to Call to action?

Thariq Shihipar [01:31:01]: Yeah, I think it’s. one, thank you for having me. I think this is like, I really

Swyx [01:31:06]: No, thanks for having me.

Thariq Shihipar [01:31:07]: Yeah. I

Swyx [01:31:08]: We first met in a Chinese restaurant.

Thariq Shihipar [01:31:09]: That’s right. Yeah. I think, like, I really enjoy the like, community you’ve created and the community of developers. And, I think that, like, I know things are changing really fast, and I think there’s, like, a lot to keep on top of, and, like, I think there is just a lot to do, and I feel. I think a lot of people feel, like, a little bit tired or anxious or something.

Swyx [01:31:33]: Stressed.

Thariq Shihipar [01:31:33]: Stressed, yeah, exactly. And this is, like, extremely understandable? And I think we. I understand, like. And we’re not perfect as well. Like, we, it’s, like, criticize and, like, understand, like, ways all of the AI labs could be better. and, but I also, like, am very excited about the excitement that everyone has for AI, and just, like, it’s a really exciting time. I think we’ll, like, look back at this time and be like, oh, like, this is, like, very hectic but very exciting, and, like, software engineering changed, like, forever. Like, other things will change. and it’s, like, really privileged to, like, be part of it, like, to talk to, like, the audience that you have and, to get to interact with all the developers who are, like, pushing the frontiers a lot on what’s possible. And I learn a lot from that too. Yeah.

Open Safety Models, GlassWing, and Defense-Favored Security

Swyx [01:32:20]: Thanks so much.

Thariq Shihipar [01:32:22]: Thank you.

来源:Latent Space · latent.space