AI Agents in Action, Second Edition: Intelligent workflows with LLMs, MCP, A2A, and more (In Action)
From $50.99 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $47.99 at 1,000+
Total $1,274.75
Format
The more copies, the less each one costs
Applied automatically in your cart. No code needed.
Turn this order into a program
Groups that order together often pair the copies with something more. We handle the extras so you don't have to.
Branded cover stickers on paperbacks from 100 copies, plus bookplates, inserts and belly bands. Your specialist confirms what fits your title.
Customization options Ship to every readerOne address, many sites or individual recipients' homes, in the US and abroad.
Fulfillment options Pair it with a branded journalJournals with your logo or each reader's name, for the same group.
Branded journalsBookPal is partnering with Talezo to help you find and book authors, speakers and performers for your event.
BookPal × TalezoAI Agents in Action, Second Edition
"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.
What’s new and included in the second edition?
- A near-total rewrite with new and extensive coverage of the latest agent innovations
- Agents start to finish—from prompting and planning, to memory and evaluation
- New chapter! Evaluate agents with LLM-as-judge, test-driven-development, and observable behavior
- New chapter! Explore the agentic loop, build task-focused agents, and develop long-horizon, goal focused systems
- New chapter! Metacognition harnesses that structure agent thinking, planning, and learning
- New chapter! Practical tips and techniques for building AI applications, help desks, and deep research agents
- New chapter! Voice-driven AI agents, including real-world deployment patterns for multi-agent systems
- Multi-agent workflows with assembly-flow, orchestration, and collaboration patterns
- Hands-on with the Model Context Protocol (MCP) to connect agents to tools and servers
- Hybrid search for Retrieval Augmented Generation (RAG) and practical ways to use memory in agents
With more than 95% rewritten from the first edition, AI Agents in Action is far more than a refresh! You’ll go right from your agent’s first response, to systems that use tools, work together, draw on knowledge, and incorporate feedback. All illustrated with practical examples throughout.
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 Lanham is 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
Details
- Publisher
- Manning
- Author
- Micheal Lanham
- Format
- Paperback
- Published
- Jul 14, 2026
- ISBN-13
- 9781633434530
- ISBN-10
- 1633434532
- Pages
- 392
AI Agents in Action, Second Edition for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 99 | $50.99 | 15% off list |
| 100 – 249 | $50.39 | 16% off list |
| 250 – 499 | $49.79 | 17% off list |
| 500 – 999 | $49.19 | 18% off list |
| 1,000+ | $47.99 | 20% off list |
Popular for
A copy for every member, on one order.
A book for every attendee, delivered to your venue.
For clients, staff, members or volunteers.
Where can I buy 100 copies of AI Agents in Action, Second Edition?
BookPal sells AI Agents in Action, Second Edition in quantity. At 100 copies the price is $50.39 a copy, against a list price of $59.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.
- New books only, straight from the publisher
- Volume prices apply automatically in the cart, with no code needed
- Order at least 10 business days before you need the books (11 from mid-November through December)
What does AI Agents in Action, Second Edition cost when I buy for a group?
Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $50.99 (15% off list); 100 to 249 copies, $50.39 (16% off list); 250 to 499 copies, $49.79 (17% off list); 500 to 999 copies, $49.19 (18% off list); 1,000+ copies, $47.99 (20% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.
How fast can I get copies of AI Agents in Action, Second Edition?
Need them by a specific date? Request a quote and we'll confirm timing before you pay.
Can you ship to several locations or people's homes?
Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.
Can I get a formal quote for approval before ordering?
Yes. Request a quote and we'll send a PDF you can forward for approval.
Do you accept purchase orders and tax-exempt orders?
Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.
What if I find a lower price?
Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.
Write a Review
AI Agents in Action, Second Edition: Intelligent workflows with LLMs, MCP, A2A, and more (In Action)
Groups also order




A colleague asked you to approve this order
Your quote list
Add books as you browse, then request one quote for all of them.