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.

Before you start, a short look at what you will learn in this book
In the preface, settle the general questions you have at a glance, so your view widens and your choice is more informed. Questions such as: Why was this book written and what problem does it solve? Who can use the book? A summary of the chapters and the learning goals of each part? The important changes and new improvements added across editions, and so on — we cover all of these for you.
Machine learning engineers looking to improve generative AI systems.
Software developers planning to build applications based on large language models.
System architects facing deployment and scalability challenges in generative AI.
Data professionals wanting to use design patterns to increase model accuracy and control.
This book is designed to address practical challenges in implementing large language models.
The content is based on 32 proven design patterns to improve application reliability.
The authors have translated real-world experience into fully coded solutions.
This work helps manage limitations such as hallucinations and nondeterministic responses.
By providing practical patterns, this book bridges the gap between theoretical research and industrial implementations.
The coded examples in each pattern provide a deep understanding of how to solve complex AI problems.
The focus on design trade-offs significantly helps engineers make informed decisions.
This work is an essential resource for anyone looking to build reliable intelligent agents.
10 chapters in production
Reading time
13:45
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026