All resources khaliladib.com

Reading list · 5 books · read in order

5 books every AI engineer should read.

Read them in this order: build with LLMs first, then the system around the model, then the data underneath it, then how to explain it all in an interview, and finally how to serve models fast and cheaply.

  1. 01AI Engineering
  2. 02Designing ML Systems
  3. 03Designing Data-Intensive Applications
  4. 04ML System Design Interview
  5. 05Inference Engineering
  1. Cover of AI Engineering by Chip Huyen

    01 Start here

    AI Engineering

    Chip Huyen · O'Reilly · 2025

    How to build real products on top of foundation models. It's not a tutorial and has very little code: it teaches you how to think about LLM apps, so it stays useful as the tools change.

    What you'll learn

    • How to evaluate models and LLM apps, including using AI as a judge
    • Prompt engineering that holds up in production
    • RAG and agents: how they work and when to use them
    • When fine-tuning is worth it, and how to do it
    • Building and cleaning datasets for your use case
    • Making inference faster and cheaper
    Best forAnyone building with LLMs today: engineers, data scientists and technical PMs.
    Why firstIt's the map of the whole field. Everything after this goes deeper on one part of it.
  2. Cover of Designing Machine Learning Systems by Chip Huyen

    02 The system around the model

    Designing Machine Learning Systems

    Chip Huyen · O'Reilly · 2022

    The model is a small part of a real ML system. This book covers everything around it, and it's what turns a notebook into something that runs reliably in production.

    What you'll learn

    • Getting, labelling and sampling training data
    • Feature engineering and avoiding data leakage
    • Model development and offline evaluation
    • Deployment: batch versus online prediction
    • Spotting data distribution shifts and monitoring models
    • Continual learning and testing in production
    Best forML engineers, data scientists and platform engineers who ship models.
    Good to knowIt's about classic ML systems and predates the LLM wave, but the principles carry straight over.
  3. Cover of Designing Data-Intensive Applications by Martin Kleppmann

    03 The bible of data engineering

    Designing Data-Intensive Applications

    Martin Kleppmann · O'Reilly

    It's not an AI book, but every AI system runs on data. This is the book that explains how data systems actually work, and how they scale without falling over.

    What you'll learn

    • Data models and how databases store and find data
    • Replication: keeping copies of data in sync
    • Partitioning data across many machines
    • Transactions and what "consistent" really means
    • The hard problems of distributed systems and consensus
    • Batch and stream processing
    Best forAny engineer whose systems touch data at scale, which is every AI engineer.
    Why thirdOnce you've built AI apps and ML systems, this shows you the foundations they stand on.
  4. Cover of Machine Learning System Design Interview by Ali Aminian and Alex Xu

    04 For interviews

    Machine Learning System Design Interview

    Ali Aminian & Alex Xu · ByteByteGo · 2023

    A step-by-step framework for ML system design questions, then real questions worked through end to end. It turns everything from the first three books into answers you can give out loud.

    What you'll learn

    • A 7-step framework for any ML system design question
    • Visual and video search
    • Video and event recommendations
    • Ad click prediction
    • A personalised news feed and "people you may know"
    • Harmful content detection
    Best forAnyone preparing for ML or AI engineer interviews.
    Why fourthIt's much easier once you know how real systems are built.

    This is the one that helped me prepare for my Meta and Google interviews.

  5. Cover of Inference Engineering by Philip Kiely
    free online

    05 Serving models fast and cheaply

    Inference Engineering

    Philip Kiely · Baseten Books · 2026

    What happens after the model is trained: running it on GPUs, fast and cheaply, for real users. And it's free to read online.

    What you'll learn

    • How GPUs run model inference, and where the bottlenecks are
    • Inference engines like vLLM and SGLang
    • Quantisation: smaller, faster models
    • KV cache re-use and other speed-ups
    • Running inference in production
    Best forEngineers who want to self-host or serve their own models.
    Good to knowIt's published by Baseten, where the author works, and focuses on NVIDIA GPUs in the datacentre.

Want the concepts behind these books?

27 AI concepts, from transformers to parallelism, each one with its own animation.

Open the concepts