Module resources

GenAI system design

Checked sources to go further than the lessons. Back to the module.

Recommended learning sequence

Work through these in order.

  1. Building A Generative AI Platform (opens in a new tab)

    Chip Huyen2024Article

    Repeated on purpose: it is also in the module 9 resources. Start with a map of a whole GenAI system: context, guardrails, a router and gateway, caches, write actions and observability. Each step is a box you will place and defend in the lessons.

  2. Patterns for Building LLM-based Systems & Products (opens in a new tab)

    Eugene Yan2023Article

    Then see the same ground as seven patterns (evals, RAG, fine-tuning, caching, guardrails, defensive UX, user feedback), each framed by the problem it solves. Useful for naming a trade-off in one sentence.

  3. How we built our multi-agent research system (opens in a new tab)

    Jeremy Hadfield, Barry Zhang, Kenneth Lien, Florian Scholz, et al.2025Article

    Repeated on purpose: it is used in other modules, and here it is the best case study of a real agent product. See evaluation, retries and checkpoints, gradual rollout and token cost from the team that built it.

  4. Chapter 16: Canarying Releases (opens in a new tab)

    Alec Warner, Štěpán Davidovič2018Book

    Repeated on purpose: it is a source in module 9 lesson 5 (RAG security and release), and here it supports rollout and rollback. Read how a canary limits the damage of a bad release and what to do when it fails. This is the method behind the rollout and rollback answers in lessons 1 and 3.

  5. Chapter 15: Postmortem Culture: Learning from Failure (opens in a new tab)

    John Lunney, Sue Lueder2017Book

    Learn how to write up a failure without blame: impact, mitigation, causes and follow-up actions. It is the shape to follow when you defend a project and say what failed.

  6. The System Design Primer (opens in a new tab)

    Donne Martin2026Repository

    Finish by practising. Take one question from its solved list, run its four steps (use cases and constraints, high-level design, core components, scale) out loud, then redo it with a RAG or agent problem from this module.

All resources

Official documentation

  • Reducing latency (opens in a new tab)

    Anthropic2026Documentation

    Repeated on purpose: it is used in module 9 lesson 1 (cost and latency). Separates baseline latency from time to first token, and lists three levers: model choice, shorter prompts and outputs, and streaming. Use it to justify the latency choices in your design, such as streaming for a responsive chat.

Further reading

  • Building A Generative AI Platform (opens in a new tab)Essential

    Chip Huyen2024Article

    Repeated on purpose: it is also in the module 9 resources. A step-by-step build-up of a GenAI platform, with input and output guardrails and their trade-offs, model routing, prompt, exact and semantic caches, and metrics, logs and traces. It gives you the vocabulary for the components in lessons 1 to 3.

  • Patterns for Building LLM-based Systems & Products (opens in a new tab)

    Eugene Yan2023Article

    A long article that sorts LLM product work into patterns: evals, retrieval, fine-tuning, caching, guardrails, defensive UX and feedback. Use it to check that your design covers each pattern.

Research papers

  • Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (opens in a new tab)

    Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, et al.2023PaperNeurIPS 2023 Datasets and Benchmarks Track

    Repeated on purpose: it appears in other modules, and it matters when your evaluation plan uses a model as a judge. It reports position, verbosity and self-enhancement bias, so you can state the limits of an automated grader in a review.

Hands-on

  • The System Design Primer (opens in a new tab)

    Donne Martin2026Repository

    A general system design study repo, not about GenAI. Its approach to an interview question (clarify use cases and constraints, high-level design, core components, scale) and its back-of-the-envelope estimates match the habits of lessons 1 and 4. It also lists solved questions and Anki decks to practise on.

Books

  • Chapter 16: Canarying Releases (opens in a new tab)

    Alec Warner, Štěpán Davidovič2018Book

    Repeated on purpose: it is used in module 9 lesson 5. A chapter on partial, time-limited rollouts with the rest of the service as the control, rollback when the canary looks bad, and how to pick metrics that show real user problems. It grounds the staged rollout and the threshold rollback in lesson 3.

  • Chapter 15: Postmortem Culture: Learning from Failure (opens in a new tab)

    John Lunney, Sue Lueder2017Book

    A chapter on blameless postmortems: when to write one, what it records and how to review it. It supports lesson 5's rule to name what failed and what you would change, and the habit of pairing each failure with follow-up actions.

Case studies

  • How we built our multi-agent research system (opens in a new tab)

    Jeremy Hadfield, Barry Zhang, Kenneth Lien, Florian Scholz, et al.2025Article

    Repeated on purpose: it appears in other modules, and here it supports lesson 2. The authors report that agents use about 4 times the tokens of chat and multi-agent systems about 15 times, so cost caps and value per task belong in an agent design. They also describe resuming from failure and gradual traffic shifts between versions.

  • Engineering RAG Systems for Real-World Applications: Design, Development, and Evaluation (opens in a new tab)

    Md Toufique Hasan, Muhammad Waseem, Kai-Kristian Kemell, Ayman Asad Khan, et al.2025PaperSEAA 2025 (51st Euromicro Conference on Software Engineering and Advanced Applications)

    Repeated on purpose: it appears in the RAG module. An experience report on five RAG applications built for real use, with twelve lessons, that you can cite when justifying design choices in lesson 1. The arXiv page lists it in the SEAA 2025 proceedings.