AI Agents in Action, Second Edition AI Agents in Action, Second Edition
In Action

AI Agents in Action, Second Edition

Intelligent workflows with LLMs, MCP, A2A, and more

    • Vorbestellbar
    • Erwartet am 14. Juli 2026
    • 43,99 €
    • Vorbestellbar
    • 43,99 €

Beschreibung des Verlags

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 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

GENRE
Computer und Internet
VERFÜGBAR
2026
14. Juli
SPRACHE
EN
Englisch
UMFANG
392
Seiten
VERLAG
Manning
ANBIETERINFO
Simon & Schuster Digital Sales LLC
AI Agents in Action AI Agents in Action
2025
AI Agent in pratica AI Agent in pratica
2025
Evolutionary Deep Learning Evolutionary Deep Learning
2023
Generating a New Reality Generating a New Reality
2021
Practical AI on the Google Cloud Platform Practical AI on the Google Cloud Platform
2020
Hands-On Reinforcement Learning for Games Hands-On Reinforcement Learning for Games
2020
Kotlin in Action, Second Edition Kotlin in Action, Second Edition
2024
Elixir in Action, Third Edition Elixir in Action, Third Edition
2024
Kubernetes in Action, Second Edition Kubernetes in Action, Second Edition
2026
Natural Language Processing in Action, Second Edition Natural Language Processing in Action, Second Edition
2025
Generative AI in Action Generative AI in Action
2024
F# in Action F# in Action
2024