"A thoughtful, practical guide to prompt engineering as a real discipline.”
—Che Gamble, Davies Group
Sometimes your LLMs return brilliant responses. Other times, not so much. Do you know why? Prompt Engineering in Practice shows you how to move from accidental AI results to reliable, production-grade systems you can deploy with confidence. Written by AI veterans Richard Davies and Rafael Fischer, this book introduces a unique approach: treat prompts as engineered, self-contained interfaces that you can compose, evaluate, and refine. This shift reframes model interactions as a strict software design discipline rather than a series of fuzzy trial-and-error exercises.
Spanning 11 comprehensive chapters, Prompt Engineering in Practice establishes a logical “design stack” that builds from microscopic syntax to macroscopic system architecture. You’ll start by learning to define the structural elements of a prompt, including delimiters and falsifiable constraints, along with linguistic characteristics like precision, directness, and brevity. These techniques equip you to write well-specified prompts that you can successfully incorporate into reusable production components.
You’ll then explore the foundational patterns that form the core of prompt engineering and enable you to build robust, scalable agentic workflows. Reviewer Dewang Sultania, Senior Machine Learning Engineer at Netflix, noted “The nine-pattern taxonomy provides genuinely useful composable prompt engineering strategies. It’s also a great introduction on how LLM-powered systems actually work!”
Because LLM responses are consistently inconsistent, the book provides a practical framework to diagnose prompt failures systematically by treating prompts as specifications and investigating sources of variance. Throughout the book, you’ll practice a process to systematically analyze and troubleshoot prompt failures as you navigate four distinct phases of the prompt engineering lifecycle—Design, Test, Iterate, Manage. By the time you reach the deployment and operations chapters that conclude the book, you’ll be treating unexpected outputs as valuable debuggable system signals that help you isolate where a prompt is underspecified.
Ultimately, Prompt Engineering in Practice shows you how to treat prompts as first-class, maintainable software artifacts. You will learn to eliminate “prompt debt” by building version-controlled, audited prompt libraries that can be reviewed in pull requests, secured against injection, and managed using role-based access controls. By bridging the gap between prototype experimentation and production operations, this guide provides the exact tools needed to collaborate with cross-functional teams and maintain consistent, safe AI integrations over time.
what's inside
Eliminate prompt debt with version-controlled, audited prompt libraries
Reduce development iteration and rework through deliberate linguistic precision
Mitigate hallucinations and security vulnerabilities using robust hardening techniques
Diagnose and debug model output failures using systematic engineering frameworks
about the reader
This book is for software developers and AI engineers who want to build, secure, and maintain reliable LLM-powered systems in production.
about the authors
Richard Davies is the Founder, CEO, and CTO of Meridias. He has worked exclusively in artificial intelligence since 2018, with hands-on experience across machine learning, agents, and Large Language Models. Rafael Fischer, PhD in Engineering, specializes in building and delivering agentic LLM solutions with clients in the US, Europe, and Brazil.
eBook
pdf, ePub, online
$47.99
$23.99
you save $24.00 (50%)
print
includes eBook
$59.99
$29.99
you save $30.00 (50%)
with subscription
free or 50% off
$24.99
pro $24.99 per month
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
Delivers a shared vocabulary and a repeatable methodology—exactly what the field needed.
Undeniably the fastest development uplift I’ve experienced in my career has been applying these prompt practices. 5 stars!
Finally, a book that treats prompt engineering with the same seriousness we apply to any other part of a production system.
A guide to save you time and reduce mental overhead.
The first book on prompting I’d put in front of a team shipping on top of language models.
Richard has a remarkable talent for breaking down difficult topics into clear, engaging explanations without sacrificing technical depth. That ability shines throughout this book.
related titles
related titles
choose your plan
pro
monthly
annual
$24.99
$249.99
only $20.83 per month
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
choose another free product every time you renew
choose twelve free products per year
exclusive 50% discount on all purchases
renews monthly, pause or cancel renewal anytime
renews annually, pause or cancel renewal anytime
Prompt Engineering in Practice ebook for free
team
monthly
annual
$49.99
$499.99
only $41.67 per month
five seats for your team
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!