Agentic-Design-Patterns
https://assets.jimmysong.io/books/agentic-design-patterns-zh-20251011.pdf
https://github.com/fanqingsong/Agentic-Design-Patterns
Agentic Design Patterns - A Hands-On Guide to Building Intelligent Systems
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 💝
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
- 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
- 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
- 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
- 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
- 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