Xenition Marketplace

AI Agents Demystified

What They Are, How They Work, and How to Build One

$12.99 (usually $25.49) — one-time purchase, yours to keep.

The book

Everyone in 2026 is building an agent, and roughly half of them are building a chatbot with a for-loop and calling it something grander. AI Agents Demystified is Marcus Hale's attempt to establish a working definition of what an agent actually is — the core loop of model, tools, and memory — and then follow that definition honestly through design, implementation, cost accounting, and the failure modes that don't make it into the conference talk. The book uses real frameworks, real dollar figures, and a worked example you can run, because architectural diagrams don't show up on your cloud bill.

What you'll learn

• Why agents are viable now but weren't in 2018 — the specific shifts in context windows, tool-calling APIs, and inference speed that changed the calculus

• How the model-tools-memory loop actually operates, including function calling, the Model Context Protocol, and the real trade-offs between short-term and long-term memory strategies

• When multi-agent architectures justify their overhead and when a single well-prompted model with three tools would have been the right answer

• How to evaluate agent behavior honestly — a harder problem than evaluating chat, with fewer established benchmarks and more ways to mislead yourself

• Where costs come from: input tokens, tool round-trips, retry loops, and the latency penalties that compound in ways nobody budgets for

• What the next twelve months might plausibly look like, grounded in current trajectory rather than keynote optimism

Who it's for

This book is for developers who have read the blog posts and want the unvarnished version, and for product people who need to make build-versus-buy decisions without being steered by vendor benchmarks. If you have ever watched an agent demo run flawlessly and suspected the production version would behave quite differently, Hale wrote this for you.

What you get

Delivered as AI Agents Demystified.epub (857 KB), available to download the moment the purchase completes.

About this listing

Before you buy

Buying on Xenition

Browsing the marketplace needs no account; you only need one to buy. Payment is handled by Stripe, and the seller is paid out from the same ledger the purchase is recorded in — Xenition never holds a card number.

More in Documents

Browse the rest of the marketplace