A companion book for learners
Build AI agents that work in practice.
From how a model generates each token to deployment and operations, this book takes you through the core building blocks of agentic AI, one chapter at a time.
The Map
The eight chapters are organised into six stages in two layers of three. The first layer builds the agent, and the second runs it and extends it. Each stage builds on the one before it and addresses a distinct question that arises once its predecessor is in place.
Layer 1 · Building the agent
Stage 1 · Chapter 1
Core LLM capabilities How the model generates each token, how it is called through an API, and how its output is shaped.
→
Stage 2 · Chapter 2
Tools and memory Giving the model tool calling through a shared standard, MCP, and memory that carries across calls.
→
Stage 3 · Chapter 3
Workflows and Orchestration Deciding who controls the flow: fixed workflow patterns where the steps are known, and agents where they are not.
Layer 2 · Running and extending the agent
Stage 4 · Chapters 4–5
Evaluations and Reliability Measuring agent behaviour with eval stacks and LLM judges, and protecting it with layered guardrails.
→
Stage 5 · Chapter 6
Deployment and Operations Turning a demo into a product: agent memory, fine-tuning and distillation, and the operations layer with tracing and cost control.
→
Stage 6 · Chapters 7–8
Augmenting Knowledge through RAG and SKILLs Grounding answers in external documents through RAG, and packaging capabilities as skills and plugins for reuse.
The stages are sequenced from left to right and continue from the first layer to the second; each assumes the stages preceding it.
Register and download
Sign up once to read the book in your browser or download it.