Prompt Engineering in Practice: Design, test, and improve AI prompts

Prompt Engineering in Practice: Design, test, and improve AI prompts

Print Book
Sale price  Rs. 5,318.00 Regular price  Rs. 5,909.00
Skip to product information
Prompt Engineering in Practice: Design, test, and improve AI prompts

Prompt Engineering in Practice: Design, test, and improve AI prompts

By: Richard Davies, Rafael Fischer |  Publisher: Manning Publications |  Year: 2026

ISBN: 9781633436305

MRP: Rs. 5,909.00

You Pay: Rs. 5,318.00

You save: Rs. 591.00 ( 10% )

MRP: Rs. 5,909.00

You Pay: Rs. 5,318.00

You save: Rs. 591.00 ( 10% )

MRP: Rs. 4,727.00

You Pay: Rs. 3,782.00

You save: Rs. 945.00 ( 20% )

Usually ships in 20-30 days

Reward points: 53 points

🌍 Ships Worldwide

Available for delivery worldwide.

Book Type

Description

Get the eBook free when you register your print book at Manning.

"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 author

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.



Table of Contents

Part 1 Foundations
1 Prompt engineering: The blueprint
Part 2 Prompt Design
2 Prompt design: Structural elements
3 Prompt design: Linguistic elements
4 Patterns
5 Templates
6 Prompt types
Part 3 Advanced Prompting
7 Contextual prompting
8 Prompt sampling
9 Advanced prompt patterns
Part 4 Practice
10 Security
11 Managing Prompts in Production

Ebook License

End-User Warranty And License Agreement

1. Grant Of License

Manning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.

2. Restrictions

You Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.

3. Intellectual Property Protection

The Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.

4. Source Code Supplementary Material

Any Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.

5. Limited Warranty

Manning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.

6. Limitation Of Liability

In No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.

7. General

This Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York.

Book Details
Author Richard Davies, Rafael Fischer
Publisher Manning Publications
ISBN-13 9781633436305
Year 2026
Pages 248
Binding Paperback
Edition First
Country of Origin USA

You may also like