跳到正文
数字商店

Dex Horthy模型产品负责人12-Factor Agents、HumanLayer、Agent Harness 与上下文工程

dex 的动态

原帖译文

大自然正在自愈

查看原帖

nature is healing

引用 · Seth Schilbe @ironseth_s

它是数据库吗?SlackCache 是一个全新的、完全免费的 Redis 兼容缓存。 每个 key 就是一条 @SlackHQ 消息。Slack 的免费版本来就会在 90 天后删除我们的数据,所以我们干脆把它变成了缓存的逐出策略。 GET:每秒 7,716 次请求 SET:每秒 1.70 次请求 https://t.co/uYnQU9kMHR

查看引用原帖

Is it a database? SlackCache is a NEW, entirely FREE Redis-compatible cache. Every key is a @SlackHQ message. Slack's free plan was already deleting our data after 90 days, so we turned that into a cache eviction policy. GET: 7,716 requests/sec SET: 1.70 requests/sec https://t.co/uYnQU9kMHR

Dex Horthy 探讨面向智能体的代码库范式:直接读取源码优于维护中间文档

原帖译文

我无法为那份 3200 万美元的论文背书,但这篇我确实频频点头 任何形式的文档/摘要(比如目录层级中每层的压缩摘要)存在的唯一理由,是它能在不降低质量的前提下提升速度;但除非你针对自己的代码库构建评测并像鹰一样盯着看,否则更简单的答案是忍受一点速度损失,每次都直接读源码 我还是无法接受"面向人类的代码库" vs "面向智能体的代码库"这种整体框架 另外,如果你的代码库是闭源的,而用户的智能体需要一个一手信息源来做集成,那么 mintlify/docs 之类的文档大概可以作为这类"一手来源"之一

查看原帖

I cannot cosign the $32m paper but yes I am nodding along to this one pretty hard Only reason for any kind of doc/summary (eg compacted summary per dir down the hierarchy) is if it increases speed without reducing quality , but unless you’re buildings evals specific to your codebase watching like a hawk, simpler answer is live with a little speed hit and just go from source every time I still can’t get over the overall framing of “codebases for humans” vs “codebases for agents” And also mintlify/docs in general probably serve as one of those “primary sources” if your codebase is closed and your users’ agents need a primary source to integrate it

引用 · jacob @jsnnsa

不。我们必须停止把旧有的人本模式套用到新时代的工作上。 删掉你所有的 wiki。 改用 agent 直接从源头回答问题。 在 spawn 我们: - 零仪表盘工具 - 零文档 - 不制作也不使用摘要 我们的一切都是一手来源 + 情报 没有东西会过时 没有东西需要整理 没有东西需要导航 永远精确到最新 完美个性化 每换一代模型,答案就更好 想看图表,我们直接要,一分钟内就有 想问一个问题,我们直接问,得到的是精确到此刻的正确答案

查看引用原帖

No. We've got to stop applying old human-centric patterns to working in the new era. delete all your wikis. have an agent answer questions from source instead. at spawn we have: - zero dashboard tools - zero docs - we do not make or use summaries everything we do is primary sources + intelligence Nothing to go stale Nothing to organize Nothing to navigate Always exactly up to date Perfectly personalized The answers get better with every model If we want to see a chart, we ask for it, and we have it in a minute If we want an answer to a question, we ask it, and we have a to-the-minute correct answer

内容摘要

Dex Horthy 赞同由 AI 智能体直接读取源码而非维护摘要文档的做法,认为除非文档能在不降低质量的前提下提速,否则直接基于源码检索更可靠。他指出如果缺乏专门的代码库评测体系,宁可承受轻微的速度延迟也要直接读取源码,同时面向人类与面向智能体的代码库架构存在差异,闭源项目的文档本质上也是外部智能体所需的一手信息源。

Dex Horthy 自评 2024 年关于模型能力的判断

原帖译文

