Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Design Multi-Agent AI Systems Using MCP and A2A: Engineer your own Python-based agentic AI framework with tool use, memory, and multi-agent workflows
Purchase options and add-ons
Build a production-ready multi-agent AI framework from scratch using MCP and A2A to orchestrate powerful agent workflows
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
Key Features
- Build Python-based AI agents without relying on third-party orchestration frameworks
- Design production-ready multi-agent systems using A2A messaging
- Integrate memory and context with MCP to create adaptive and stateful agentic AI frameworks
Book Description
Frustrated by opaque agent frameworks that hide how things work? This book gives you complete control by guiding you through building a fully functional, extensible agentic AI framework in Python without relying on external orchestration tools.
You’ll begin by implementing a simple tool-using agent, and then gradually extend its capabilities with structured tool schemas, user interfaces, and memory via the Model Context Protocol (MCP). From there, you’ll build collaborative multi-agent systems powered by Agent-to-Agent (A2A) messaging and deploy them in realistic environments. Along the way, you’ll explore secure tool invocation, message routing, observability, and human-in-the-loop workflows.
With annotated code, deep engineering insights, and practical deployment patterns, this hands-on guide equips you to build AI agents that reason, plan, act, and adapt, whether you’re shipping production systems or experimenting with cutting-edge LLM-based architectures.
Written by Gigi Sayfan, who builds AI agent infrastructure at Perplexity and is a bestselling author with decades of experience in AI and distributed systems, this book gives you the tools and knowledge to engineer your own advanced agentic systems.
*Email sign-up and proof of purchase required
What you will learn
- Design and implement tool-using AI agents from the ground up
- Build modular components for extensible agent frameworks
- Create secure and observable tools with structured inputs
- Integrate agents with chat UIs such as Slack and Chainlit
- Leverage MCP for context handling and agent memory
- Orchestrate collaborative agent workflows using A2A
- Debug and deploy agents in production-like environments
- Explore future-ready agent capabilities and GenUX design
Who this book is for
This book is essential for AI engineers, ML practitioners, and software architects building agentic systems with large language models. It’s also ideal for DevOps engineers and technical leaders seeking deep insights into building and scaling autonomous AI workflows. Python coding skills and basic familiarity with LLMs are recommended.
Table of Contents
- Introduction to Generative AI and AI agents
- Understanding How AI Agents Work
- A Hands on Walk-Through of a Simple AI Agent
- Building a Tool-Based Agentic AI Framework
- Implementing Custom Tools
- Creating Chat Interfaces Using Slack and Chainlit
- Integrating with the Model Context Protocol Ecosystem
- Designing Multi-Agent Systems
- Implementing Multi-Agent Systems with A2A
- Testing, Debugging, and Troubleshooting Multi-Agent Systems
- Deploying Multi- Agent Systems
- Advanced Topics and Future Directions
- ISBN-101806116472
- ISBN-13978-1806116478
- PublisherPackt Publishing
- Publication dateFebruary 27, 2026
- LanguageEnglish
- Dimensions7.5 x 1.21 x 9.25 inches
- Print length536 pages
Frequently bought together

