操盘手年鉴The Operators’ Almanac
AI · MM · 225

通用 Agent 即编码 Agent

Every Agent Is A Coding Agent · every-agent-is-a-coding-agent--alexander-embiricos
AI 与新工作方式 思维模型 AI 时代 2026-01 Alexander Embiricos ✓ 已核验出处
所属簇 Agent 构建

解决什么问题

在决定"要不要做/怎么做一个通用 agent"时的底层推理:为什么写代码是 agent 行动能力的最佳基座,而不只是程序员的垂直场景。

核心内容

一条四步推理链:

  1. 有用的 super assistant 必须能"做事"(改变你世界里的状态),不只是回答问题;
  2. 过去一年的经验:模型做事时,能用计算机的效率远高于不能用的;
  3. 用计算机的方式有多种——hack OS 无障碍 API、指点点击(慢且不稳定)——实践证明最好的方式是直接写代码
  4. 结论:想造任何 agent,也许都应该造一个 coding agent。非技术用户甚至不会意识到自己在用 coding agent(就像没人意识到自己"在用互联网",只关心 WiFi 通没通)。

配套判断:

  • 代码可组合、可互操作:agent 写过的脚本可以被记住、存储、复用,甚至同团队新人直接继承已有脚本——避免每次重写,这是"点击型 agent"不具备的复利结构。
  • 团队上下文是主要难题:agent 能不能做到 ≠ 问题所在,难在让 agent 理解团队的做事方式、meta prompt、确定性边界(同一个 crash 报警工具,每个子团队想要的分析方式都不同)。
  • 推论:非编码领域的 agent 目前偏早期,等它们也能以可组合方式用代码行动后会显著变好;连财务分析这类任务也应该让 agent 写代码来做。

适用边界

  • "所有 agent 都该写代码"是作者承认的方向性判断(一年期的模糊推演),不是已验证事实;点击式/OS 级操作在网页等场景仍是补充手段。
  • 前提是有沙箱等安全机制约束 shell 执行。

关键引述 · 原话

"It turns out the best way for models to use computers is simply to write code. And so we're kind of getting to this idea where if you want to build any agent, maybe you should be building a coding agent." — Alexander Embiricos

"Maybe to the user, a non-technical user, they won't even know they're using a coding agent, the same way that no one thinks about are they using the internet or not." — Alexander Embiricos

关联卡片

- 与 agent-stack-model-api-harness 卡(同源)配套:这是"为什么押注代码",那是"怎么把栈搭出来"。 - 呼应 OpenAI 把 Codex 定位为 ChatGPT super assistant 的核心行动能力,而非并列产品线。

出处Alexander Embiricos (OpenAI Codex 产品负责人) · 03-podcasts/alexander-embiricos.md
提炼自 Lenny Rachitsky 的 Lenny’s Newsletter & Podcast(2019–2026)。本站为个人学习用途的二次创作,与 Lenny’s Newsletter 无官方关联。
provenance · 已核验 · glm-5.2