AI ENGINEERING IN PRACTICE
From LLMs and RAG to Agentic AI Systems
Move beyond AI experimentation and learn how to engineer real-world AI applications.
AI Engineering in Practice takes you from Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) to AI agents, multi-agent systems, LLMOps, AI security, and production-ready applications.
Featuring 18 comprehensive chapters, practical labs, real-world case studies, and engineering checklists, this textbook provides a complete learning pathway for students, developers, researchers, and technology professionals.
Learn the concepts. Understand the architectures. Build reliable AI systems. Prepare for the future of Agentic AI.
Minimum price
$12.99
$19.99
You pay
Author earns
About
About the Book
About the Book
AI Engineering in Practice: From LLMs and RAG to Agentic AI Systems is a comprehensive, application-oriented textbook designed to help readers understand, build, evaluate, secure, and deploy modern AI-powered applications.
As Artificial Intelligence evolves beyond traditional machine learning and standalone chatbots, the ability to engineer reliable AI systems has become an essential technical skill. This book provides a structured learning pathway from the fundamentals of Large Language Models (LLMs) to advanced Retrieval-Augmented Generation (RAG), AI agents, multi-agent architectures, and production-ready AI applications.
The book covers the complete AI engineering lifecycle, combining conceptual explanations with practical engineering approaches, real-world application architectures, integrated case studies, and hands-on learning activities.
Across 18 carefully structured chapters, readers explore:
- Large Language Models: Transformers, tokens, attention, model training, inference, context windows, and model selection.
- LLM Application Engineering: Model APIs, structured outputs, function calling, conversation management, error handling, and reliability.
- Retrieval-Augmented Generation (RAG): Document processing, embeddings, vector databases, semantic search, hybrid retrieval, and advanced knowledge systems.
- Context Engineering: Context design, memory management, summarisation, context compression, and information retrieval.
- AI Agents and Multi-Agent Systems: Agent architectures, planning, reasoning, tool execution, task delegation, coordination, and shared state.
- AI System Evaluation: Evaluation datasets, groundedness, accuracy, LLM-as-a-Judge, and automated testing.
- AI Security and Responsible AI: Prompt injection defence, privacy, data protection, governance, human oversight, and risk assessment.
- Deployment and LLMOps: Cloud deployment, containers, observability, monitoring, tracing, performance optimisation, and cost management.
- Fine-Tuning and Model Adaptation: Supervised fine-tuning, LoRA, parameter-efficient adaptation, and training data validation.
- Enterprise and Multimodal AI: Business automation, intelligent document processing, image understanding, speech, video, and multimodal retrieval.
- AI Product Development: MVP design, technology selection, product testing, deployment readiness, and operational planning.
Rather than focusing only on AI theory or prompt-writing techniques, this textbook approaches AI from an engineering perspective. It explains how individual AI components work together to create dependable, scalable, secure, and useful applications.
The book also includes practical labs, integrated case studies, engineering checklists, review questions, and multiple-choice questions to reinforce learning and encourage practical implementation.
Who Should Read This Book?This book is particularly suitable for:
- Undergraduate and postgraduate computer science students.
- Software developers and application engineers.
- AI, Machine Learning, and Data Science learners.
- Researchers exploring LLMs and Agentic AI.
- University faculty members and technical educators.
- IT professionals and technology consultants.
- Entrepreneurs and professionals interested in AI-powered products.
After studying this book, readers should be able to understand modern AI engineering architectures, integrate LLMs into applications, design RAG pipelines, develop agent-based workflows, evaluate AI system quality, identify security risks, implement responsible AI practices, and understand the essential steps involved in deploying AI-powered products.
AI Engineering in Practice is designed as both a learning resource and a practical reference for anyone interested in moving from experimenting with AI models to engineering complete AI systems.
Whether you are beginning your journey in AI application development or expanding your professional knowledge of advanced AI architectures, this book provides a structured foundation for understanding and applying modern AI engineering principles.
Author
About the Author
Anshuman Kumar Mishra, M.Tech (Computer Science) Assistant Professor, Doranda College, Ranchi University
Prolific Author of 50+ Books on AI, Machine Learning & Computer Science | 20+ Years Experience
Anshuman Kumar Mishra is a dedicated educator, researcher, and highly prolific author with over 20 years of experience in Computer Science and Information Technology. Holding an M.Tech in Computer Science from BIT Mesra, he brings a rare combination of academic depth and practical teaching expertise.
Currently serving as Assistant Professor at Doranda College under Ranchi University, he has mentored thousands of students, helping them build strong foundations in programming, data science, and artificial intelligence. His student-centric teaching style emphasizes conceptual clarity, hands-on practice, and real-world application.
Anshuman is a prolific author with more than 50 books published across a wide spectrum of computer science and emerging technology domains. From foundational programming languages to advanced topics in Artificial Intelligence, Machine Learning, Reinforcement Learning, Decision Theory, and Computer Vision — his books are widely appreciated by students, educators, and professionals for their clear explanations, strong theoretical foundation, and practical approach.
His extensive body of work reflects his deep commitment to making complex subjects accessible and meaningful for learners at all levels. He is particularly recognized for creating well-structured learning paths that help readers progress from beginner to advanced levels with confidence.
Driven by the mission to democratize quality technical education, Anshuman continues to write and update books that bridge the gap between academic theory and industry practice.
When not teaching or writing, he actively follows and explores new developments in AI, Quantum Machine Learning, and Ethical Intelligence systems.
Contents
Table of Contents
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.