Designing Multi-Agent Systems
Principles, Patterns and Implementation for AI Agents
What You Will Learn
Need to convince your manager?

Read by 1000s of engineers and researchers at
Available in Print From
Learn Multi-Agent Systems from First Principles
Rather than teaching yet another framework that may become obsolete, this book takes a first-principles approach. You'll incrementally build PicoAgents-a feature-complete library covering agents, tools, memory, workflows, and multi-agent orchestration.
Real code from the book. You'll understand every design decision-no black boxes-and learn skills that transfer to any framework: AutoGen, CrewAI, LangGraph, or whatever comes next.
Short on time? See a personalized reading path for your role:
What AI experts are saying about the book
Shanoj Kumar V
VP - Senior Technology Architecture Manager at Citi
Instead of focusing on how to use a specific framework, it walks you through building a minimal but feature-complete multi-agent system from the ground up. These are not surface-level topics. They're the design decisions that determine whether a system remains maintainable as complexity grows.
Christian Coello
Global Partner Cloud Solution Architect at Microsoft
This book does an excellent job bridging theory and practice. It covers everything from deterministic agent workflows and autonomous orchestration to real-world production considerations such as evaluation, safety, security, and ethics. What I appreciated most is that it doesn't treat agents as demos or experiments but rather treats them as systems you actually have to operate, test, and trust in production.
Nitya Narasimhan, PhD
Senior Cloud Advocate, AI at Microsoft
As someone who has been in industry for 30 years, I recognize the traits of a good educator - someone who brings their own research & engineering experience to deliver content that covers concepts but also drives applied learning with use cases, code samples and most importantly - a constant finger on the pulse of where that industry is headed.
Hannes Hapke
Head of the Open Source Office at Dataiku
In the incredibly noisy landscape of AI agents, Victor's voice stands out as a true signal. "Designing Multi-Agent Systems" is an amazing compilation of trends and aspects related to all things agents. With this publication, Victor is providing substantial value to an otherwise hype-driven industry.
Maria Naggaga
Sr. Principal Product Manager Core AI at Microsoft
Just finished reading Victor's 'Designing Multi-Agent Systems' and it is must read. His book serves the perfect tour of how agents collaborate, negotiate, and learn. If you're building agentic platforms or thinking about AI ecosystems please pick it up.
Caitie McCaffrey
Partner Software Engineer & Architect - CoreAI; Technical Lead of Model Context Protocol (MCP) at Microsoft
Victor has an amazing ability to take complex and quickly evolving topics like AI & Agents and distill down to understandable core concepts that are actionable and easy to understand. This coupled with his work building Agent Platforms from MSR's AutoGen to AgentFramework make him one of my go to experts when thinking through the concepts, protocols, platforms and tools we need to build in CoreAI.
Valliappa Lakshmanan
Co-founder & CTO, Obin AI; Author of Generative AI Design Patterns (O'Reilly); Former Director, Google Cloud at Obin AI
As a researcher at Microsoft who is close to the leading edge of Agentic capabilities, works with Microsoft customers on real world applications, and with the Autogen team on building the agent framework, Victor has a unique vantage point. He uses it to provide an exceptionally clear conceptual explanation of what agents can do, how to elicit complex behavior in real world applications by using multiple agents, and how to leverage multi agent...
Ryan Sweet
Technical Director, Applied Science, Autonomous AI at Microsoft
Practical, easy-to-use guidance and explanations from one of the foremost experts in the industry. Holding this book you have a true pioneer guiding you along the best path.
Dr. David Adamo Jr.
Senior Software Engineer at Square Inc.
I have known Victor and his work for many years. With Designing Multi-Agent Systems, I was struck by how comprehensively it captures the state of the art. From foundational principles to hands-on orchestration patterns and rigorous evaluation methods, this book bridges theory and practice in a way few resources do. This is essential reading for engineers who want to truly understand how to design robust multi-agent systems.
What readers are saying
Hatem Hatamleh
Software Engineer in Test | Agentic AI | Founder of QAcart
I just want to thank you for the great book! I enjoyed every page so far!
Rodolfo Lerma
Senior Data Scientist at Microsoft
Really appreciate the work that went into making these ideas practical and accessible.
Ingrid Allen
Senior Product Manager at Microsoft
The flow was excellent. The content was rich. The examples were engaging. I had such a great time on my journey through this book. I encourage everyone interested in AI agents to pick up a copy.
David Hernandez Diez
AI Consultant
Really good to understand what happens under the hood, in order to make informed decisions on what frameworks, patterns and designs to use.
Nitya Narasimhan, PhD
Senior Cloud Advocate, AI at Microsoft
When I head off on vacation next week, I plan to fork the samples repo and explore them to build my own intuition of the space. I hope you do too.
David Butler
Reader
Been reading this, and it is helping to really make sense of multi agent system design. Incredible work!
Daniel G Halwell
Reader
This is the first book I've read on AI agents that really nails the architecture side of multi-agent systems. It explains clearly when you actually need multiple agents, and just as importantly, when a single agent or plain old code is the better choice. The discussion of workflows as computational graphs, round-robin style coordination, and other orchestration patterns is very practical and grounded in real trade-offs. I especially liked how it...
Ousmane Barry
Architecte Solution Azure & AI | MVP Azure AI Foundry
I've just finished the first four chapters, and this book truly delivers on its promises. It starts strong with the fundamentals and key design patterns for multi-agent collaboration. From there, it moves into a clear, structured, and highly educational deep dive into building a full multi-agent framework, covering all the essential concepts. Victor Dibia, PhD: If I had to complain… it would be about the choice of Python instead of C# 😅....
Joarder Kamal, PhD
Senior Technology Architect, Digital Natives Asia at Microsoft
I bought the digital book last week and haven't finished all the chapters yet but I can already tell the level of depth you get here is unmatched with anything else out there. Really amazing job!
About the Author
Designing Multi-Agent Systems is written by a leader in the emerging field of multi-agent systems and generative AI applications.

Victor Dibia
Principal Research Software Engineer, Microsoft Research
Victor Dibia (PhD) is a Principal Research Software Engineer at Microsoft Research, where he has contributed to projects like GitHub Copilot that serves millions of customers. He is the creator of AutoGen Studio, a low-code tool for prototyping multi-agent applications, a core contributor to AutoGen, a multi-agent framework for AI applications, and LIDA, a widely used tool for automated visualizations using generative AI models. Victor holds a PhD in Information Systems from City University of Hong Kong, an MSc in Computer Science from Carnegie Mellon University and was previously at Cloudera and IBM Research.
Frequently Asked Questions
Can't find the answer you're looking for? Reach out on the GitHub repository
- If I buy the digital book, will I get future updates?
- Yes! When you purchase the digital edition here on buy.multiagentbook.com, you get lifetime access to all updates. Sign in with your purchase email to download the latest versions as they become available. The digital edition includes instant access to PDF and EPUB formats. Print editions are now available on Amazon: paperback and hardcover!
- Is there free content available about multi-agent systems?
- Yes! I've written extensively about multi-agent systems in my newsletter, including posts on Multi-agent UX design principles, multi-agent system overviews, and framework comparisons etc. The key difference is that this book organizes these (and more) concepts into a comprehensive, structured learning journey with hands-on implementation, end-to-end samples, and ongoing updates as the field evolves.
- Is the book limited to a specific framework?
- No. This book takes a fundamentals-first approach that teaches universal principles and patterns for multi-agent systems. Across the book chapters, we will literally build a multi-agent library from scratch called picoagents, so you understand every component and design decision. The principles apply to any multi-agent framework or custom implementation.
- Can I use multiple models with the agents described in the book?
- Absolutely! The book teaches framework-agnostic principles that work with any AI model provider - OpenAI, Microsoft Azure OpenAI, Google Gemini, Anthropic Claude, Cohere, Groq, Mistral, and others. Since we build agents from scratch, you'll understand exactly how to integrate with different model APIs and choose the right models for your use case.
- Is there a GitHub repository for the book?
- Yes! The GitHub repository for the book is available at victordibia/designing-multiagent-systems. It contains all the code examples, including the complete picoagents library we build throughout the book. Take a look, open issues, and share your thoughts!
- What will the book cover?
- The book is organized into four comprehensive parts: Foundations (understanding multi-agent systems), Building (implementing from scratch), Evaluating & Optimizing (testing and improving systems), and Real-World Applications (complete case studies). You can view the detailed chapter outline here.
- Who is the book for?
This book is designed for technical professionals who want to understand and build multi-agent systems:
- System architects designing AI-powered applications with multiple intelligent components
- Software engineers building AI systems and agent-based architectures
- Technical leaders making architectural decisions about multi-agent implementations
- AI engineers transitioning from single-model applications to multi-agent orchestration
- Product managers needing to understand multi-agent system design trade-offs and capabilities
Note: This book balances theory (40%) with hands-on systems engineering (60%). It's practical and implementation-focused, not an academic text.- Can I upgrade from Essential to Professional or Enterprise and only pay the difference?
- Yes! If you purchased the Essential edition, you can upgrade to Professional (or Enterprise) and only pay the price difference. Your original purchase is credited toward the upgrade. Simply sign in to your dashboard at buy.multiagentbook.com, and you'll see an upgrade option if one is available for your tier.
- I found some errors or have feedback, how can I report them?
- Yes, thank you! Please report any errors or provide feedback via the GitHub repository issues.
Acknowledgement
This project has benefited from the support and contributions of many individuals, especially the members of the AutoGen Open Source Community.