CONTENTS
APPENDIX A
Your teachers, in reading order
3 MIN READ
These are the people and works this book is built on, arranged as a curriculum. Read the primary sources: they're better than any summary, including this one.
Stage 1: the big picture
- Chip Huyen, AI Engineering (O'Reilly, 2025). The most complete book on building applications with foundation models. Its final chapter covers AI engineering architecture and user feedback. Pair it with her post "Building A Generative AI Platform" (huyenchip.com, July 2024), which this book uses as its spine.
- Eugene Yan, Bryan Bischof, Charles Frye, Hamel Husain, Jason Liu and Shreya Shankar, What We Learned from a Year of Building with LLMs (applied-llms.org, 2024). Tactical, operational and strategic lessons from practitioners. Free.
- Eugene Yan, "Patterns for Building LLM-based Systems & Products" (eugeneyan.com, 2023). Seven patterns: evals, RAG, fine-tuning, caching, guardrails, defensive UX, user feedback. His blog on evals and recommendation systems is consistently excellent.
- Andrej Karpathy, "Software Is Changing (Again)" (YC AI Startup School talk, 2025). Software 1.0, 2.0 and 3.0, and LLMs as a new kind of computer.
Stage 2: the classic ML engineering lessons
- D. Sculley et al., "Hidden Technical Debt in Machine Learning Systems" (NeurIPS 2015). Short, and still right.
- Martin Zinkevich, "Rules of Machine Learning" (Google for Developers). 43 rules; the first few alone are worth it.
- Chip Huyen, Designing Machine Learning Systems (O'Reilly, 2022). The production ML foundations under AI engineering.
Stage 3: evals (the most important stage)
- Hamel Husain, "Your AI Product Needs Evals" (hamel.dev, 2024), "A Field Guide to Rapidly Improving AI Products" (2025) and "Using LLM-as-a-Judge For Evaluation".
- Hamel Husain and Shreya Shankar, the AI evals FAQ (hamel.dev) and their course "AI Evals For Engineers & PMs". Their O'Reilly book on evals is listed for late 2026.
- Shreya Shankar et al., "Who Validates the Validators?" (2024). Criteria drift.
- Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena" (NeurIPS 2023).
- Eugene Yan, "Evaluating the Effectiveness of LLM-Evaluators" (2024).
- Evan Miller, "Adding Error Bars to Evals" (Anthropic, 2024).
Stage 4: context and retrieval
- Jason Liu, "The RAG Playbook" (jxnl.co, 2024) and his course "Systematically Improving RAG Applications". Also his library Instructor for structured outputs.
- Anthropic, "Introducing Contextual Retrieval" (2024).
- Lance Martin, "Context Engineering for Agents" (2025).
- Drew Breunig, "How Long Contexts Fail" and "How to Fix Your Context" (2025).
- Yichao "Peak" Ji, "Context Engineering for AI Agents: Lessons from Building Manus" (2025).
- Anthropic, "Effective context engineering for AI agents" (2025).
- Chroma, "Context Rot" (2025) and Liu et al., "Lost in the Middle" (2023).
Stage 5: agents
- Erik Schluntz and Barry Zhang, "Building effective agents" (Anthropic, 2024).
- Anthropic, "Writing effective tools for agents" (2025) and "How we built our multi-agent research system" (2025).
- Walden Yan, "Don't Build Multi-Agents" (Cognition, 2025). Read it right after the Anthropic multi-agent post.
- Dex Horthy, "12-Factor Agents" (GitHub).
- Lilian Weng, "LLM Powered Autonomous Agents" (Lil'Log, 2023).
- Yao et al., "ReAct" (2022) and Yao et al., "τ-bench" (2024).
- Anthropic, "Effective harnesses for long-running agents" (2025).
Stage 6: security
- Simon Willison's blog, especially "The lethal trifecta for AI agents" (2025) and "The Dual LLM pattern" (2023). The best ongoing source on prompt injection.
- Beurer-Kellner et al., "Design Patterns for Securing LLM Agents against Prompt Injections" (2025).
- Debenedetti et al., "Defeating Prompt Injections by Design" (CaMeL) (2025).
- Meta, "Agents Rule of Two" (2025).
- OWASP Top 10 for LLM Applications 2025.
Stage 7: inference and serving
- Databricks, "LLM Inference Performance Engineering: Best Practices". The clearest introduction to TTFT, TPOT and memory-bandwidth limits.
- Kwon et al., "Efficient Memory Management for Large Language Model Serving with PagedAttention" (SOSP 2023) and the vLLM blog.
- Yu et al., "Orca" (OSDI 2022), Leviathan et al., "Fast Inference from Transformers via Speculative Decoding" (2022), Zhong et al., "DistServe" (OSDI 2024), Zheng et al., "SGLang" (NeurIPS 2024).
- Marc Brooker, "Exponential Backoff and Jitter" (AWS Architecture Blog).
Stage 8: practice
- Ali Aminian and Hao Sheng, Generative AI System Design Interview (ByteByteGo, 2024). A seven-step framework and ten worked case studies. Lighter on agents than the rest of this list, but good design drill.
- Provider documentation (Anthropic, OpenAI, Google) on prompt caching, batch processing, tool use and structured outputs. These change often; re-read them when you design.