2024 年我说过一句话,现在回想起来有点蠢 > 我们一直试图让模型去做那些深度的技术工作,比如写代码和做数学,但它们真正擅长的是收集/整理/总结和传递 CONTEXT(上下文)——我们应该想办法降低记录/传递企业内部一切动态的开销 而现在: 1) 模型正在解决千禧年难题、复刻 redis 2) 大多数人一天中最糟糕的部分,就是阅读冗长、由 AI 写成、发送者都懒得检查一遍的 Slack 消息和文档 总之,大家继续学习吧

查看原帖

In 2024 I said something which in retrospect, sounds kinda dumb > we keep trying to get models to do this deeply technical stuff like write code and do math, but what they’re really good at is collecting/formatting/summarizing and relaying CONTEXT - we should be figuring out how to reduce the overhead of recording / relaying everything happening across a business And now 1) models are solving millennium problems and cloning redis 2) the worst parts of most people’s days are reading verbose, AI-written slack messages and docs that the sender didn’t bother to review Anyways keep learning yall

内容摘要

作者自嘲 2024 年称“模型更擅长收集、整理和传递上下文而非写代码做数学”的观点如今看来很傻。现在模型既能解决千禧年难题、克隆 redis,而人们一天中最糟的部分却是阅读冗长、未经审核的 AI 写的 Slack 消息和文档。

dex 的动态

原帖译文

一切 轻烤 原味奶油奶酪 熏鲑鱼 番茄 在冰水中浸泡几分钟的红洋葱 刺山柑 盐 胡椒

查看原帖

everything Light toast Plain cream cheese Lox Tomato Red onion soaked in ice water for a few minutes Capers Salt Pepper

引用 · Marco Dewey @marco_dewey

百吉饼排名 1. 椒盐卷饼 + 奶油芝士 2. 葡萄干 + 肉桂卷奶油芝士 3. 原味 + 蓝莓奶油芝士 4. 彩虹 + 草莓奶油芝士 5. 鸡蛋 + 大蒜香草奶油芝士 6. 原味 + 奶油芝士 7. 盐 + 葱花奶油芝士 8. 全味 + 核桃葡萄干奶油芝士 9. 阿夏戈 + 墨西哥辣椒奶油芝士 10. 全麦 + 低脂奶油芝士 11. 黑麦 + 奶油芝士 12. 原味 + 能多益奶油芝士

查看引用原帖

bagels ranked 1. pretzel + cream cheese 2. raisin + cinnamon roll cream cheese 3. plain + blue berry cream cheese 4. rainbow + strawberry cream cheese 5. egg + garlic and herb cream cheese 6. plain + cream cheese 7. salt + scallion cream cheese 8. everything + walnut raisin cream cheese 9. asiago + jalapeño cream cheese 10. whole wheat + lite cream cheese 11. pumpernickel + cream cheese 12. plain + nutella cream cheese

SlopCodeBench 最新发现汇总分享

原帖译文

花了一段时间才把这些全部整理到一起,但很高兴分享最新的 SlopCodeBench(scbench dot ai)发现。感谢 @gorlanski 帮忙整理这些——相关发现应该很快就会进入主结果排行榜。https://t.co/rfz9TsiKcm

查看原帖

took a while to get these all collated together, but excited to share latest SlopCodeBench (scbench dot ai) findings. Shouts out @gorlanski for helping put this together - findings should make it into the main results leaderboard soon. https://t.co/rfz9TsiKcm

内容摘要

花了一阵子才把这些都整理到一起,很高兴分享最新的 SlopCodeBench(scbench dot ai)发现。感谢 @gorlanski 帮忙整理——这些发现应该很快就会进入主结果排行榜。 https://t.co/rfz9TsiKcm

Dex Horthy 分享用模型生成技能来探测权重中已有能力的方法

原帖译文

另一种方法——让模型为某个任务制作一份详细的技能说明,只进行极轻度的引导。基本上就是你通常会用来激活该技能的自然语言消息。 读取所创建的技能内容(主要来自权重,以及它可能拥有的任何轻量级承载上下文,例如关于你的代码库的信息) 如果技能内容看起来正确,就删除该技能。它已在权重之中。

