Customers who viewed this item also viewed
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
AI Engineering: Building Applications with Foundation Models
Purchase options and add-ons
Recent breakthroughs in AI have not only increased demand for AI products, they've also lowered the barriers to entry for those who want to build AI products. The model-as-a-service approach has transformed AI from an esoteric discipline into a powerful development tool that anyone can use. Everyone, including those with minimal or no prior AI experience, can now leverage AI models to build applications. In this book, author Chip Huyen discusses AI engineering: the process of building applications with readily available foundation models.
The book starts with an overview of AI engineering, explaining how it differs from traditional ML engineering and discussing the new AI stack. The more AI is used, the more opportunities there are for catastrophic failures, and therefore, the more important evaluation becomes. This book discusses different approaches to evaluating open-ended models, including the rapidly growing AI-as-a-judge approach.
AI application developers will discover how to navigate the AI landscape, including models, datasets, evaluation benchmarks, and the seemingly infinite number of use cases and application patterns. You'll learn a framework for developing an AI application, starting with simple techniques and progressing toward more sophisticated methods, and discover how to efficiently deploy these applications.
- Understand what AI engineering is and how it differs from traditional machine learning engineering
- Learn the process for developing an AI application, the challenges at each step, and approaches to address them
- Explore various model adaptation techniques, including prompt engineering, RAG, fine-tuning, agents, and dataset engineering, and understand how and why they work
- Examine the bottlenecks for latency and cost when serving foundation models and learn how to overcome them
- Choose the right model, dataset, evaluation benchmarks, and metrics for your needs
Chip Huyen works to accelerate data analytics on GPUs at Voltron Data. Previously, she was with Snorkel AI and NVIDIA, founded an AI infrastructure startup, and taught Machine Learning Systems Design at Stanford. She's the author of the book Designing Machine Learning Systems, an Amazon bestseller in AI.
AI Engineering builds upon and is complementary to Designing Machine Learning Systems (O'Reilly).
- ISBN-101098166302
- ISBN-13978-1098166304
- Edition1st
- PublisherO'Reilly Media
- Publication dateJanuary 7, 2025
- LanguageEnglish
- Dimensions6.9 x 1.1 x 9 inches
- Print length532 pages
![]() |
Frequently bought together

Explore more from across the store
- Designing Machine Learning Systems: An Iterative Process for Production-Ready ApplicationsPaperbackFREE Shipping by AmazonGet it as soon as Monday, Aug 31
- Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Shipping by AmazonGet it as soon as Monday, Aug 31
- An Introduction to Statistical Learning: with Applications in Python (Springer Texts in Statistics)HardcoverFREE Shipping by AmazonGet it as soon as Tuesday, Sep 1Only 8 left in stock (more on the way).
- Build a Reasoning Model (From Scratch)PaperbackFREE Shipping by AmazonGet it as soon as Monday, Aug 31
- The AI Engineering Bible: The Complete and Up-to-Date Guide to Build, Deploy and Scale Production Ready AI SystemsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Aug 31
- A Philosophy of Software Design, 2nd EditionPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Aug 31
Customers also bought or read
- Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Mon, Aug 31 - Hands-On Large Language Models: Language Understanding and Generation
Paperback$37.68$37.68FREE delivery Mon, Aug 31 - Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural Networks
Paperback$49.24$49.24FREE delivery Mon, Aug 31 - Building Applications with AI Agents: Designing and Implementing Multiagent Systems
Paperback$56.44$56.44FREE delivery Mon, Aug 31 - LLM Engineer's Handbook: Master the art of engineering large language models from concept to production
Paperback$39.99$39.99FREE delivery Mon, Aug 31 - Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications
Paperback$68.99$68.99FREE delivery Mon, Aug 31 - Prompt Engineering for LLMs: The Art and Science of Building Large Language Model-Based Applications
Paperback$54.51$54.51FREE delivery Mon, Aug 31 - Designing Multi-Agent Systems: Principles, Patterns, and Implementation for AI Agents
Paperback$46.39$46.39FREE delivery Mon, Aug 31 - Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs
Paperback$50.00$50.00FREE delivery Mon, Aug 31 - Building AI Agents with LLMs, RAG, and Knowledge Graphs: A practical guide to autonomous and modern AI agents
Paperback$41.99$41.99FREE delivery Mon, Aug 31 - AI Systems Performance Engineering: Optimizing Model Training and Inference Workloads with GPUs, CUDA, and PyTorch
Paperback$71.05$71.05$3.99 delivery Sep 10 - 15 - The AI Engineering Bible: The Complete and Up-to-Date Guide to Build, Deploy and Scale Production Ready AI Systems
Paperback$34.90$34.90Delivery Mon, Aug 31 - LLMs in Production: From language models to successful products
Paperback$48.13$48.13FREE delivery Mon, Aug 31 - Building LLMs for Production: Enhancing LLM Abilities and Reliability with Prompting, Fine-Tuning, and RAG
Paperback$43.59$43.59FREE delivery Mon, Aug 31 - AI Agents in Action: Build, orchestrate, and deploy autonomous multi-agent systems
Paperback$59.99$59.99FREE delivery Tue, Sep 1 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
Paperback$44.99$44.99FREE delivery Mon, Aug 31 - Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$75.43$75.43FREE delivery Mon, Aug 31 - AI Agents and Applications: With LangChain, LangGraph, and MCP
Paperback$51.69$51.69FREE delivery Mon, Aug 31 - Generative AI with LangChain: Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph
Paperback$41.99$41.99FREE delivery Mon, Aug 31 - Fundamentals of Software Architecture: A Modern Engineering Approach#1 Best SellerComputer Programming Logic
Paperback$52.40$52.40FREE delivery Mon, Aug 31 - Knowledge Graphs and LLMs in Action: Build AI systems using connected data
Paperback$55.99$55.99FREE delivery Mon, Aug 31 - AI Agents in Action, Second Edition: Intelligent workflows with LLMs, MCP, A2A, and more#1 New ReleaseNatural Language Processing
Paperback$47.48$47.48FREE delivery Mon, Aug 31 - The Hundred-Page Language Models Book: hands-on with PyTorch (The Hundred-Page Books)
Paperback$46.95$46.95FREE delivery Mon, Aug 31 - Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph
Paperback$55.01$55.01FREE delivery Mon, Aug 31 - Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$48.99$48.99FREE delivery Sep 3 - 6 - A Philosophy of Software Design, 2nd Edition#1 Best SellerComputer Systems Analysis & Design
Paperback$20.49$20.49Delivery Mon, Aug 31 - Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems
Paperback$36.42$36.42FREE delivery Mon, Aug 31
From the brand
-
Machine Learning, AI & more
-
Machine Learning
-
Artificial Intelligence
-
Deep Learning
-
Language Processing (NLP, LLM)
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
Who This Book Is For
This book is for anyone who wants to leverage foundation models to solve real-world problems. This is a technical book, so the language of this book is geared toward technical roles, including AI engineers, ML engineers, data scientists, engineering managers, and technical product managers. This book is for you if you can relate to one of the following scenarios:
- You’re building or optimizing an AI application, whether you’re starting from scratch or looking to move beyond the demo phase into a production-ready stage. You may also be facing issues like hallucinations, security, latency, or costs, and need targeted solutions.
- You want to streamline your team’s AI development process, making it more systematic, faster, and reliable.
- You want to understand how your organization can leverage foundation models to improve the business’s bottom line and how to build a team to do so.
You can also benefit from the book if you belong to one of the following groups:
- Tool developers who want to identify underserved areas in AI engineering to position your products in the ecosystem.
- Researchers who want to better understand AI use cases.
- Job candidates seeking clarity on the skills needed to pursue a career as an AI engineer.
- Anyone wanting to better understand AI’s capabilities and limitations, and how it might affect different roles.
I love getting to the bottom of things, so some sections dive a bit deeper into the technical side. While many early readers like the detail, it might not be for everyone. I’ll give you a heads-up before things get too technical. Feel free to skip ahead if it feels a little too in the weeds!
AI Engineering
|
Ingeniería de IA
|
Ingegneria dell'IA
|
Ingénierie de l'IA
|
Ingénierie de l'IA
|
|
|---|---|---|---|---|---|
| Languages | English | Spanish | Italian | French | German |
Editorial Reviews
Review
- Vittorio Cretella, former global CIO at P&G and Mars
"Chip Huyen gets generative AI. She is a remarkable teacher and writer whose work has been instrumental in helping teams bring AI into production. Drawing on her deep expertise, AI Engineering is a comprehensive and holistic guide to building generative AI applications in production."
- Luke Metz, co-creator of ChatGPT
"Every AI engineer building real-world applications should read this book. It's a vital guide to end-to-end AI system design, from model development and evaluation to large-scale deployment and operation."
- Andrei Lopatenko, Director Search and AI, Neuron7
"This book serves as an essential guide for building AI products that can scale. Unlike other books that focus on tools or current trends that are constantly changing, Chip delivers timeless foundational knowledge. Whether you're a product manager or an engineer, this book effectively bridges the collaboration gap between cross-functional teams, making it a must-read for anyone involved in AI development."
- Aileen Bui, AI Product Operations Manager, Google
"This is the definitive segue into AI Engineering from one of the greats of ML Engineering! Chip has seen through successful projects and careers at every stage of a company and for the first time ever condensed her expertise for new AI Engineers entering the field."
- swyx, Curator, AI Engineer
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : January 7, 2025
- Edition : 1st
- Language : English
- Print length : 532 pages
- ISBN-10 : 1098166302
- ISBN-13 : 978-1098166304
- Item Weight : 2.05 pounds
- Dimensions : 6.9 x 1.1 x 9 inches
- Best Sellers Rank: #3,237 in Books (See Top 100 in Books)
- #1 in Enterprise Applications
- #1 in Machine Theory (Books)
- #1 in Natural Language Processing (Books)
- Customer Reviews:
About the author

I’m Chip Huyen, a writer and computer scientist. I grew up chasing grasshoppers in a small rice-farming village in Vietnam.
I work in the intersection of AI, data, and storytelling. Previously, I built machine learning tools at NVIDIA, Snorkel AI, Netflix, and founded an AI infrastructure startup (acquired).
I also taught Machine Learning Systems Design at Stanford.
My last book, Designing Machine Learning Systems, is an Amazon bestseller in AI and has been translated into over 10 languages (very proud!).
In my free time, I like writing stories. I'm also the author of 4 Vietnamese story books.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Reviews with images
Awesome pick!
Top reviews from the United States
- 5 out of 5 stars
A Practical Guide to AI Engineering
Reviewed in the United States on July 27, 2026A well-written and practical book for anyone building applications with foundation models. It focuses on real-world AI engineering challenges, with clear explanations and actionable examples rather than just theory. Great for developers and ML engineers looking to build production-ready AI systems. Highly recommended!
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
The best intro to AI engineering I've encountered
Reviewed in the United States on November 5, 2025It's always daunting to pick up a technical book that's over 500 pages long or 21 hours long. However, this book did not disappoint. Not every section, of course, addressed my particular needs. However, the entire treatise was clearly communicated with a broader technical audience in mind. That should be no surprise because Chip Huyen, besides being an AI expert, taught graduate school classes in AI at Stanford and writes science fiction as a side hobby. This book is simply the best technical introduction I've encountered to date.
The book starts with high-level concepts about AI, which would be accessible to all sorts of scientific folks. Then it focuses on technical topics that are of most interest to engineers. It does an excellent job of centering around concepts first and not being wedded to particular technologies which will soon change. I valued the insights so much that, after listening to the audiobook, I even bought a paper copy to have for a reference.
I plan to continue to read about AI engineering, but given that I haven't taken formal coursework in the topic, this book served as an equivalent to a graduate school class to give me confidence to dive deeper. Although some math were presented, the audiobook was incredibly accessible, unlike with some technical books. For those who spend time commuting in cars, I recommend listening to the text if you don't have time to flip through a paper book.
Overall, this book raised my game significantly about AI. Where other books obscure with technical jargon, this book enlightens with clear concepts. I still need to brush up on a few focused topics to ready myself for a project, but I'm much more fluent about the ideas than before. I highly recommend this in-depth introduction, at least for the next few years until the field outpaces our knowledge once again.
24 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Best to start with!
Reviewed in the United States on May 9, 2026Reading this book was fun and helped me connect dots of concepts that hitherto felt like just buzz words. After reading this book, I was prepped enough to read on higher level books. Highly recommended if you're just starting to learn AI and LLMs.
3 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Very helpful in breaking down complex AI aspects!!
Reviewed in the United States on May 5, 2026Love this book. Very insightful and extremely helpful in breaking down many of the complex aspects of AI so they are easy to understand!!!
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Great comprehensive book on the subject
Reviewed in the United States on April 16, 2025Great comprehensive book on AI engineering. This book simplifies the concepts and techniques of advanced AI development with practical applications across Generative AI
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great book for beginners
Reviewed in the United States on July 30, 2026Great book for beginners
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
How it's made
Reviewed in the United States on August 14, 2026This is an easy-to-read, how it's made book, relevant -- just need to look up more recent advancements in some of the author's citing. Almost finished reading along with local tech community book club, and it is sparking lots of interesting conversation
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Thank you for this book.
Reviewed in the United States on July 16, 2026I am Full-stack developer, and I looked for a book which give me the work methodology building AI application.
I have read 50% of this book, I have to say that this book is written so well, each page is very clear, and the reading is fluent (something which hard to provide in technical books), and I am not native English speaker.
Thank you for this book.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
عبير عضابي5 out of 5 starsنسخه جيده وطباعه واضحه سهل الفهم وثري بلمعلومات
Reviewed in Saudi Arabia on April 8, 2026كتاب رائع تغليف جيد والورق والكتابه واضحه سرعه بشحن وتوصيل المعلومات فيه قيمه جدا جدا دخفت دورات كثير ماأستفدت زي هذا الكتاب أنصح فيه وبشده مممتع جدا وسهل الفهم
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Andrzej Karpuszonak5 out of 5 starsA must-read for AI practitioners
Reviewed in Spain on July 18, 2026Chip Huyen has written a genuinely practical guide for AI practitioners.
The standout chapters are the ones on RAG and agentic systems — the author is upfront that these areas are still experimental and evolving fast, but that's exactly what makes her treatment of them so valuable.
A gem.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Julien Z5 out of 5 starsGreat overview
Reviewed in Canada on June 13, 2025The central idea of the book is that foundation models have become so powerful and expensive to build that, instead of training models, many organizations might be better off creating applications on top of them. The book covers evaluation, guardrails, security, finetuning, context construction, inference optimization, user feedback and architecture.
The level of detail is excellent: we're looking under the hood just enough to understand what's going on, but keep that high level perspective that allows the book to give a overview of a broad topic in just 500 pages.
I highly recommended this book to engineers looking for an overview of AI engineering — as opposed to ML engineering, which might be too low-level for them and be more relevant for data scientists.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Sumanesh5 out of 5 starsBook and delivery are good
Reviewed in Singapore on May 8, 2026Fantastic book and great and timely delivery
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Ace - Data and AI Executive at some of the world biggest organisations5 out of 5 starsAn Essential Roadmap for Navigating the AI Disruption
Reviewed in Australia on March 4, 2026If you feel like the ground is shifting beneath your feet as an engineer, you aren't imagining it and Chip Huyen’s AI Engineering is one of the best guides to make sense of the chaos.
Our February 2026 Data & AI Book Club recently dissected this book, and the consensus was clear; it’s a manual for the new reality of software development.
Whether you are a seasoned architect or a developer just starting to integrate agentic workflows, this book provides the framework to stay relevant. It’s not just about learning tools; it’s about understanding the shift in economics and strategy that defines the current year.
AI is a fast evolving space and so much has already happened since the book was published. We look forward to a second edition that includes AI engineering with vibe coding, AI platforms and multi agent systems.
5 out of 5 starsAn Essential Roadmap for Navigating the AI Disruption
Reviewed in Australia on March 4, 2026If you feel like the ground is shifting beneath your feet as an engineer, you aren't imagining it and Chip Huyen’s AI Engineering is one of the best guides to make sense of the chaos.
Our February 2026 Data & AI Book Club recently dissected this book, and the consensus was clear; it’s a manual for the new reality of software development.
Whether you are a seasoned architect or a developer just starting to integrate agentic workflows, this book provides the framework to stay relevant. It’s not just about learning tools; it’s about understanding the shift in economics and strategy that defines the current year.
AI is a fast evolving space and so much has already happened since the book was published. We look forward to a second edition that includes AI engineering with vibe coding, AI platforms and multi agent systems.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again




















