@XAMTO_AI: 谷歌大佬Antonio Gulli把智能体写成了书,21章+7个附录,开源放GitHub。 提示词链、路由、反思打底,多智能体、记忆管理、RAG、护栏安全全覆盖,每章配能跑的Jupyter代码,不玩虚的。 最服的是版税全捐Save the…
摘要
谷歌专家Antonio Gulli发布了关于智能体设计的书籍,开源在GitHub上,包含21章和7个附录,提供可运行的Jupyter代码,版税捐赠给Save the Children。
查看缓存全文
缓存时间: 2026/08/19 22:50
谷歌大佬Antonio Gulli把智能体写成了书,21章+7个附录,开源放GitHub。
提示词链、路由、反思打底,多智能体、记忆管理、RAG、护栏安全全覆盖,每章配能跑的Jupyter代码,不玩虚的。
最服的是版税全捐Save the Children。
想入门Agent不知道从哪开始的,别光收藏,clone下来一章一章跑。
https://github.com/evoiz/Agentic-Design-Patterns…
evoiz/Agentic-Design-Patterns
Source: https://github.com/evoiz/Agentic-Design-Patterns
📚 Agentic Design Patterns - A Hands-On Guide to Building Intelligent Systems
📖 About This Repository
This repository contains the complete materials for “Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems” by Antonio Gulli. It includes all chapters in PDF format and accompanying code notebooks for hands-on learning.
Note: All author royalties are donated to Save the Children 💝
🎯 What You’ll Learn
This comprehensive guide covers 21 chapters and 7 appendices on building intelligent AI agent systems, including:
- Foundational Patterns: Prompt chaining, routing, parallelization
- Advanced Techniques: Reflection, tool use, planning, multi-agent systems
- Memory & Learning: Memory management, adaptation, goal setting
- Production Patterns: Exception handling, human-in-the-loop, RAG
- Optimization: Resource-aware patterns, reasoning techniques, guardrails
- Real-world Applications: From GUI to real-world environments
📁 Repository Structure
.
├── 📄 README.md # This file
├── 📚 book/
│ └── Agentic_Design_Patterns_Complete.pdf # Complete book (424 pages)
├── 💻 chapter_notebooks/ # Chapter
│ ├── Chapter_01_Prompt_Chaining.ipynb
│ ├── Chapter_02_Routing.ipynb
│ ├── Chapter_03_Parallelization.ipynb
│ ├── ...
│ └── Appendix_G_Coding_Agents.ipynb
📚 Table of Contents
Introduction & Foundations
- Dedication
- Acknowledgment
- Foreword
- A Thought Leader’s Perspective: Power and Responsibility
- Introduction
- What makes an AI system an “agent”?
Part One: Core Patterns (103 pages)
- Chapter 1: Prompt Chaining - Sequential task decomposition
- Chapter 2: Routing - Dynamic path selection
- Chapter 3: Parallelization - Concurrent processing
- Chapter 4: Reflection - Self-improvement mechanisms
- Chapter 5: Tool Use - External capability integration
- Chapter 6: Planning - Strategic task management
- Chapter 7: Multi-Agent - Collaborative systems
Part Two: Advanced Patterns (61 pages)
- Chapter 8: Memory Management - State persistence
- Chapter 9: Learning and Adaptation - Dynamic improvement
- Chapter 10: Model Context Protocol (MCP) - Standardized interfaces
- Chapter 11: Goal Setting and Monitoring - Objective tracking
Part Three: Production Patterns (34 pages)
- Chapter 12: Exception Handling and Recovery - Robust error management
- Chapter 13: Human-in-the-Loop - Human-AI collaboration
- Chapter 14: Knowledge Retrieval (RAG) - Information access patterns
Part Four: Enterprise Patterns (114 pages)
- Chapter 15: Inter-Agent Communication (A2A) - Agent networking
- Chapter 16: Resource-Aware Optimization - Efficient resource usage
- Chapter 17: Reasoning Techniques - Advanced decision-making
- Chapter 18: Guardrails/Safety Patterns - Risk mitigation
- Chapter 19: Evaluation and Monitoring - Performance tracking
- Chapter 20: Prioritization - Task management
- Chapter 21: Exploration and Discovery - Autonomous learning
Appendices (74 pages)
- Appendix A: Advanced Prompting Techniques
- Appendix B: AI Agentic: From GUI to Real world environment
- Appendix C: Quick overview of Agentic Frameworks
- Appendix D: Building an Agent with AgentSpace
- Appendix E: AI Agents on the CLI
- Appendix F: Under the Hood: Reasoning Engines
- Appendix G: Coding agents
Conclusion & References
- Conclusion
- Glossary
- Index of Terms
🚀 Getting Started
Prerequisites
# Python 3.8 or higher required
python --version
# Install Jupyter for notebooks
pip install jupyter notebook
# Install common dependencies
pip install -r requirements.txt
Installation
- Clone the repository
git clone https://github.com/evoiz/Agentic-Design-Patterns.git
cd Agentic-Design-Patterns
- Set up virtual environment (recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies
pip install jupyter notebook
pip install pandas numpy matplotlib openai langchain
- Launch Jupyter Notebook
jupyter notebook
💻 Running the Code
Each chapter includes a Jupyter notebook with practical examples:
- Navigate to the
chapter_notebooks/directory - Open the desired chapter notebook
- Follow the instructions within each notebook
- Run cells sequentially for best learning experience
Example: Running Chapter 1
# Navigate to notebooks directory
cd chapter_notebooks
# Launch specific notebook
jupyter notebook Chapter_01_Prompt_Chaining.ipynb
📖 How to Use This Repository
For Self-Study
- Read each chapter in the PDF
- Open the corresponding notebook
- Run the code examples
- Experiment with modifications
- Complete the exercises
For Teaching
- Use chapters as lecture materials
- Assign notebooks as lab exercises
- Create custom examples based on patterns
- Build projects using multiple patterns
For Research
- Reference implementation patterns
- Benchmark different approaches
- Extend patterns for new use cases
- Contribute improvements back
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines.
Ways to Contribute
- 🐛 Report bugs and issues
- 💡 Suggest new features or patterns
- 📝 Improve documentation
- 🔧 Submit code improvements
- 🌍 Translate materials
Contribution Process
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📚 Additional Resources
Official Links
Related Frameworks
Learning Path
- Beginners: Start with Chapters 1-7 (Core Patterns)
- Intermediate: Progress through Chapters 8-14 (Advanced & Production)
- Advanced: Master Chapters 15-21 (Enterprise Patterns)
- Experts: Explore Appendices for cutting-edge techniques
⚖️ License
This repository is for educational purposes. Please respect the author’s copyright and intellectual property rights.
- Book Content: © Antonio Gulli - All rights reserved
- Code Examples: MIT License (see LICENSE file)
- Educational Use: Permitted with attribution
🙏 Acknowledgments
- Antonio Gulli - Author and AI thought leader
- Save the Children - Beneficiary of all book royalties
- Contributors - Everyone who helps improve these materials
- Community - Learners and practitioners advancing AI agents
📞 Contact & Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Author: LinkedIn
🌟 Star History
If you find this repository useful, please consider giving it a star ⭐
📊 Repository Stats
Building the future of AI, one pattern at a time 🚀
Made with ❤️ for the AI community
相似文章
@GoJun315: 一位资深的谷歌工程师悄悄发布一份 421 页的文档,在国内没看到什么人分享。 它叫《Agentic Design Patterns》,完全免费,比花几百块购买的 AI 课程可能都要好。 这是一份颇为全面系统性的 AI 构建指南,而且全程带…
一位资深谷歌工程师免费发布了421页的AI构建指南《Agentic Design Patterns》,内含代码,可直接用于生产环境。
@wsl8297: 分享一本通俗好读的开源书《大模型基础》。 从大语言模型入门到架构演化,再到 Prompt 工程、参数高效微调、模型编辑、检索增强生成(RAG)等关键技术,一本串起来。 GitHub:https://github.com/ZJU-LLMs/…
浙江大学团队开源了一本通俗易懂的大模型教材《大模型基础》,涵盖从架构演化到RAG等关键技术,并附带Agent-Kernel多智能体框架。
@Russell3402: https://x.com/Russell3402/status/2056331558223786416
本文深入探讨多智能体系统的分工设计,包括触发方式、拓扑结构和调用链,分析Codex、Claude Code、OpenClaw、Hermes Agent等系统的工程实践。
@XAMTO_AI: 别再收藏那些看着热闹、用不上的 AI 教程了。 这本 《动手学大模型》 才是真正需要的——开源、免费、代码能跑。 全书 12 章,手把手带你走完大模型落地的完整流程: ① 语言模型基础 ② 提示词工程 ③ 语义搜索 ④ 模型微调 ⑤ 多模…
推荐一本开源免费的《动手学大模型》教程,涵盖语言模型基础、提示词工程、语义搜索、模型微调、多模态应用等12章,所有代码可直接在Colab中运行。
@axichuhai: 在GitHub上看到一个专门教怎么用 Claude Code 的项目,已经涨到了 4w star 它不是官方操作文档,而是一条从入门到高级智能体的完整学习路径 斜杠命令、MCP配置、钩子脚本、子智能体编排,每个模块都有可视化图解,教你"怎…
介绍一个GitHub上标星4万的Claude Code学习项目,提供从入门到高级智能体的完整学习路径、可视化图解和可复用的模板。