Compound Engineering
What it is
An AI-native engineering methodology developed by Kieran Klaassen (GM of Quora, creator of the Compound Engineering plugin) that structures human-AI collaboration as a loop where each iteration makes the system smarter. The core insight is that the "work" phase of software development is increasingly automatable, so human attention should concentrate at the edges: framing problems at the start and applying taste-based polish at the end.
Why it matters
Traditional development stops at Review. Compound Engineering adds a Compound step that feeds learnings back into the system, creating a self-improving loop. Klaassen uses this with a single-engineer team to operate five products. The framework also produces the "AI Sandwich" mental model: humans are the bread (problem-framing and final polish), AI is the filling (execution and iteration).
Key points
- The loop has eight steps, not four. Originally Plan → Work → Review → Compound, it now includes Ideate and Brainstorm at the front and Polish before Compound. The full cycle: Ideate (go wide, generate possibilities) → Brainstorm (go deep, understand a known problem) → Plan (set the execution frame) → Work (largely automated) → Review (catch errors) → Polish (apply taste) → Compound (store learnings) → Repeat.
- The Work phase is essentially solved. Klaassen's assessment, based on building Quora with agents: if you provide a good plan, LLMs can execute faithfully for hours or days. The bottleneck has shifted from execution to planning and taste.
- Compound is the most powerful step. Storing mistakes, solutions, and patterns as retrievable knowledge inside the repository means agents do not repeat errors. This is where single-engineer output scales toward team-level throughput.
- Humans frame; AI optimizes. Dan Shipper's addition: humans are good at "frame shifting" — redefining a problem at a different level of the stack. AI optimizes within a given frame. This asymmetry is why humans remain essential at the beginning of any non-trivial project.
- Taste is the final filter. Without a human polish step, AI output converges toward sameness ("slop"). The final review is not just error-checking; it is elevating output from functional to exceptional.
- Time allocation inverts traditional engineering. Plan + Review consume roughly 80% of attention; Work + Compound take 20%. Most engineers do the reverse.
The Process Becomes the Product(2026-06-13)
来源:Every 2026-06-13 — The Moral of Fable
Dan Shipper 将 Compound Engineering 的循环理念扩展到「知识工作即园艺」的隐喻:
- Gardening and Loops:开发者不再直接「种植」产品,而是创造条件让产品生长。收集用户反馈 → 转化为可执行计划 → AI 执行 → 审查 → 合并变更 → 整合经验 → 反馈到下一轮。每个阶段的输出成为下一个阶段的输入。
- 过程即产品(The process becomes the product):当工作被循环化后,产品不是一次设计出来的,而是在持续循环中生长的。Cora 的邮件应用就是一个「反向发条玩具」——每转一圈都获得更多能量和动力,而不是逐渐减速。
- 从编码到所有知识工作:Claude Code 最初是开发者工具,现在同样的方法论被用于幻灯片、电子表格、文档等一切知识工作。循环设计正在从工程扩散到所有知识领域。
- 成本与可达性:Fable 5 的极高成本(2× token 价格 + 自动启动数十个子 Agent)意味着 Level 7-8 的 Compound Engineering 需要资本。这创造了新的不对称:能负担持续运行前沿模型的人与不能负担的人之间产生距离。
这与 Kieran Klaassen 的原始框架形成互补:Kieran 强调循环的「复合」步骤(存储知识防止重复错误),Dan Shipper 强调循环的「生长」特性(产品作为持续过程而非静态产物)。两者共同指向同一个结论:在 AI 时代,「设计循环系统」正在取代「设计产品」成为核心能力。
/goal 长时间运行的最佳实践(2026-05-06)
长时间运行的核心不是「时间长」,而是有清晰目标、验收标准、分阶段文档和中间进度追踪。宝玉的 17 小时逆向工程经验可归纳为迭代式规范构建:
- 制定详细计划并固化:将目标、验收标准和完成定义写成
Agents.md,避免 AI 在模糊目标下空转 - 初始化规范文件:明确 input/output 格式、约束和质量标准,作为契约而非建议
- 试运行观察偏差:让 Agent 跑一小段,对照预期输出找 gap
- 手动写出期望样板:针对偏差,人工写出「理想输出」作为 reference
- 更新计划再运行:把样板吸收进 Agents.md,再次运行
- 反复迭代直到稳定:通常 2-3 轮后,AI 就能按预期执行长时间任务
这与 Compound Engineering 的 Plan 步骤高度同构:规范即 Plan,试运行即 Review,样板沉淀即 Compound。区别仅在于时间尺度——/goal 把同一个循环压缩到数小时内完成多次迭代。
Compound Engineering in Product Management(2026-05-07)
来源:Marcus Moretti — A Guide to Agent-native Product Management
Marcus Moretti(Spiral 总经理)以"two-slice team"(一人全栈)身份实践 agent-native PM,将 Compound Engineering 核心原则映射到产品管理:
- Plan 占 80%,Ship 占 20%:软件开发已从"20% 计划 + 80% 执行"翻转为"80% 计划 + 20% 执行"。Agent 负责执行,PM 负责 framing 和 taste
- Agent 访谈生成策略文档:
/ce-strategy基于 Richard Rumelt《Good Strategy Bad Strategy》,通过结构化访谈生成docs/strategy.md。Agent 会追问模糊答案——"具体是谁的情境?他们今天怎么做的,为什么不行?" - 放弃手写工单:有了 strategy.md 后,用
ce-ideate/ce-brainstorm/ce-plan决定做什么。Agent 负责写工单、移动状态、保持更新。PM "不再读写工单,只跟 Agent 聊它们" - Product Pulse 作为产品记忆:每次运行
/ce:product-pulse保存为~/pulse-reports/下的 Markdown。单个 Pulse 回答"今天发生了什么",文件夹回答"这个月发生了什么" - Compounding 策略:每隔几个月重跑策略访谈,Agent 会基于数周的规划、发布、数据上下文提出更尖锐的问题
这验证了 Compound Engineering 的通用性:不局限于代码,任何需要"计划 → 执行 → 回顾 → 沉淀"的知识工作都适用。
Evidence across sources
| Source | Key Claim | Relevance |
|---|---|---|
| Every — The Folder Is the Agent | Plan → Work → Review → Compound loop; 80% time on Plan + Review | Original framework definition |
| AI & I Podcast — The AI Sandwich | Work phase is solved; AI Sandwich metaphor; frame shifting; music analogy | Framework evolution and human-AI boundary |
| AI Builders Digest 2026-04-23 | Peter Yang "Craft > Slop" echoes the polish step; Ryo Lu "overcooking" shows what happens without taste filters | External validation of the polish step's importance |
| Marcus Moretti — Agent-native PM | Agent interviews generate strategy.md; Product Pulse as product memory; 80/20 plan/ship split | CE framework applied to product management, not just engineering |
| Every 2026-06-13 — The Moral of Fable | Dan Shipper 的「gardening and loops」隐喻:过程即产品,产品作为持续生长的循环而非静态产物;从编码到所有知识工作的扩散;Fable 5 成本不对称 | 将 Compound Engineering 从「代码复合」扩展到「知识工作复合」的通用哲学 |
Open questions
- Does the framework apply equally to non-engineering knowledge work (design, strategy, writing), or does software's testable nature make it a special case?
- As LLMs improve at planning and even ideation, will the human role compress to only the final polish step?
- How does Compound Engineering scale when multiple human contributors are involved, each with different taste standards?
Prompts for witness
- Where in your current workflow are you still doing execution that an agent could handle? What would it take to move your attention to framing and polish?
- If you had to store one recurring mistake or insight as "compound knowledge" today, what would it be and where would you put it?
- What is the "taste" standard in your work that AI output currently fails to meet? How do you communicate that standard?
Related
- harness-engineering/folder-is-the-agent — Folder-as-agent implementation pattern used with Compound Engineering
- harness-engineering/your-harness-your-memory — Harness as passive memory vs Compound as active accumulation
- product-trends/software-soul-ai-slop — The "slop" problem that the polish step addresses
- product-trends/aaron-levie-agent-deployer-role — The organizational role that manages agent workflows