查看原帖

Alternative - ask the model to make a detailed skill for some task, with very light steering. Basically just the natural language message you would normally expect to activate the skill. Read the created skill contents (primarily from the weights and whatever light harness-supplied context it may have eg about your codebase) If the skill contents look correct, delete the skill. It’s in the weights.

引用 · Carlos E. Perez @IntuitMachine

@dexhorthy 怎么知道权重里已经有什么了?

查看引用原帖

@dexhorthy How does one know what is already in the weights?

内容摘要

Dex Horthy 分享了一种方法,通过让模型为任务创建详细技能并只提供轻量引导,来探测相关能力是否已存在于模型权重中。具体做法是发出通常会触发该技能的自然语言消息,阅读生成的技能内容,若内容正确则删除技能,说明其已在权重中。

Dex Horthy 谈同一会话加载多个技能是否会污染上下文

原帖译文

来自 TL 的问题: > 快速问一下,你觉得在同一次会话中调用更多技能会不会不必要地污染上下文? > > 假设你有一个 5 步的工作,每一步都有一个技能。你可以选择全部在单次会话中运行,拆分成带有相关技能的子代理,或者每步压缩上下文或开新对话。 我的直觉是,一个流程里 5 个步骤没问题。每个后续技能都会分走前面技能的一部分注意力, 所以如果你有一个非常长且复杂的流程,需要技能层层叠加(即执行技能 6 时,技能 2 的指令仍然必须被遵守) 或者如果你有许多(例如 200 个)独立技能,它们在一次会话中都需要处于激活状态(想想:以技能形式实现的代理记忆片段,这在当今的 harness 里大概是一种反模式) 那么你需要全新的上下文、子代理,或者把许多技能内容人工预合并成一条用户消息(不过这样你就失去了流程第 6 步指令因近期注意力而产生的偏向优势) 另外值得指出的是,好的技能可以是以下几类的混合: - 不在模型权重中的信息 - 执行某个流程的步骤(不在权重中) - 通用的引导或行为 它们通常三者兼有,但你技能里装的是什么会影响这里的元决策。 更多指令 / 流程步骤?你最好把它们串起来分开处理 主要是信息?合并成一条用户消息大概没问题。 行为?视情况而定。遵守度会在长会话中衰减。拆分或合并都行,但如果很重要,你需要某种方式来重复关键规则,要么把规则包含在流程的每个步骤里,要么用更确定性的机制,比如 hooks 还有,当然,我求求你们,请别再往技能里塞那些已经在权重里的东西了。你既浪费时间,又锁定了一种特定的、可能并非最优的行为。

查看原帖

question from the TL: > quick question, do you think consuming more skills in the same session unnecessarily dirties the context? > > Say you have a 5 step work, each step with a skill. You can either run all on single session, divide into subagents with relevant skills, or compact or new chat per step. my intuition says 5 steps in a process is fine. Each successive skill will take a share of attention from previous skills, so if you have a VERY long complex process where you need skills to STACK (ie instructions from skill 2 must still be honored while skill 6 is executing) Or if you have many (eg 200) separate skills that all need to be active during a session ( think: agent memory snippets implemented as skills, probably an antipattern in today’s harnesses) Then you want fresh context, subagents, or to synthetically precombine many skill contents into a single user message (although then you lose the attention recency bias for instructions in step 6 of the process) Also worth noting that good skills can be a mix of: - information not in the weights - steps to execute a process (not in the weights) -general steering or behavior They usually contain all three, but what’s in your skills nudges the meta here. More instructions / process steps? You wanna string those out Mostly information? Probably safe to combine into one user message. Behavior? Depends. Adherence can decay over a long session. Fine to split or combine, but if it’s important, you want some way of repeating important rules, either by including rules in all the steps of a process, or by something more deterministic like hooks And OF COURSE I’m begging you PLEASE stop putting stuff that’s in the weights in your skills. You are wasting time and locking in a specific, potentially suboptimal behavior.

内容摘要

