Generative AI enables powerful new capabilities, but they come with some serious limitations that you'll have to tackle to ship a reliable application or agent. Luckily, experts in the field have compiled a library of 32 tried-and-true design patterns to address the challenges you're likely to encounter when building applications using LLMs, such as hallucinations, nondeterministic responses, and knowledge cutoffs. This book codifies research and real-world experience into advice you can incorporate into your projects. Each pattern describes a problem, shows a proven way to solve it with a fully coded example, and discusses trade-offs.

Browse the chapters to quickly get to know the structure and content of the book.
By browsing the chapters of this book you can quickly see what each part teaches, how the whole is structured and where to start. Each chapter focuses on one concept or skill, and you see its main topics so your choice is more informed. Whether you follow the whole book or just one part, this view helps you find your way.

Introduction

Controlling Content Style

Adding Knowledge: Bass

Adding Knowledge: Syncopation

Extending Model Capabilities

Improving Reliability

Enabling Agents to Take Action

Addressing Constraints

Setting Safeguards

Composable Agentic Workflows
10 chapters in production
Reading time
13:45
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026