Building Production AI Agents for the Web: Design and orchestrate autonomous agents with MCP, Multi-Agent Patterns, and Harness Engineering
暫譯: 打造適用於生產環境的 Web AI Agent:運用 MCP、多代理模式與 Harness Engineering 設計並編排自主代理層

Noring, Christoffer

  • 出版商: Packt Publishing
  • 出版日期: 2026-09-28
  • 售價: $1,860
  • 貴賓價: 9.5 折 $1,767
  • 語言: 英文
  • 頁數: 576
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1806103338
  • ISBN-13: 9781806103331
  • 相關分類: Large language model
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Architect, orchestrate, and deploy scalable AI agents with real-world patterns, multi-agent systems, and evaluation frameworks.

Key Features:

- Filled with real-world agentic web application examples using LLMs, RAG, and tool calling

- Design and implement AI assistants with reasoning patterns like ReAct

- Architect scalable agent systems with planning, orchestration, and autonomy

Book Description:

Adding an LLM to an application is easy. Building an intelligent application that can reliably use your data, call tools, make decisions, complete tasks, and operate in production is much harder.

Building Production AI Agents for the Web is a practical guide to engineering modern AI-powered applications beyond the basic chatbot. You'll start by integrating LLMs into web applications and progressively extend their capabilities with tool calling, RAG, and MCP. From there, you'll learn how these building blocks come together to create AI assistants and agents capable of reasoning and taking action. You'll explore the ReAct architecture, build your first agentic application, and progress toward advanced agent architectures and multi-agent systems. You'll learn proven agent patterns and anti-patterns that help you make better architectural decisions as your applications scale.

In the later chapters, you'll learn how to test LLMs and agents, manage APIs, deploy agentic applications, apply responsible AI practices, and build an agent harness that provides the structure and guardrails agents need to operate reliably.

By the end, you'll understand the complete journey from integrating your first LLM to engineering production-ready intelligent applications that can retrieve information, use tools, reason, collaborate, and take action.

What You Will Learn:

- Integrate LLMs into web apps and extend their capabilities with tool calling and external systems

- Build RAG pipelines that ground AI applications in relevant business and application data

- Use MCP to connect AI applications with tools, resources, and capabilities

- Build intelligent AI agents using ReAct, advanced agent architectures, and multi-agent patterns

- Test and evaluate LLMs and agents to improve reliability and accuracy

- Build an agent harness with the context, tools, guardrails, and infrastructure needed to take AI applications into production

Who this book is for:

This book is for full-stack developers, software architects, and AI practitioners looking to build intelligent, agent-driven web applications. It's also valuable for tech leads and product managers working on AI-powered products.

If you have a basic understanding of web development and want to move beyond simple AI integrations into autonomous, production-ready agent systems, this book will give you the frameworks, tools, and hands-on experience to get there.

Table of Contents

- Introduction to Agentic Apps

- Building Responsible AI Systems

- Introduction to Large Language Models (LLMs)

- Building with LLMs

- Enhancing LLMs with Tool Calling

- Introduction to Retrieval-Augmented Generation (RAG)

- GraphRAG, a Retrieval Approach for Relationship-Heavy Questions

- The ReAct Pattern

- Building an AI Assistant

- Agent Architecture: From AI Assistants to Agents

- From Agent Architecture to Planning Systems

- Agent Orchestration and Autonomy

- Multi-Agent Collaboration and Communication

- Multi-Agent Patterns

- Agent Design Patterns and Anti-Patterns

- Testing LLMs and Agents with Evaluation Frameworks

- Building an Agent Harness

- Preparing Agents for Production

- Operating and Improving Agents in Production

商品描述(中文翻譯)

運用真實世界中的模式、多代理系統與評估框架,架構、協調並部署可擴展的 AI 代理。

主要特色:

- 充滿使用 LLM、RAG 與工具呼叫(tool calling)的真實世界代理式 Web 應用程式範例
- 運用 ReAct 等推理模式,設計並實作 AI 助理
- 透過規劃、協調與自主性,架構可擴展的代理系統

書籍簡介:

將 LLM 加入應用程式很容易;但要建構能可靠地使用資料、呼叫工具、做出決策、完成任務,並在正式環境中運作的智慧型應用程式,則困難得多。

《Building Production AI Agents for the Web》是一本實務指南,帶領讀者建構超越基本聊天機器人的現代 AI 應用程式。你將從把 LLM 整合至 Web 應用程式開始,逐步透過工具呼叫、RAG 與 MCP 擴充其能力。接著,你會了解這些基礎元件如何結合,打造出能夠進行推理並採取行動的 AI 助理與 AI 代理。你將探索 ReAct 架構、建構第一個代理式應用程式,並逐步進階至複雜的代理架構與多代理系統。你也會學習經過驗證的代理模式與反模式,協助你在應用程式擴展時做出更完善的架構決策。

在後續章節中,你將學習如何測試 LLM 與代理、管理 API、部署代理式應用程式、實踐負責任的 AI 原則,以及建構代理執行框架(agent harness),為代理提供可靠運作所需的結構與防護機制。

閱讀完本書後,你將完整理解從整合第一個 LLM,到工程化打造可用於正式環境的智慧型應用程式之整個流程;這些應用程式能夠擷取資訊、使用工具、進行推理、彼此協作並採取行動。

你將學到:

- 將 LLM 整合至 Web 應用程式,並透過工具呼叫與外部系統擴充其能力
- 建構 RAG 管線,讓 AI 應用程式以相關的企業與應用程式資料為依據
- 使用 MCP 將 AI 應用程式連接至工具、資源與各項能力
- 運用 ReAct、進階代理架構與多代理模式,建構智慧型 AI 代理
- 測試與評估 LLM 和代理,以提升可靠性與準確度
- 建構代理執行框架,提供將 AI 應用程式導入正式環境所需的情境資訊、工具、防護機制與基礎架構

適合對象:

本書適合希望建構智慧型、由代理驅動之 Web 應用程式的全端開發人員、軟體架構師與 AI 實務工作者。對於參與 AI 產品開發的技術主管與產品經理而言,本書同樣很有價值。

如果你具備基本的 Web 開發知識,並希望從簡單的 AI 整合進一步邁向自主且可用於正式環境的代理系統,本書將提供所需的架構、工具與實作經驗,協助你達成目標。

目錄

- 代理式應用程式(Agentic Apps)簡介
- 建構負責任的 AI 系統
- 大型語言模型(Large Language Models,LLM)簡介
- 使用 LLM 進行建構
- 透過工具呼叫強化 LLM
- 檢索增強生成(Retrieval-Augmented Generation,RAG)簡介
- GraphRAG:針對關係密集型問題的檢索方法
- ReAct 模式
- 建構 AI 助理
- 代理架構:從 AI 助理到 AI 代理
- 從代理架構到規劃系統
- 代理協調與自主性
- 多代理協作與通訊
- 多代理模式
- 代理設計模式與反模式
- 使用評估框架測試 LLM 與代理
- 建構代理執行框架
- 讓代理做好正式環境的準備
- 在正式環境中運作並改進代理

類似商品