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 (Paperback)
暫譯: 使用 MCP 和 A2A 設計多代理 AI 系統:打造您自己的基於 Python 的代理 AI 框架,具備工具使用、記憶體和多代理工作流程 (平裝本)

Sayfan, Gigi

  • 出版商: Packt Publishing
  • 出版日期: 2026-02-27
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 536
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1806116472
  • ISBN-13: 9781806116478
  • 相關分類: AI Coding
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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

商品描述(中文翻譯)

從零開始建立一個生產就緒的多代理 AI 框架,使用 MCP 和 A2A 來協調強大的代理工作流程

購書附贈:無 DRM 的 PDF 版本 + 訪問 Packt 的下一代閱讀器*

主要特點:

- 建立基於 Python 的 AI 代理,而不依賴第三方協調框架
- 使用 A2A 訊息設計生產就緒的多代理系統
- 與 MCP 整合記憶和上下文,創建自適應和有狀態的代理 AI 框架

書籍描述:

對於那些不透明的代理框架感到沮喪,無法了解其運作方式嗎?本書將引導您在 Python 中構建一個完全功能的、可擴展的代理 AI 框架,讓您完全掌控,而無需依賴外部協調工具。

您將從實現一個簡單的工具使用代理開始,然後逐步擴展其功能,通過結構化的工具架構、用戶界面和通過模型上下文協議 (MCP) 的記憶來實現。接著,您將構建由代理到代理 (A2A) 訊息驅動的協作多代理系統,並在現實環境中部署它們。在此過程中,您將探索安全的工具調用、訊息路由、可觀察性和人機協作工作流程。

本書提供註解代碼、深入的工程見解和實用的部署模式,幫助您構建能夠推理、計劃、行動和適應的 AI 代理,無論您是要交付生產系統還是實驗尖端的基於 LLM 的架構。

本書由 Gigi Sayfan 撰寫,他在 Perplexity 建立 AI 代理基礎設施,並且是一位擁有數十年 AI 和分散式系統經驗的暢銷書作者,這本書為您提供了設計自己先進代理系統的工具和知識。

*需要電子郵件註冊和購買證明

您將學到的內容:

- 從頭開始設計和實現工具使用的 AI 代理
- 為可擴展的代理框架構建模組化組件
- 創建具有結構化輸入的安全和可觀察的工具
- 與 Slack 和 Chainlit 等聊天用戶界面整合代理
- 利用 MCP 處理上下文和代理記憶
- 使用 A2A 協調協作代理工作流程
- 在類生產環境中調試和部署代理
- 探索未來就緒的代理能力和 GenUX 設計

本書適合誰:

本書對於 AI 工程師、機器學習實踐者和軟體架構師在構建基於大型語言模型的代理系統時至關重要。它也非常適合尋求深入見解以構建和擴展自主 AI 工作流程的 DevOps 工程師和技術領導者。建議具備 Python 編碼技能和對 LLM 的基本了解。

目錄

- 生成式 AI 和 AI 代理簡介
- 理解 AI 代理的運作方式
- 簡單 AI 代理的實作步驟
- 建立基於工具的代理 AI 框架
- 實現自定義工具
- 使用 Slack 和 Chainlit 創建聊天介面
- 與模型上下文協議生態系統整合
- 設計多代理系統
- 使用 A2A 實現多代理系統
- 測試、調試和故障排除多代理系統
- 部署多代理系統
- 進階主題和未來方向