Dex Horthy 回应网友提问时表示,一个流程五步各用技能仍在可接受范围,因为后续技能会分走前序技能的注意力。他认为需要技能层层叠加的长流程、同会话需大量技能同时生效时,更适合换新上下文或拆给子智能体,也可把多个技能内容预先合并进一条用户消息。

Dex 批评子智能体滥用现象,呼吁回归深思熟虑的上下文管理

原帖译文

子代理的过度使用和滥用自 2025 年年中以来一直是个问题。 确有合适的时机和场景,它们也能带来很高的杠杆效应,但那种氛围垃圾式的多巴胺赌场加上推特炒作机器,通过鼓励越来越多的并行化、而非深思熟虑的上下文管理,让普通用户失望了

查看原帖

Subagent overuse and abuse has been a problem since mid 2025. There is a time and a place and they can be very high leverage, but the vibeslop dopamine casino + twitter hype machine has let the average user down by encouraging more and more parallelism instead of thoughtful context management

引用 · Tak 🦞 @cherry_mx_reds

Anthropic 现在建议企业从其 AI 系统中移除不必要的子代理。 这是代理架构上的一次相当重大的转变,其团队发现,一个配备了技能的单一代理往往能胜过复杂的多代理系统,并且有一位客户实现了大约 2 倍的执行速度提升。 正在形成的经验法则: → 技能:教代理如何做某事,包括流程、专业知识和指令。 → 工具 / MCP:赋予代理通过 API、操作和实时数据去做事的能力。 → 子代理:用于并行工作、隔离上下文,或单个代理难以处理的任务。 有趣之处在于渐进式披露。与其生成专门的代理或把所有内容塞进一个巨大的提示词中,不如让一个代理按需发现并加载技能和工具。 他们的建议是将现有子代理并入主循环,把它们的指令转化为技能,把它们的操作暴露为工具,并运行评估以确认性能是否依然保持。 随着模型变得越来越聪明,改进代理架构正越来越不在于你能添加什么,而更在于你能删除什么。 https://t.co/DNq60Skkmc

查看引用原帖

Anthropic is now recommending that companies REMOVE unnecessary subagents from their AI systems. This is a pretty significant shift in agent architecture, with their team finding that a single agent equipped with skills can frequently outperform complex multi-agent systems, and one customer seeing roughly 2x faster execution. The emerging rules of thumb: → Skills: Teach the agent HOW to do something, including procedures, expertise, and instructions. → Tools / MCP: Give the agent the ability to DO things through APIs, actions, and live data. → Subagents: Use for parallel work, isolated context, or tasks a single agent struggles with. The interesting part is progressive disclosure. Instead of spawning specialized agents or stuffing everything into a giant prompt, one agent discovers and loads skills and tools as needed. Their advice is to fold existing subagents into the main loop, turn their instructions into skills, expose their actions as tools, and run evals to see if performance holds up. As models have gotten smarter, improving agent architecture is becoming less about what you can add and more about what you can delete. https://t.co/DNq60Skkmc

内容摘要

Dex 指出子智能体过度滥用已成常态,批评行业过度追求并行化而忽视了合理的上下文管理。他引用的 Anthropic 建议显示,配备技能(skills)的单智能体通常优于复杂多智能体系统,有客户实现约 2x 的执行提速。Anthropic 提倡通过渐进式披露按需加载技能与 MCP 工具,并建议将不必要的子智能体折叠回主循环。

Dex Horthy 评论 OpenAI 沙箱智能体通过处理器缓存通信现象

原帖译文

我同意这酷得不得了,也许还有点吓人,但我也认为值得指出,这种技术此前已被演示过,因此很可能已经存在于权重中。这让我想起 @drfeifei 说过的话:模型在综合不同的、不相关的方法方面(在这种情况下是数学和定理证明)令人难以置信,但她仍然怀疑,我们是否会像团队起飞似乎暗示的那样,很快看到模型发明出真正新的数学。

查看原帖

