Prompting and context
Specify behavior, boundaries, and useful inputs.
Trusted by










Building LLMs for Production got readers to their first working LLM application. This one carries that foundation forward and builds on it: harnesses, deployment, evaluation, monitoring.
Building LLMs for Production, by Louis-François Bouchard and Louie PetersIndustry reviews
What leaders at LlamaIndex, Meta, Mila, and Weights & Biases said about our first book, Building LLMs for Production.
“The most comprehensive textbook to date on building LLM applications; every essential topic in an AI engineer's toolkit.”
“This book is filled with end-to-end explanations, examples, and comprehensive details. Louis and the Towards AI team have written an essential read for developers who want to expand their AI expertise and apply it to real-world challenges, making it a valuable addition to both personal and professional libraries.”
“An indispensable guide for anyone venturing into the world of LLMs, covering everything from theory to practical deployment.”
“Invaluable to anyone looking to dive into the field quickly and efficiently.”
A preview of the ideas covered
Coming soonSpecify behavior, boundaries, and useful inputs.
Ground decisions in relevant evidence.
Coordinate tools, state, and approvals.
Measure behavior and inspect failures.
Control retries, fallbacks, and improvement.
What changes for you
Not a tour of one framework. The book focuses on the decisions and failure modes that outlive whichever one you are using.
Traces and failure categories turn a bad answer into a specific thing you can fix.
Representative cases and graders that tell you whether last week's change actually helped.
Permissions, checkpoints, and human approval placed where being wrong costs the most.
Ingestion, reranking, and provenance built around what the system actually needs to know.
Monitoring and operating patterns so the people who did not build it can still run it.
Who we wrote it for
Some coding background helps, but you don't need to be a researcher or a senior engineer. The book takes you through the full AI engineering stack from the beginning.
You've used model APIs or a framework, and now you want the engineering underneath them.
Retrieval that misses, outputs that drift, tools that misfire, and no clear way to tell why.
Evaluation, monitoring, and operating patterns a team can run after launch.
Why we wrote this book
The funny thing about writing a technical book is that the industry sometimes changes faster than the book does.
When we published Building LLMs for Production in 2024, the problems people were solving looked very different. Two years later we went back to ask what needed updating.
Almost the entire conversation had moved. Not just better models. New tooling, new architectures, new failure modes, new ways of evaluating and deploying these systems.
So we didn't write a second edition. We wrote a new book.
Join us on launch day
Louis-François walks through his own AI engineering setup, and how to improve yours before you start.
What we covered, why we structured it this way, and where we'd tell you to start.
Time with Louis-François, Louie, and the Towards AI team.
The full running order is still being finalised. Register and we'll send it as soon as it's set.
Join us on October 20
We'll send confirmed session times, access details, and occasional book updates. Nothing else.
Choose whether Google Analytics can use cookies. The site always keeps anonymous, cookieless page counts. Privacy details