資料來源#
摘要#
在 Google 負責 Chrome 與開發者體驗的工程領導者,也是長期投入寫作與教育的作者(主題涵蓋網頁效能、JavaScript 設計模式、影像最佳化)。截至 2026 年,他持續發表廣受閱讀的 AI 輔助軟體工程系列文章,業界視之為綜整層:將實驗室與實務工作者展示的做法整理並命名,剖析其結構。他的〈Loop Engineering〉文章(2026 年 6 月)為迴圈工程命名,並提出由五項基本要素加上記憶構成的架構。
2026 年 AI 程式設計文章系列#
Osmani 的部落格為 AI 原生工程建立了一套彼此連結的詞彙。〈Loop Engineering〉中提到的文章(多數尚未收入此 wiki):
- 代理程式 harness 工程——單一代理程式所處的執行環境。此 wiki 的主條目是代理程式 harness 工程。
- 工廠模型——建置軟體的系統。
- 迴圈工程——「設定計時器運作的」harness,層級再高一層 → 迴圈工程。
- 長時間運作的代理程式——為何記憶必須存在磁碟上,而非上下文中。
- 意圖債務——代理程式每次開始工作階段時都一無所知,便會自信地猜測你意圖中的任何空缺;技能則是寫在外部、明確記錄下來的意圖(參見代理程式技術債務)。
- 理解債務——已存在的程式碼與你理解的內容之間的落差;迴圈持續交付你未曾撰寫的程式碼時,這個落差會不斷累積(參見外包思考,而非理解)。
- 認知屈從——全盤接受迴圈的結果,而不形成自己的判斷(參見鋸齒狀智慧(幽靈,而非動物))。
- 編排成本——限制你實際能執行多少代理程式的人類審查頻寬。
- 程式碼代理程式樂團/對抗式程式碼審查——創作者與檢查者的分工;本文以驗證成為新的瓶頸將其正式化。
- AI 時代的程式碼審查——「你的工作是交付你確認可正常運作的程式碼。」
立場#
Osmani 對迴圈工程抱持審慎樂觀態度:他稱之為「我們工作方式將如何演進的預覽」,同時坦言仍持懷疑(「現在還很早」),並堅持提醒成本,也強調人類仍須承擔的責任。他在系列文章中的核心觀點是,AI 改變了槓桿所在之處——從輸入程式碼,到撰寫提示,再到設計能撰寫提示的系統——但工程師對驗證與理解所負的責任並未消失。「打造這個迴圈,但要像打算一直當工程師的人那樣打造。」
相關連結#
- 迴圈工程——為這門學科命名,並提出由五項基本要素構成的架構
- 代理程式 harness 工程——他的「代理程式 harness 工程」文章;迴圈工程的層級比它高一層
- 驗證成為新的瓶頸——他的程式碼審查、對抗式審查與樂團文章,歸根結柢都指向此處
- 外包思考,而非理解——理解債務與認知屈從,都是理解瓶頸的不同面向
- 代理程式技術債務——意圖債務是同一種會不斷累積偏移的失敗模式
- Boris Cherny/Peter Steinberger——兩位實務工作者提出「設計迴圈,而非撰寫提示」的觀點,構成這篇文章的基礎
資料來源#
- Loop Engineering——〈Loop Engineering〉(addyosmani.com,2026 年 6 月)
Cited by 14
- Outsource Your Thinking, Not Your Understanding×2
Loop Engineering — comprehension debt and cognitive surrender are this thesis stressed by loop…
- Peter Steinberger×2
Austrian developer best known as the founder of PSPDFKit (a widely-licensed PDF SDK) which he built…
- Agent Context Files
Loop Engineering — skills (SKILL.md) are one of its five primitives — intent "written down on the…
- Agent Harness Engineering
Loop Engineering — Osmani: loop engineering "sits one floor above the harness" — the harness on a…
- Agent Loop Pattern
Loop Engineering — the system-design discipline one floor above this primitive (Osmani /…
- Agentic Technical Debt
Loop Engineering — Osmani's intent debt is the same compounding-drift mechanism viewed from the…
- AI Brain Fry
Loop Engineering — Osmani's "your review bandwidth decides how many [loops] you can actually run,…
- Claude Code
Loop Engineering — Claude Code ships all five loop primitives (Osmani's anatomy): /loop + /goal +…
- Harness Shrinkage as Models Improve
Loop Engineering — the deployment-side evidence: Osmani's "a year ago a loop was a private pile of…
- Human-AI Accountability Redesign
Loop Engineering — designing self-prompting loops multiplies output per human further; the…
- Loop Engineering
Loop engineering is replacing yourself as the person who prompts the agent — you design the system…
- Entities — People, Orgs, Tools & Projects
Addy Osmani — Engineering leader at Google (Chrome) and prolific author/educator; in 2026 writes a…
- The Three Loops of AI-Native Building
Loop Engineering — the discipline Ng is placing: Osmani's five primitives all live inside the…
- Verification as the New Bottleneck
Loop Engineering — the maker/checker sub-agent split is one of its five primitives, and /goal's…
Related articles
- Loop Engineering
Replacing yourself as the agent's prompter by designing the system that prompts it: a recursive-goal loop built from fi…
- Harness Shrinkage as Models Improve
Prompt scaffolding shrinks each model release; Cat Wu's pruning discipline; Boris Cherny "100 lines of code a year from…
- Vibe Coding vs. Agentic Engineering
Vibe coding raises the floor (anyone builds); agentic engineering preserves the quality bar while going faster; ">10x a…
- Claude Code
Anthropic's agentic coding product; created by Boris Cherny late 2024; TypeScript/React on Bun (itself Claude-rewritten…
- Agent Loop Pattern
`/loop` (cron-scheduled) and Ralph Wiggum (backlog-draining) loops as next-generation agent primitive; AFK execution, p…
