AI Agents / Advanced

The Agent Stack

Wire multiple specialized agents into one system that runs whole slices of your business on autopilot.

10 chaptersEPUB + PDF + HTMLAdvanced guide pricingDRM-free files
The Agent Stack book cover
The problem

It starts with the situation you're actually in.

Almost every team that ships an agent into production learns the same lesson in the same order: the demo works, and then something underneath gives way. That something is the stack.

You've placed a bet on where durable advantage lives, whether you meant to or not. Most teams running agents in production wagered by default on the model. This book makes the opposite case.

Who it is for

For builders wiring multiple specialized agents into one system meant to run whole slices of a business on autopilot.

Outcomes

What you'll be able to do.

The Agent That Knew Too Much

You trace why a single "ops" agent wired to handle refund requests runs clean for three weeks—and what's quietly building underneath that whole time.

The Problem That Looks Like a Model Failure

You spot the real fault when a three-agent support system—classify, draft, escalate—emails an upgraded customer their old tier's limits days after they switched.

Observe the chain, not the call

You learn to watch the whole chain instead of the single call—because a system where every agent answers plausibly, every tool succeeds, and every handoff completes can still be silently wrong.

Pick a Slice Narrow Enough to Lose

You choose a first slice narrow enough to lose, so you get past the stall where the demo runs, traces are clean, evals pass—and nobody will take their hand off the wheel.

Inside the book

A closer look at the work inside.

Before you buy a bigger model

You reproduce the failure with clean, isolated inputs and confirm the model fails even then. You name which layer fed it bad input or dropped its output, price the upgrade against fixing that layer, and buy reasoning quality—not reliability you should have engineered.

A refund agent that "needs a better model"

Map a concrete case onto your own system: a refund agent where roughly one in twenty refunds processes twice, and a vendor pitch promising a stronger model that "understands financial context better." Before you sign, you run the diagnostic.

Model problems and stack problems are different animals

You gain the single most useful skill here—telling the two failure classes apart before you spend money. A model problem is a reasoning or generation failure: given correct, complete, current input, the model still produces a wrong, incoherent, or unsafe output.

The layered mental model

You get the stack as ordered layers, each owning a class of failure. The shape converges across O'Reilly's AI Agents Stack (2026 Edition), MindStudio's six-layer infrastructure writeups, and ByteByteGo's EP218: compute and sandboxes, models, memory, tools, orchestration, and workflows.

Build your own layer audit

You run a thirty-minute audit against a system you already operate. For each of the six layers—workflow, orchestration, tools, memory/data, model, compute—you NAME the component that plays the role and write the one-sentence CONTRACT with the layer above it.

The Agent Stack visual framework
Before you buy a bigger modelInside the book
Visual preview

A diagram you can keep open while you work.

Table of contents

10 chapters, built to be read in order.

01

The Stack Ceiling — Why Agent Systems Fail Above the Model Line

02

Anatomy of the Agent Stack — The Six Layers and How They Interlock

03

Should This Even Be Multi-Agent? Architecture Before Agent Count

04

Designing Specialized Agents — Boundaries, Contracts, and Roles

05

Orchestration Patterns — Supervisors, Pipelines, and Networks

06

Memory and the Agent-Ready Data Layer

07

Tools, MCP, and the Integration Surface

08

Identity, Authorization, and Trust in Autonomous Systems

09

Observability, Evaluation, and Controlling Error Propagation

10

Running a Business Slice on Autopilot — From Pilot to Production

120
Pages
15,442
Words
46
Exercises, checklists & tools
10
Chapters
Formats

Three formats. One purchase.

EPUB, PDF, and HTML are included so the book can work on an e-reader, as a designed copy, or as a searchable desk reference.

EPUB

For e-readers and reading apps.

PDF

The designed edition with diagrams and layouts intact.

HTML

Searchable, copy-pasteable, and practical as a reference.

Complete guide

The Agent Stack

$12.99
Advanced guide pricing
  • EPUB + PDF + HTML included in one purchase
  • 10 chapters from the complete guide
  • DRM-free files for your own devices
  • 7-day refund review for duplicate purchases, access issues, wrong files, or materially defective downloads
Add to cart - $12.99
Secure checkout / instant download / tax handled at checkout
Before you buy

Questions, answered.

Does this include the full book?

Yes. You get the complete edition, including the chapter sequence and internal materials described on this page.

Which formats are included?

EPUB, PDF, and HTML are included so you can read on an e-reader, keep a designed copy, or use the searchable browser version.

What is the refund policy?

Because this is an instant digital download, broad change-of-mind refunds are not offered after the files have been accessed. Refund requests are reviewed within 7 days for duplicate purchases, accidental purchases before access, access failures we cannot fix, wrong files, corrupted files, or pages that materially misdescribe the book.