跳转至

Foreword

The field of artificial intelligence is at a fascinating inflection point. We are moving beyond building models that can simply process information to creating intelligent systems that can reason, plan, and act to achieve complex goals with ambiguous tasks. These "agentic" systems, as this book so aptly describes them, represent the next frontier in AI, and their development is a challenge that excites and inspires us at Google.

人工智能领域正处在一个引人入胜的拐点:我们正从仅能处理信息的模型,迈向能够推理、规划并采取行动、在任务模糊时仍能达成复杂目标的智能系统。 正如本书精准指出的那样,这些“智能体化”系统代表着 AI 的下一个前沿;而推动这一前沿的发展,也正是一项令 Google 团队倍感振奋与鼓舞的挑战。

"Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems" arrives at the perfect moment to guide us on this journey. The book rightly points out that the power of large language models, the cognitive engines of these agents, must be harnessed with structure and thoughtful design. Just as design patterns revolutionized software engineering by providing a common language and reusable solutions to common problems, the agentic patterns in this book will be foundational for building robust, scalable, and reliable intelligent systems.

《Agentic Design Patterns:构建智能系统的实践指南》恰逢其时,为我们指引这一旅程。 本书正确地指出:大语言模型是这些智能体的认知引擎,其能力必须以结构与深思熟虑的设计加以驾驭。 正如设计模式曾以共同语言与可复用方案革新软件工程,本书中的智能体化模式也将成为构建稳健、可扩展且可信赖的智能系统的基础。

The metaphor of a "canvas" for building agentic systems is one that resonates deeply with our work on Google's Vertex AI platform. We strive to provide developers with the most powerful and flexible canvas on which to build the next generation of AI applications. This book provides the practical, hands-on guidance that will empower developers to use that canvas to its full potential. By exploring patterns from prompt chaining and tool use to agent-to-agent collaboration, self-correction, safety and guardrails, this book offers a comprehensive toolkit for any developer looking to build sophisticated AI agents.

将构建智能体化系统比作「画布」的隐喻,与我们在 Google Vertex AI 平台上的工作高度契合。 我们致力于为开发者提供最强大、最灵活的“画布”,以构建下一代 AI 应用。 本书提供扎实而贴近实践的指引,帮助开发者充分释放这一“画布”的潜力; 从提示链、工具使用到智能体间协作、自校正、安全与护栏,本书为希望构建复杂 智能体的开发者提供了全面的工具箱。

The future of AI will be defined by the creativity and ingenuity of developers who can build these intelligent systems. "Agentic Design Patterns" is an indispensable resource that will help to unlock that creativity. It provides the essential knowledge and practical examples to not only understand the "what" and "why" of agentic systems, but also the "how."

AI 的未来将由能够构建这些智能系统的开发者的创造力与巧思所塑造。 《Agentic Design Patterns》是释放这种创造力不可或缺的重要资源; 它提供必要的知识与实例,不仅帮助理解智能体化系统的「是什么」与「为什么」,还有「如何做」。

I am thrilled to see this book in the hands of the developer community. The patterns and principles within these pages will undoubtedly accelerate the development of innovative and impactful AI applications that will shape our world for years to come.

我很高兴看到这本书走进开发者社区。 书中的模式与原则无疑将加速创新且影响深远的 AI 应用的发展,并在未来多年持续塑造我们的世界。

Saurabh Tiwary VP & General Manager, CloudAI @ Google

Saurabh Tiwary Google Cloud AI 副总裁兼总经理