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 the future of AI engineering with a complete collection covering local LLM deployment, AI infrastructure, production agent systems, and reliable automation. This bundle gives developers and technical professionals the practical skills to run powerful models privately, design scalable AI architectures, connect agents to real-world tools, and build intelligent systems ready for production.
Bought separately
$155
Minimum price
$75.00
$89.00
About the Bundle
Unlock the complete blueprint for building, deploying, securing, and scaling modern AI systems with this comprehensive collection of five practical engineering guides. Designed for developers, AI engineers, security-minded practitioners, and technical leaders, this bundle takes you from running private AI models on your own hardware to architecting reliable production-grade AI agents.
Start with Local Intelligence, where you learn how to run powerful open-source large language models directly on your MacBook using Apple Silicon. Master local inference, quantization, model optimization, and open-source AI frameworks while keeping your data private and your infrastructure under your control.
Move from experimentation to real-world deployment with The Local LLM Engineer, a hands-on guide to building complete local AI infrastructure. Learn how to choose hardware, serve optimized models, create RAG systems, integrate vector databases, and build AI-powered developer workflows without depending entirely on cloud platforms.
Once your AI systems grow beyond simple prompts, The Art of Harness Engineering teaches the critical engineering layer that makes AI reliable in production. Explore evaluation pipelines, monitoring, guardrails, context management, governance, and the architectures required to transform powerful models into dependable business systems.
Then go deeper into autonomous workflows with Building Pragmatic AI Agents That Use Tools and APIs. Learn how modern agent systems connect with external tools, APIs, databases, and services using leading frameworks including DSPy, Pydantic AI, Claude Agent SDK, OpenAI Agents SDK, and Google ADK. Understand the real engineering challenges behind building agents that are useful, safe, and scalable.
Finally, PydanticAI: Building Production-Grade AI Agents provides a focused deep dive into Python’s type-safe approach to AI agent development. Build robust agents with structured outputs, advanced workflows, durable execution, and production-ready patterns.
Together, these books form a complete roadmap for the next generation of AI engineering:
✓ Run private AI models locally ✓ Build your own local LLM infrastructure ✓ Design reliable AI application architectures ✓ Engineer production-grade AI agents ✓ Connect AI systems to real-world tools and APIs ✓ Apply modern safety, testing, and governance practices
Whether you are a developer building your first AI application, an engineer migrating toward local AI infrastructure, or a technical leader preparing for the agent-driven future, this bundle gives you the practical knowledge needed to build AI systems with control, reliability, and confidence.
About the Books
This book is a complete, practical guide to running large language models entirely on your own Mac. If you have an M1, M2, or M3 MacBook and want to deploy open-source LLMs locally for privacy, cost savings, or independence from cloud APIs, this book takes you from zero to mastery. You will learn the hardware architecture that makes Apple Silicon uniquely suited for this work, master every major inference framework (llama.cpp, Ollama, MLX, and Hugging Face Transformers), understand quantization strategies that fit billion-parameter models into your unified memory, and build real applications with local AI. Every technique described is fully open-source, reproducible on macOS, and grounded in real benchmarks and working code.
This book is a comprehensive guide to harness engineering: the discipline of designing the scaffolding that wraps around AI models to make them reliable, observable, and governable in production. Whether you are building an internal AI copilot, a customer-facing chatbot, or an autonomous agent system, the model alone will not deliver. The surrounding infrastructure: context management, guardrails, testing, monitoring, and governance: determines whether your AI system succeeds or fails. This book covers the principles, architectures, tools, and practices that constitute the emerging discipline of harness engineering, with real-world case studies from companies like OpenAI, LangChain, Stripe, and major financial institutions. Written for software engineers, AI practitioners, technical leaders, and advanced students.
This book is a complete guide to building, deploying, and optimizing local large language model infrastructure for software development workflows. It covers everything from selecting the right GPU and assembling the workstation through serving quantized models, building RAG pipelines with vector databases, creating agentic coding assistants, and integrating local inference with Claude Code. Written for developers, researchers, and AI engineers who want full control over their AI stack. This is the practical reference you need to go from zero to a production-ready local AI development system.
AI agents are everywhere, or at least everyone claims they are. But building an agent that reliably uses external tools, APIs, and databases to complete real tasks is a fundamentally different engineering challenge than writing prompts or fine-tuning models. This book bridges the gap between hype and reality. It walks you through five production-grade frameworks (DSPy, Pydantic AI, Claude Agent SDK, OpenAI Agents SDK, Google ADK), showing how each one approaches tool use, orchestration, and safety with runnable code examples, architectural comparisons, and hard-won lessons from teams deploying agents at scale.
Forward-Looking Disclaimer: This book was written with the agent framework landscape as it exists in mid-2026. Model versions, pricing tiers, API surfaces, and feature availability change rapidly. Where this manuscript references specific model names (for example, “GPT-5” or “Claude Sonnet 4”), these are illustrative projections based on publicly announced roadmaps and should be treated as such. All framework documentation URLs and code examples have been verified against live sources at the time of writing, but API surfaces may evolve. The engineering principles, patterns, and trade-off analyses presented here remain valid regardless of which specific model versions or framework releases you are using.
On “War Stories” and Illustrative Scenarios: Throughout this book, you will encounter anecdotes framed as consulting experiences. These are composite scenarios built from documented production issues, community forums, and engineering postmortems across the agent ecosystem. They are intended for pedagogical illustration to demonstrate real failure modes and debugging patterns rather than as specific verifiable case studies of named organizations. The underlying technical lessons, however, reflect genuine production challenges that teams face when deploying agents at scale.
This book is a comprehensive guide to PydanticAI, the Python agent framework that brings the rigor and developer experience of the Pydantic ecosystem to building production-grade generative AI applications. Whether you are a Python developer new to LLMs or an experienced AI practitioner looking for a framework that takes type safety seriously, this book will take you from your first agent to complex multi-agent systems with durable execution. Every chapter includes working code examples, real-world patterns, and practical exercises.
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.)
In fact, authors have earned over $15 million writing, publishing and selling 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.