Customers who viewed this item also viewed
- 30 Agents Every AI Engineer Must Build: Build production-ready agent systems using proven architectures and patternsPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Agentic Architectural Patterns for Building Multi-Agent Systems: Proven design patterns and practices for GenAI, agents, RAG, LLMOps, and enterprise-scale AI systemsPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Sep 19
- Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude CodePaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- The Agentic AI Bible: The Complete and Up-to-Date Guide to Design, Develop, and Scale Goal-Driven, LLM-Powered Agents that Think, Execute and EvolvePaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Sep 21
- Designing Multi-Agent Systems: Principles, Patterns, and Implementation for AI AgentsPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- AI Engineering: Building Applications with Foundation ModelsPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Sep 19
Customers also bought or read
- Agentic Architectural Patterns for Building Multi-Agent Systems: Proven design patterns and practices for GenAI, agents, RAG, LLMOps, and enterprise-scale AI systems
Paperback$44.99$44.99FREE delivery Sat, Sep 19 - 30 Agents Every AI Engineer Must Build: Build production-ready agent systems using proven architectures and patterns
Paperback$41.79$41.79FREE delivery Mon, Sep 21 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
Paperback$36.33$36.33FREE delivery Mon, Sep 21 - Designing Multi-Agent Systems: Principles, Patterns, and Implementation for AI Agents
Paperback$46.39$46.39FREE delivery Mon, Sep 21 - Building AI Agents with LLMs, RAG, and Knowledge Graphs: A practical guide to autonomous and modern AI agents
Paperback$41.99$41.99FREE delivery Mon, Sep 21 - Context Engineering for Multi-Agent Systems: Move beyond prompting to build a Context Engine, a transparent architecture of context and reasoning
Paperback$37.99$37.99FREE delivery Mon, Sep 21 - AI Agents and Applications: With LangChain, LangGraph, and MCP
Paperback$51.69$51.69FREE delivery Mon, Sep 21 - Learn Model Context Protocol with Python: Build agentic systems in Python with the new standard for AI capabilities
Paperback$32.47$32.47Delivery Oct 6 - 14 - Build a Reasoning Model (From Scratch)#1 Best SellerProgramming Algorithms
Paperback$47.82$47.82FREE delivery Sat, Sep 19 - Generative AI with LangChain: Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph
Paperback$41.99$41.99FREE delivery Mon, Sep 21 - Knowledge Graphs and LLMs in Action: Build AI systems using connected data
Paperback$55.99$55.99FREE delivery Sat, Sep 19 - Unlocking Data with Generative AI and RAG: Learn AI agent fundamentals with RAG-powered memory, graph-based RAG, and intelligent recall
Paperback$39.99$39.99FREE delivery Mon, Sep 21 - Agentic AI for Offensive Cybersecurity: Build and automate smarter penetration testing workflows using AI-driven agents
Paperback$35.99$35.99FREE delivery Sat, Sep 19 - The AI Engineering Bible: The Complete and Up-to-Date Guide to Build, Deploy and Scale Production Ready AI Systems
Paperback$39.32$39.32FREE delivery Mon, Sep 21 - Mastering NLP From Foundations to Agents: Building AI Agents through Agentic Automation and RAG Workflows with Python
Paperback$43.99$43.99FREE delivery Mon, Sep 21 - Domain-Specific Small Language Models: Efficient AI for local deployment
Paperback$41.51$41.51FREE delivery Mon, Sep 21 - Building Applications with AI Agents: Designing and Implementing Multiagent Systems
Paperback$56.44$56.44FREE delivery Sat, Sep 19 - Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications
Paperback$68.99$68.99FREE delivery Sat, Sep 19 - Agentic AI Engineering: Systems That Reason and Act Autonomously – Designing, Building, and Prompting LLM-Based Agents for Real-World Deployment
Paperback$31.10$31.10Delivery Sat, Sep 19 - AI Agents in Practice: Design, implement, and scale autonomous AI systems for production
Paperback$33.74$33.74Delivery Mon, Sep 21 - Agentic Spec-Driven Development: A Practical Method for Using AI to Build Complete Specifications for Software, Products, and Knowledge Work
Paperback$39.95$39.95FREE delivery Mon, Sep 21 - Adversarial AI Attacks, Mitigations, and Defense Strategies: A cybersecurity professional's guide to AI attacks, threat modeling, and securing AI with MLSecOps
Paperback$26.91$26.91Delivery Mon, Sep 21 - AI Systems Performance Engineering: Optimizing Model Training and Inference Workloads with GPUs, CUDA, and PyTorch#1 Best SellerComputer Hardware Design & Architecture
Paperback$86.07$86.07FREE delivery Sat, Sep 19 - Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$77.72$77.72FREE delivery Sat, Sep 19 - Architecting AI Software Systems: Crafting robust and scalable AI systems for modern software development
Paperback$33.99$33.99Delivery Mon, Sep 21 - AI Agents in Action: Build, orchestrate, and deploy autonomous multi-agent systems
Paperback$59.99$59.99 - Python Machine Learning By Example: Unlock machine learning best practices with real-world use cases
Paperback$29.55$29.55Delivery Mon, Sep 21 - Graph Machine Learning: Learn about the latest advancements in graph data to build robust machine learning models
Paperback$38.54$38.54FREE delivery Mon, Sep 21
From the Publisher
Editorial Reviews
About the Author
Gigi Sayfan is a member of the AI agents infra team at Perplexity, focused on building large-scale environments and harnesses for AI agents. He brings over 30 years of software development experience across domains, including instant messaging, chip fabrication process control, embedded multimedia for game consoles, brain-inspired machine learning, custom browser development, web services for distributed 3D game platforms, IoT sensors, and virtual reality. He has written production code in Go, Python, Java, C#, C++, and TypeScript/JavaScript. His expertise includes AI agents, generative AI, cloud-native technologies, DevOps, databases, networking, and distributed systems. Gigi has authored books and articles on Kubernetes and microservices.
Product details
- Publisher : Packt Publishing
- Publication date : February 27, 2026
- Language : English
- Print length : 536 pages
- ISBN-10 : 1806116472
- ISBN-13 : 978-1806116478
- Item Weight : 2.01 pounds
- Dimensions : 7.5 x 1.21 x 9.25 inches
- Best Sellers Rank: #130,255 in Books (See Top 100 in Books)
- Customer Reviews:
About the author

Gigi Sayfan is is focused on building large-scale environments and harnesses for AI agents.
Gigi has been developing software professionally for more than 30 years in domains as diverse as instant messaging, morphing, chip fabrication process control, embedded multimedia applications for game consoles, brain-inspired machine learning, custom browser development, web services for 3D distributed game platforms, IoT sensors, and virtual reality. He has written production code in many programming languages such as Go, Python, Java, C#, C++ and Typescript/JavaScript.
His technical expertise includes AI agents, generative AI, cloud-native technologies, DevOps, databases, low-level networking, distributed systems, unorthodox user interfaces, and the full software development life cycle.
Gigi has authored several books on Kubernetes and microservices and written hundreds of technical articles on a wide range of topics.
In his spare time Gigi likes to practice Jiu Jitsu, play board games and read books (mostly Sci-Fi).












![Claude AI for Beginners Bible: [5 in 1] The Ultimate Guide to Automate Your Work, Save Hours Every Week, and Use AI for Real-World Results](https://m.media-amazon.com/images/I/415+fSJacsL._AC_SR100,100_QL65_.jpg)


