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.

A look at the structure and key facts of the book

October 6, 2025

1 edition

10 chapters

508 pages

Intermediate to advanced
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 this section to get a quick overall picture of the book's content.
This section focuses on the inherent challenges of large language models such as hallucinations and nondeterministic responses. By using design patterns, developers can control model output and increase system reliability.
This topic covers building agents capable of planning, self-correction, and collaborating with other agents. This approach helps create agentic applications that perform beyond simple text generation.
The authors behind this book are among the most prominent experts and pioneers of their field. Their work is the result of years of hands-on experience, deep research and collaboration with the world's largest technology organizations and companies.Each of these authors, through specialist books and articles, has played an important role in shaping and advancing technical knowledge worldwide.
Readers' experience with this book - comments from buyers and other users
10 chapters in production
Reading time
13:45
Book type
Subscription
Participants
Be the first
Last updated
Sep 30, 2026