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...

Build, test, deploy, and scale real-world AI applications with this two-volume engineering bootcamp. Learn Python, FastAPI, LLMs, semantic search, RAG, Docker, CI/CD, Kubernetes, cloud deployment, security, and production monitoring. One complete learning path from AI foundations to production-ready systems.
Bought separately
$41.98
Minimum price
$22.99
$29.99
About the Bundle
Move beyond AI prototypes and develop the engineering skills needed to build, deploy, secure, monitor, and scale real-world AI applications.
This bundle brings together both volumes of The AI Engineer into one structured, project-based learning path.
Volume I: Build the Foundations
Explore Python engineering, production APIs, databases, authentication, testing, AI fundamentals, embeddings, semantic search, retrieval-augmented generation (RAG), LLM application architecture, caching, background jobs, and performance engineering.
Volume II: Deploy. Scale. Operate.
Continue into Docker, Linux operations, Git and GitHub workflows, CI/CD, cloud deployment, Kubernetes, observability, production security, scaling strategies, and production readiness.
Python developers, backend engineers, aspiring AI engineers, and software developers who want to progress from building individual AI features to engineering complete, production-oriented AI systems.
Two volumes. One engineering journey. Build the system, deploy it, and learn how to operate it with confidence.
About the Books
The AI Engineer — Volume I: Build the Foundations is the first part of a project-based engineering journey for developers who want to move from traditional Python development into modern AI engineering.
AI engineering is much more than calling an LLM API.
A production AI system requires software architecture, APIs, databases, authentication, testing, reliability engineering, embeddings, semantic search, retrieval-augmented generation, LLM architecture, asynchronous processing, caching, and performance optimization.
This volume builds those foundations step by step.
You will begin by developing the mindset of a production engineer and learn how to structure professional Python projects. From there, you will build production APIs with FastAPI, design persistent data systems with PostgreSQL, implement authentication and authorization, and establish testing and reliability practices.
The book then moves into AI engineering foundations.
You will explore vectors and embeddings, semantic similarity, semantic search, retrieval-augmented generation, tokenization, attention, LLM architecture, context management, model providers, structured outputs, and AI system reliability.
The final part of the volume brings these concepts together into an AI-powered knowledge platform capable of processing technical documents, creating searchable representations, retrieving relevant information, and supporting grounded AI interactions.
This book is designed for:
This is not a book about using AI as a black box.
It is about understanding the engineering systems built around AI.
By the end of Volume I, you will have the foundations required to continue toward production deployment, cloud infrastructure, Kubernetes, observability, security, scaling, and complete AI system architecture in Volume II.
Learn the foundations. Build the system. Think like an AI Engineer.
The AI Engineer — Volume II: Deploy. Scale. Operate. takes you beyond development and into the engineering practices required to operate real-world AI systems.
Through practical examples and a project-based approach, you will explore:
The volume progresses from deployment fundamentals to cloud-native operations, security, scaling, architecture patterns, and a final engineering challenge designed to bring the concepts together.
A Note on Code and Architecture: This book is a comprehensive systems engineering guide, not a simple copy-paste code repository. While complete code snippets, configurations, and hands-on examples are provided throughout, the primary focus is on understanding architectural trade-offs, system boundaries, and production reliability. You will learn how and why production systems are built, not just run raw scripts.
This book is for Python developers, backend engineers, AI engineers, and software developers who want to move beyond prototypes and build systems they can deploy, monitor, secure, and operate with confidence.
You do not need to master every infrastructure tool before you begin. The goal is to develop the engineering judgment to understand how the pieces fit together, why production systems fail, and how to design better solutions.
Build systems that do more than work on your machine. Build systems that are ready for the real world.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
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
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
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.