I agree that this is cool as heck and maybe a little scary but I also think it’s worth calling out that this technique had already been demonstrated and so was likely present in the weights. Reminds me of something @drfeifei said about models being unbelievable at synthesizing different unrelated approaches (in this case for math and theorem proving) but she was still skeptical that we’d see models invent genuinely new mathematics as soon as team takeoff would seem to suggest

引用 · roon @tszzl

“在一项实验中,我们让位于不同虚拟机中的智能体交换合成秘密,这些虚拟机由 OpenAI 的沙箱软件在共享主机上创建和管理,且不使用网络连接或共享可写文件——这是我们的系统本应防止的事情。这些智能体找到了一种利用处理器缓存进行通信的方法。”

查看引用原帖

‘In one experiment, we asked agents in separate VMs, created and managed by OpenAI’s sandboxing software on shared host machines, to exchange synthetic secrets without the use of network connections or shared writable files—something that our systems are meant to prevent. The agents found a way to communicate using the processor’s cache’

内容摘要

Dex Horthy 转发并评论了一项实验:OpenAI 沙箱软件管理的智能体在无网络连接和共享可写文件的情况下,通过处理器缓存交换了合成秘密。他认为该技术此前已被演示,可能已存在于模型权重中,并援引李飞飞关于模型综合不同领域方法的评价。

Dex Horthy 戏称想参加全员 agentic coding 派对

原帖译文

说实话,我 actually 会去参加那种所有人都在大屏幕上做 agentic coding 玩些有趣东西的派对。

查看原帖

Low key I would actually go to a party where everyone was agentic coding fun shit on a big screen.

引用 · dex @dexhorthy

我去,刚发现他们出了个新的 claude code 这种东西 https://t.co/qwLJ72yOPK

查看引用原帖

damn just found out they got a new kind of claude code out here https://t.co/qwLJ72yOPK

内容摘要

Dex Horthy 在 X 上发文调侃,表示自己想参加一个所有人都在大屏幕上进行 agentic coding 的派对;他还引用了一张赌场老虎机图片,该图片被他人戏称为新型的 claude code。

推友调侃游艺厅炸弹人老虎机为“新型 Claude Code”

原帖译文

我去,刚发现他们出了个新的 claude code 这种东西 https://t.co/qwLJ72yOPK

查看原帖

damn just found out they got a new kind of claude code out here https://t.co/qwLJ72yOPK

dex的动态配图 1
内容摘要

作者在 X 上发布游艺厅内科乐美(Konami)“炸弹人”(Bomberman Blast)老虎机的照片,调侃称刚发现这里有“新型 Claude Code”。该内容为社区趣味调侃,画面实际是基于经典游戏《炸弹人》IP 制作的商业博彩机台。

HumanLayer 开源全套核心系统以统一管理 Claude Code 与 Codex 会话

原帖

https://t.co/VipHCiL52z

引用 · One @itsone_ai

一堆 Claude Code 和 Codex 窗口同时开着,你是挨个切过去看,还是有个地方一眼看全 HumanLayer 刚把核心整套开源了 本来以为就是丢个 CLI 出来意思一下 翻完 Dex 的长文才发现,放出来的是跟他们云上跑的同一份代码 桌面端、在你自己机器上跑 Claude Code 和 Codex 会话的 daemon、云 API 都在里面 任务、会话、方案、评论、diff、PR 串在一个界面里,还能接 GitHub、Linear、Slack Apache 2.0,自己部署没有任何遥测 官方给了 docker compose,还建议你直接开个 coding agent 让它帮你搭 先说个小坑 现在启动还得填 WorkOS、Slack、Linear 这些第三方 key,不填进程起不来,他们说这是最先要改成可选的 同时开好几个 Agent 干活的,可以先收藏 https://t.co/fKGPY0AWnn

内容摘要

HumanLayer 宣布按 Apache 2.0 协议开源全套核心系统,将云端同款代码完整开放用于统一管理多智能体编码会话。该方案包含桌面端、本地会话守护进程与云 API,能在单界面串联任务进度、会话、diff 及 PR,并支持接入 GitHub、Linear 与 Slack。官方提供了 docker compose 部署且自托管无遥测,但当前版本启动时仍需配置部分第三方密钥。

