智能体时代的软件工程
Software Engineering in the Agentic Era

原始链接: https://simonwillison.net/2026/Feb/23/agentic-engineering-patterns/

2026年2月23日,作者启动了名为“智能体工程模式”(Agentic Engineering Patterns)的新项目,旨在为使用人工智能编程智能体(如 Claude Code)的专业软件工程师记录最佳实践。与依赖表面结果的“感觉编程”(vibe coding)不同,智能体工程侧重于利用自主的、可自测的智能体来放大专业技能。 该项目结构为一部不断演进的“书式”指南,由相互关联的章节组成,灵感源于经典的设计模式文献。这些章节旨在定期更新,作为帮助开发者掌握这一新工作流的常青资源。作者已发布了关于代码生成成本变化以及测试驱动开发(TDD)在智能体中应用的相关初步内容。 出于对个人真实性的坚持,作者严格执行由本人撰写内容的准则,即便在校对等辅助性任务中使用人工智能。该项目托管在作者的博客上,基于自定义的 Django 实现——值得一提的是,该博客也是在人工智能编程智能体的辅助下构建的。随着智能体工程学科的日益成熟,预计每周都会有新的章节加入。

这篇 Hacker News 讨论聚焦于 Simon Willison 关于“代理时代下的软件工程”(Software Engineering in the Agentic Era)的观点。 评论者们探讨了编程本质的演变,特别是从手动编码向人工智能辅助生成的转变。主要建议包括:更新术语以反映这种区别,以及开发“代理工程模式”(Agentic Engineering Patterns)——即专门为人工智能代理而非仅供人类遵循的显式文档或框架。 讨论中相当大一部分内容涉及人工智能驱动工作流下的代码维护机制。一位用户建议将所有更新视为“绿地”项目(从零开始),以避免处理遗留代码的困难,但也有人指出,随着项目复杂性的增加,这种方法并不切实际。 除了技术讨论外,该讨论串还包含了关于 Hacker News 平台本身的元评论。用户们辩论了像 Willison 这样高积分贡献者的影响力,并讨论了该平台的投票机制。对话最后,用户们对 Willison 的特定开源项目提出了反馈,并提到了今年早些时候关于代理模式的更广泛讨论。
相关文章

原文

23rd February 2026

I’ve started a new project to collect and document Agentic Engineering Patterns—coding practices and patterns to help get the best results out of this new era of coding agent development we find ourselves entering.

I’m using Agentic Engineering to refer to building software using coding agents—tools like Claude Code and OpenAI Codex, where the defining feature is that they can both generate and execute code—allowing them to test that code and iterate on it independently of turn-by-turn guidance from their human supervisor.

I think of vibe coding using its original definition of coding where you pay no attention to the code at all, which today is often associated with non-programmers using LLMs to write code.

Agentic Engineering represents the other end of the scale: professional software engineers using coding agents to improve and accelerate their work by amplifying their existing expertise.

There is so much to learn and explore about this new discipline! I’ve already published a lot under my ai-assisted-programming tag (345 posts and counting) but that’s been relatively unstructured. My new goal is to produce something that helps answer the question “how do I get good results out of this stuff” all in one place.

I’ll be developing and growing this project here on my blog as a series of chapter-shaped patterns, loosely inspired by the format popularized by Design Patterns: Elements of Reusable Object-Oriented Software back in 1994.

I published the first two chapters today:

  • Writing code is cheap now talks about the central challenge of agentic engineering: the cost to churn out initial working code has dropped to almost nothing, how does that impact our existing intuitions about how we work, both individually and as a team?
  • Red/green TDD describes how test-first development helps agents write more succinct and reliable code with minimal extra prompting.

I hope to add more chapters at a rate of 1-2 a week. I don’t really know when I’ll stop, there’s a lot to cover!

Written by me, not by an LLM

I have a strong personal policy of not publishing AI-generated writing under my own name. That policy will hold true for Agentic Engineering Patterns as well. I’ll be using LLMs for proofreading and fleshing out example code and all manner of other side-tasks, but the words you read here will be my own.

Chapters and Guides

Agentic Engineering Patterns isn’t exactly a book, but it’s kind of book-shaped. I’ll be publishing it on my site using a new shape of content I’m calling a guide. A guide is a collection of chapters, where each chapter is effectively a blog post with a less prominent date that’s designed to be updated over time, not frozen at the point of first publication.

Guides and chapters are my answer to the challenge of publishing “evergreen” content on a blog. I’ve been trying to find a way to do this for a while now. This feels like a format that might stick.

If you’re interested in the implementation you can find the code in the Guide, Chapter and ChapterChange models and the associated Django views, almost all of which was written by Claude Opus 4.6 running in Claude Code for web accessed via my iPhone.

联系我们 contact @ memedata.com