AI Agents in Action: Intelligent workflows with LLMs, MCP, A2A, and more Second Edition

AI Agents in Action, Second Edition 版本: Intelligent workflows with LLMs, MCP, A2A, and more 2nd Edition book cover

AI Agents in Action, Second Edition 版本: Intelligent workflows with LLMs, MCP, A2A, and more 2nd Edition

Author(s): Micheal Lanham (Author)

  • Publisher Finelybook 出版社: Manning
  • Publication Date 出版日期: July 14, 2026
  • Edition 版本: 2nd
  • Language 语言: English
  • Print length 页数: 392 pages
  • ISBN-10: 1633434532
  • ISBN-13: 9781633434530

Book Description

Get the eBook free when you register your print book at Manning.

“Great contents, broad coverage, fun exercises. This book has it all.”
—Saurabh Sawant, Microsoft

AI Agents in Action, Second Edition is a substantial revision and update of the first edition. It is a practical and comprehensive guide to building AI agents—not just understanding what they are, but designing, implementing, evaluating, and deploying them. Its strength is in the way it combines conceptual clarity with working code examples, so readers build progressively rather than absorb isolated ideas. The examples form a continuous learning path, moving from a minimal agent to more capable, tool-using, multi-agent, and deployable systems. Each step adds a new skill while reinforcing what came before.

The book begins by giving readers a usable mental model for agent design. Its central organizing idea is the five functional layers: persona, actions and tools, reasoning and planning, knowledge and memory, and evaluation and feedback. This framework helps readers understand where an agent’s behavior comes from and how to diagnose weaknesses. Rather than randomly adding prompts, tools, or memory, readers learn to ask which layer needs improvement. This is especially valuable because the model is not tied to one vendor or framework; it remains useful even as APIs and tools continue to change.

From there, the book moves into the practical building blocks of agents: LLMs, prompting, typed outputs, tracing, tool use, and the OpenAI Agents SDK. Typed outputs reduce brittle text parsing. Tracing exposes what the agent is doing. Tool integration gives agents the ability to act rather than merely respond. The cumulative benefit is that readers learn to build agents that are more predictable, inspectable, and maintainable.

A highlight is the treatment of Model Context Protocol. Readers liked the book’s “USB-C” analogy, because it explains MCP as a standard connector between agents and external capabilities. The book shows how MCP can flatten “a mess of bespoke integrations” into cleaner, swappable components, helping developers build agents that are modular instead of tangled.

The book also covers multi-agent architectures, reasoning patterns, planning strategies, RAG, memory, evaluation, feedback, observability, and deployment. Each topic is tied to a practical benefit: multi-agent patterns help divide complex work; reasoning and planning help agents handle multi-step tasks; RAG and memory let agents use external and retained knowledge; evaluation and feedback help make them safer and more reliable.

Physically, this is a substantial but focused book covering 392 pages across 11 chapters. Its tables and figures are a valuable part of the learning experience. While building, readers will want to return to the easy-to-use tables summarizing complex trade-offs.

AI Agents in Action shows developers how to build agents they can ship, trust, and maintain.

What’s inside

• Autonomous agent design and deployment
• MCP-based tools, resources, prompts, memory, and server integrations
• Reasoning and planning patterns including ReAct, Reflexion, Tree-of- Thought, and Sequential Thinking

About the reader

For intermediate Python programmers. No experience with AI agents and agentic systems required.

About the author

Micheal Lanhamis a software and technology innovator with over 20 years of industry experience. He has authored books on deep learning, including Manning’s Evolutionary Deep Learning.

Table of Contents

1 The rise of AI agents
2 Core components: Large language models, prompting, and agents
3 Actions with Model Context Protocol for AI agents
4 Architecting and building multi-agent systems
5 Agent reasoning and planning
6 Working with memory and knowledge RAG for agents
7 Building robust agents with evaluation and feedback
8 Deploying agents and agentic systems
9 Understanding the agentic loop
10 Exploring the cognitive agent that thinks, monitors, and adapts
11 Tips for building agentic systems
A Setting up the sample code repository
B Node.js setup for local MCP servers

Editorial Reviews

Editorial Reviews

About the Author

Micheal Lanhamis a proven software and tech innovator with over 20 years of experience. He has developed a broad range of software applications in areas such as games, graphics, web, desktop, engineering, artificial intelligence, GIS, and machine learning applications for a variety of industries. At the turn of the millennium, Micheal began working with neural networks and evolutionary algorithms in game development.

View on Amazon

下载地址

EPUB, PDF(conv) | 24 MB | 2026-06-16
下载地址 Download请完成验证以访问链接!
打赏
未经允许不得转载:finelybook » AI Agents in Action: Intelligent workflows with LLMs, MCP, A2A, and more Second Edition

评论 抢沙发

觉得文章有用就打赏一下文章作者

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