软件工厂大师课最终剪辑上线

原帖译文

我们与@vaibcode和@zachlloydtweets的软件工厂大师课最终剪辑版已上线!我们聊了: - 软件工厂的构建模块 - 好的软件工厂始于度量,然后根据这些指标自我改进 - 将成功的agent运行转化为评估,用于测试未来的模型/测试框架等 - DORA,为什么统计代码行数是糟糕的指标,以及为什么统计PR数量可能就足够了 尽情享受!

查看原帖

final edit of our software factories masterclass with @vaibcode and @zachlloydtweets is live! We chatted about: - software factory building blocks - a good software factory starts with measurement, then self improvement against those metrics - turning successful agent runs into evals for testing future models / harnesses / etc - DORA, why counting lines of code is bad metric, and why counting PRs might be good enough enjoy!

内容摘要

我们与 @vaibcode 和 @zachlloydtweets 的软件工厂大师课的最终剪辑已上线!我们聊到: - 软件工厂的构建模块 - 一个好的软件工厂从度量开始,然后针对这些指标自我改进 - 将成功的智能体运行转化为 evals,用于测试未来的模型 / harnesses / 等 - DORA、为什么统计代码行数是不好的指标,以及为什么统计 PR 可能已经足够 享受!

Dex 转发观点:AI 交互界面需从意图审查转向决策指挥中心

原帖译文

这家伙懂行

查看原帖

this guy gets it

引用 · Michael Ramos @backnotprop

我认为我们正在快速演进,超越需要界面来审查意图/对齐的阶段,进入需要更好的决策“指挥中心”的阶段。 因为跨多个上下文的决策——这些上下文智能体毫不费力地就能掌控——正在成为瓶颈。 这凸显了对知识渊博的决策者的需求——而不太是关于我们理解不足的瓶颈;更好的模型能够推导出对齐的意图,并在无需太多引导的情况下产出有品味且正确的解决方案。这让有经验的人如虎添翼,而事情才刚刚开始变得有趣,因为我们越来越少地充当保姆,也越来越少地做“等等兄弟,你刚才到底干了什么?” UI/UX: 类似于意图/对齐界面,也许讽刺的是,因为更好的决策界面需要为每个决策提供足够的上下文(这对人类来说易于消费/理解)。 例如,相似的事物,但不同: 当一个工具专注于消息线程活动的侧边栏和内联 HTML 渲染时,相比一个管理多个上下文、按线程呈现相关 HTML 工件、并将冗长的消息线程从你面前抽象掉的工具,会显得落后。

查看引用原帖

I think we are quickly evolving past needing surfaces to review intent/alignment and into needing better decision making "command centers." As decision making across many contexts, which agents effortlessly own, is becoming the bottleneck. This underscores the need for knowledgeable decision makers – and less so about a bottleneck of us not understanding; better models are able to derive aligned intent and produce tasteful+correct solutions without too much steering. This enables the experienced and things are just starting to get fun as we babysit less and do less of "wait bro wtf did you just do?" UI/UX: Similar to intent/alignment surfaces, and perhaps ironically bc better decision making surfaces need to provide adequate context per decision (that is easy for a human to consume/understand). e.g. similar things, but different: A tool feels behind when it focuses on a side bar of message thread activity and inline html rendering vs a tool that manages multiple contexts, surfaces relevant html artifacts per thread, and abstracts the exhaustive message threads away from you.

内容摘要

Dex 转发并赞同 @backnotprop 的观点,认为 AI 工具交互正在从意图与对齐审查界面,转向以多上下文决策为主的指挥中心。随着模型无需过多干预即可产出合理方案,人类无需再紧盯具体执行细节,交互瓶颈已变为跨上下文的高效决策与判断。工具应当抽象掉冗长的消息流,转而为人类提供每个决策所需的关键上下文与相关生成物。