Skip to content

Sources

The roadmap’s courses, books, articles and repos are listed here with their purpose, perspective and date.

  • Recommendation review (2026-11-09): course lectures, textbook chapter numbers and assignment topics were checked against original syllabi, tables of contents and assignment descriptions. This does not mean every video was watched, every external assignment completed, or examples run on every hardware setup. External resources are optional; choose the sections relevant to your goal and follow their own prerequisites.
  • Maintenance: this field moves fast, so the list is checked once a quarter. If a link is broken or the content is out of date, please report it or open a PR
  • Chapters: the Chapters column lists which chapters each resource goes with; for how to read the codes before the chapter titles, see How to read the codes
  • Language: entries marked (in Chinese) are in Chinese; everything else is in English

Course What it’s for Chapters
Stanford CS 329Z Engineering AI Agents (Fall 2026) Covers agent components, optimization, evaluation and safety, with readings on the syllabus. Slides appear as the course runs (checked 2026-11-09: available through the Nov 4 evaluation lecture); recordings are Stanford-internal only S0 AI Systems Overview, S9 Retrieval and RAG to S19 Real Agent Systems and the Capstone
CMU 11-768 AI Agents (Neubig, Fried, Fall 2026) Assignments go harness → evals → training, the closest match to this roadmap S10 Tools and MCP to S16 Security and Governance
Stanford CS336 Language Modeling from Scratch Spring 2026: implements language models, training and inference systems from scratch; assumes Python, PyTorch, linear algebra and probability S2 Transformers and Decoding to S5 Inference and Serving
Stanford CS224N (Winter 2026) The classic introduction from NLP to LLMs; assignment 4 is LLM evaluation S1 Neural Network Basics to S4 Post-training and Reasoning, S8 Evals Methodology
CMU 11-711 Advanced NLP (Welleck) Assignment 1 is Build Your Own LLaMa; includes lectures on RL basics S2 Transformers and Decoding to S5 Inference and Serving
CMU 11-766 LLM Applications Application side: prompt sensitivity, deep research, attacking LLM applications S7 Prompts, Structured Output and Workflows, S9 Retrieval and RAG, S16 Security and Governance
CMU 15-442 ML Systems GPUs, parallelism, serving S3 Pretraining and Scaling, S5 Inference and Serving
CMU 11-868 LLM Systems Serving systems such as FlashAttention, vLLM and DistServe S5 Inference and Serving, S18 Deployment and Architecture
MIT 6.5940 TinyML and Efficient AI Quantization, distillation; has a lab on deploying an LLM on a laptop S5 Inference and Serving
Stanford CS329A Self-Improving AI Agents Test-time compute, verifiers, self-improvement S4 Post-training and Reasoning, S14 Agent Evals, Data and Optimization
Stanford CS329H ML from Human Preferences Theory of preference learning (Bradley–Terry and more); optional S4 Post-training and Reasoning
Stanford CS 224G Building & Scaling LLM Applications Startup-oriented; two lectures on context engineering, plus the product side S11 Context Engineering, S17 Product and AI UX
Stanford CS146S The Modern Software Developer Working with coding agents: MCP, skills, spec-driven development S19 Real Agent Systems and the Capstone
Stanford CS25 Transformers United V6 Seminar series; Frye (Modal) on production serving S2 Transformers and Decoding, S5 Inference and Serving, S18 Deployment and Architecture
Berkeley LLM Agents MOOC F24, Advanced LLM Agents Sp25, Agentic AI F25 Strong lineup of speakers; recordings are public S12 The Agent Loop and Harness to S16 Security and Governance
Buffalo CSE 410/510 Agentic Engineering Pairs a math thread with each week; useful lab designs S9 Retrieval and RAG to S16 Security and Governance
Leiden Agentic LLMs Social behavior in multi-agent systems, Theory of Mind S15 Multi-agent Systems
Harvard CS 2881R AI Safety (Fall 2026) Reward hacking, model specs, interpretability S4 Post-training and Reasoning, S16 Security and Governance
Princeton COS 597R, COS 598A AI Safety Data curation; classic jailbreak papers, safety cases S3 Pretraining and Scaling, S16 Security and Governance
NTU Hung-yi Lee, Introduction to Generative AI 2024 (in Chinese) Videos in Traditional Chinese; explains the principles top-down S0 AI Systems Overview to S5 Inference and Serving, S7 Prompts, Structured Output and Workflows, S16 Security and Governance
NTU Hung-yi Lee, Machine Learning Spring 2025 (in Chinese) AI agents, reasoning, fine-tuning and forgetting, model editing / merging S2 Transformers and Decoding to S4 Post-training and Reasoning
NTU Hung-yi Lee, Introduction to GenAI and ML Fall 2025 (in Chinese) Includes a lecture on context engineering S0 AI Systems Overview, S11 Context Engineering
NTU Yun-Nung Chen, Applied Deep Learning 2026 (in Chinese) Taught in Chinese; RAG, agents, human-AI interaction S1 Neural Network Basics to S2 Transformers and Decoding, S9 Retrieval and RAG, S17 Product and AI UX
NTHU Hung-Yu Kao, NLP 2026 (in Chinese) Bilingual Traditional Chinese / English slides and videos S1 Neural Network Basics to S4 Post-training and Reasoning
Source What it’s for Chapters
Chip Huyen, AI Engineering (O’Reilly 2025), companion repo The backbone of application engineering: evals, RAG, fine-tuning, data, inference, architecture, user feedback. A paid book; the repo has summaries only S5 Inference and Serving, S7 Prompts, Structured Output and Workflows to S9 Retrieval and RAG, S17 Product and AI UX, S18 Deployment and Architecture
rasbt/LLMs-from-scratch Implements GPT from scratch; bonus material covers KV cache, GQA, MLA, MoE, DPO S2 Transformers and Decoding to S5 Inference and Serving
karpathy/nn-zero-to-hero Video series; the best intuition for backprop and training. Not updated since 2024 S1 Neural Network Basics to S2 Transformers and Decoding
mlabonne/llm-course A roadmap-style map of links; unusually complete on data engineering, quantization and security. Content not updated since 2025-12 S3 Pretraining and Scaling to S5 Inference and Serving, S9 Retrieval and RAG
Hugging Face Ultra-Scale Playbook The standard reading on parallel training S3 Pretraining and Scaling
Hugging Face LLM Course, MCP Course, Agents Course Chapters 11–12 cover SFT and GRPO; the Agents Course leans on frameworks S4 Post-training and Reasoning, S10 Tools and MCP, S12 The Agent Loop and Harness
microsoft/ai-agents-for-beginners 18 lessons; L03 is one of the few that covers agentic UX. Heavily tied to Azure S16 Security and Governance to S18 Deployment and Architecture
anthropics/courses Prompting tutorials and a prompt evaluations lab. Archived, but the content is still usable S7 Prompts, Structured Output and Workflows, S8 Evals Methodology
humanlayer/12-factor-agents “Own your prompts, context and control flow.” Partly promotes HumanLayer’s product S7 Prompts, Structured Output and Workflows, S11 Context Engineering, S12 The Agent Loop and Harness
SWE-agent/mini-swe-agent A complete agent in about 100 lines S0 AI Systems Overview, S12 The Agent Loop and Harness
WenyuChiou/awesome-agentic-ai-zh (in Chinese) An agent learning map in Traditional Chinese; strong 8-component harness checklist and evals. Leans toward the Claude Code ecosystem; shallow on how models work S12 The Agent Loop and Harness, S14 Agent Evals, Data and Optimization
karpathy/makemore Character-level language model; the S1 Neural Network Basics exercise uses its names.txt data. Not updated since 2024 S1 Neural Network Basics
karpathy/nanoGPT The leanest GPT training repo; S2 Transformers and Decoding borrows its config while you write the model yourself S2 Transformers and Decoding
karpathy/nanochat End-to-end training of a small ChatGPT; the full version needs 8×H100, with scaled-down CPU / MPS versions S3 Pretraining and Scaling, model project
GeeeekExplorer/nano-vllm A minimal vLLM in about 1,200 lines, to compare against your own inference server S5 Inference and Serving, model project
SWE-agent/mini-swe-agent: agents/default.py Source of the agent’s main loop; S0 AI Systems Overview walks through it method by method S0 AI Systems Overview
Microsoft ai-agents-for-beginners L03: AI Agentic Design Principles Three principles: transparency, control, consistency. Examples are tied to Azure; the principles are general S17 Product and AI UX
Microsoft: Guidelines for Human-AI Interaction (2019) 18 human-AI interaction guidelines, usable as a UI audit checklist S17 Product and AI UX
Nielsen Norman Group: Response Times: The 3 Important Limits (Nielsen 1993, drawing on Miller 1968 and Card et al. 1991) The three response-time thresholds: 0.1 s / 1 s / 10 s S17 Product and AI UX
roadmap.sh AI Engineer, AI Agents A coverage checklist; a thorough summary of context failure modes. Shallow, mostly lists of tools All
Article Date Chapters
Building effective AI agents 2024-12-19 S0 AI Systems Overview, S7 Prompts, Structured Output and Workflows, S12 The Agent Loop and Harness
Contextual retrieval (the vendor’s own experiments) 2024-09-19 S9 Retrieval and RAG
How we built our multi-agent research system 2025-06-13 S15 Multi-agent Systems, S19 Real Agent Systems and the Capstone
Writing effective tools for AI agents 2025-09-11 S10 Tools and MCP
A postmortem of three recent issues 2025-09-17 S18 Deployment and Architecture
Effective context engineering for AI agents 2025-09-29 S11 Context Engineering, S12 The Agent Loop and Harness
Equipping agents with Agent Skills 2025-10-16 S12 The Agent Loop and Harness
Making Claude Code safer with sandboxing 2025-10-20 S10 Tools and MCP
Code execution with MCP for efficient agents 2025-11-04 S10 Tools and MCP
Introducing advanced tool use for Claude 2025-11-24 S10 Tools and MCP
Mitigating prompt injections in browser use 2025-11-24 (covers browser agents only) S16 Security and Governance
Effective harnesses for long-running agents 2025-11-26 S12 The Agent Loop and Harness
Demystifying evals for AI agents 2026-01-09 S8 Evals Methodology, S14 Agent Evals, Data and Optimization
Infrastructure noise in agentic coding evals 2026-02-05 S14 Agent Evals, Data and Optimization
Eval awareness in Claude Opus 4.6’s BrowseComp performance 2026-03-06 S14 Agent Evals, Data and Optimization, S15 Multi-agent Systems
Harness design for long-running apps 2026-03-24 S12 The Agent Loop and Harness
How we built Claude Code auto mode 2026-03-25 S16 Security and Governance
Scaling Managed Agents with stable interfaces 2026-04-08 S12 The Agent Loop and Harness, S18 Deployment and Architecture
An update on Claude Code quality reports 2026-04-23 S18 Deployment and Architecture
How we contain Claude across products 2026-05-25 S16 Security and Governance
The components of agent memory 2026-11-06 S13 Memory and Personalization
Claude’s Constitution (model behavior spec) 2026-11-06 (update date shown on the page) S16 Security and Governance
Best practices for Claude Code (official docs) — S19 Real Agent Systems and the Capstone
Source Date Chapters
OpenAI: A Practical Guide to Building Agents 2025 (updated since) S0 AI Systems Overview, S12 The Agent Loop and Harness, S15 Multi-agent Systems
OpenAI: Understanding prompt injections 2025-11-07 S16 Security and Governance
OpenAI Agents SDK (guardrails, handoffs, tracing) — S12 The Agent Loop and Harness, S15 Multi-agent Systems, S16 Security and Governance
OpenAI Agents SDK: Handoffs — S15 Multi-agent Systems
OpenAI: Why we no longer evaluate SWE-bench Verified 2026-02-23 S14 Agent Evals, Data and Optimization
OpenAI Model Spec (model behavior spec) Continuously updated (current version 2026-10-29) S16 Security and Governance
Kaggle: Foundational Large Language Models & Text Generation 2025-02 S2 Transformers and Decoding, S5 Inference and Serving
Kaggle: Prompt Engineering 2025-02 S7 Prompts, Structured Output and Workflows
Kaggle: Embeddings & Vector Stores 2025-02 S9 Retrieval and RAG
Kaggle: Agents Companion 2025 S14 Agent Evals, Data and Optimization, S15 Multi-agent Systems
Kaggle: Operationalizing Generative AI on Vertex AI using MLOps 2025 (leans toward Google Cloud) S18 Deployment and Architecture
Kaggle: Introduction to Agents 2025-11 S0 AI Systems Overview
Kaggle: Agent Tools & Interoperability with MCP 2025-11 S10 Tools and MCP, S16 Security and Governance
Kaggle: Context Engineering: Sessions & Memory 2025-11 S13 Memory and Personalization
Kaggle: Agent Quality 2025-11 S14 Agent Evals, Data and Optimization
Kaggle: Prototype to Production 2025-11 S18 Deployment and Architecture
Meta: Agents Rule of Two: A Practical Approach to AI Agent Security 2025-10-31 S16 Security and Governance
Source Date Chapters
Hamel Husain: Your AI Product Needs Evals 2024-03-29 S8 Evals Methodology
Hamel Husain: A Field Guide to Rapidly Improving AI Products 2025-03-24 S8 Evals Methodology
Hamel Husain: Using LLM-as-a-Judge For Evaluation: A Complete Guide 2024-10-29 S8 Evals Methodology
Hamel Husain: AI Evals: Everything You Need to Know (formerly the Evals FAQ) 2026-09-18 S8 Evals Methodology, S9 Retrieval and RAG, S14 Agent Evals, Data and Optimization
applied-llms.org: What We’ve Learned From A Year of Building with LLMs 2024-06 S0 AI Systems Overview, S8 Evals Methodology, S9 Retrieval and RAG, S17 Product and AI UX, S18 Deployment and Architecture
Eugene Yan: Patterns for Building LLM-based Systems & Products 2023 S8 Evals Methodology, S17 Product and AI UX
Lilian Weng: LLM Powered Autonomous Agents 2023-06-23 S0 AI Systems Overview
Lilian Weng: Prompt Engineering 2023-03-15 S7 Prompts, Structured Output and Workflows
Lilian Weng: Reward Hacking in Reinforcement Learning 2024-11-28 S4 Post-training and Reasoning, S14 Agent Evals, Data and Optimization
Lilian Weng: Why We Think 2025-05-01 S4 Post-training and Reasoning
Simon Willison: The lethal trifecta 2025-06-16 S16 Security and Governance
Graham Neubig: Don’t Sleep on Single-Agent Systems (a blog post, not a paper) 2024-09-26 S15 Multi-agent Systems
Jason Liu: Systematically Improving RAG Applications 2025-01-24 S9 Retrieval and RAG
Invariant Labs: MCP Security Notification: Tool Poisoning Attacks 2025-04-01 S16 Security and Governance
Drew Breunig: How Long Contexts Fail 2025-06-22 S11 Context Engineering
Drew Breunig: How to Fix Your Context 2025-06-26 S11 Context Engineering
Chroma: Context Rot: How Increasing Input Tokens Impacts LLM Performance (research by a vector database vendor) 2025-07-14 S11 Context Engineering
BAIR: The Shift from Models to Compound AI Systems (Zaharia et al.) 2024-02-18 S0 AI Systems Overview
Chip Huyen: Building A Generative AI Platform 2024-07-25 S18 Deployment and Architecture
Source Chapters
OWASP Top 10 for LLM Applications 2025 S16 Security and Governance
OWASP Top 10 for Agentic Applications 2026 S16 Security and Governance
CVE-2025-32711 (EchoLeak) S16 Security and Governance
EU AI Act (Regulation (EU) 2024/1689) (2024-06-13) S16 Security and Governance
Executive Yuan (Taiwan) press release: implementing the AI Basic Act and establishing the National AI Strategy Special Committee (in Chinese) (2026-05-21) S16 Security and Governance

API docs, SDKs, libraries, model cards, datasets, and local inference and evaluation tools change quickly. Check the current documentation before using them.

Source What it’s for Chapters
Claude API: Messages Message structure S6 LLM APIs and Application Basics
Claude API: Streaming messages Order of SSE events S6 LLM APIs and Application Basics
Claude API: Errors Which errors to retry S6 LLM APIs and Application Basics
Claude API: Rate limits Rate limits S6 LLM APIs and Application Basics
Claude API: Pricing Pricing S6 LLM APIs and Application Basics
Claude API: Batch processing Batch API S6 LLM APIs and Application Basics
Claude API: Thinking Reasoning model parameters and passing thinking back across turns S6 LLM APIs and Application Basics
Claude API: Prompt engineering overview Official prompting advice S7 Prompts, Structured Output and Workflows
Claude API: Structured outputs Structured output S7 Prompts, Structured Output and Workflows
Claude API: Tool search tool The official implementation of deferred loading S10 Tools and MCP
Claude API: Prompt caching Pricing, minimum length, lifetime, usage fields S11 Context Engineering
Source What it’s for Chapters
OpenAI API: Streaming API responses Streaming events S6 LLM APIs and Application Basics
OpenAI API: Error codes Error codes S6 LLM APIs and Application Basics
OpenAI API: Reasoning models Reasoning model parameters, pricing S6 LLM APIs and Application Basics
OpenAI API: Structured model outputs Structured output S7 Prompts, Structured Output and Workflows
OpenAI API: Prompt caching Prompt caching S11 Context Engineering
Source What it’s for Chapters
MCP specification 2026-07-28: Overview Host / client / server, feature list, security principles S10 Tools and MCP
MCP specification: Architecture Architecture S10 Tools and MCP
MCP specification: Authorization Authorization S10 Tools and MCP
MCP specification: Transports Transport layer S10 Tools and MCP
MCP specification: Changelog Differences between versions S10 Tools and MCP
MCP: Security Best Practices Security practice; redirects to the 2026-07-28 version S10 Tools and MCP
modelcontextprotocol/typescript-sdk Official TypeScript SDK S10 Tools and MCP
modelcontextprotocol/python-sdk Official Python SDK S10 Tools and MCP
FastMCP Python MCP framework S10 Tools and MCP
MCP Inspector Testing tool for MCP servers S10 Tools and MCP
modelcontextprotocol/ext-apps (MCP Apps) Official extension for MCP servers to provide UI; stable spec 2026-01-26 S17 Product and AI UX
MCP-UI The community project and SDK that preceded MCP Apps S17 Product and AI UX
Source What it’s for Chapters
Vercel AI SDK An abstraction layer for LLM calls in TypeScript S6 LLM APIs and Application Basics
AI SDK: Chatbot Chat UI S6 LLM APIs and Application Basics
AI SDK: Stream Protocols Streaming text, tool calls and custom data together S6 LLM APIs and Application Basics
AI SDK: Telemetry Hooking up OpenTelemetry S6 LLM APIs and Application Basics
AI SDK: Testing Writing tests with mock models S6 LLM APIs and Application Basics
AI SDK: Ollama community provider Connecting local models S6 LLM APIs and Application Basics
AI SDK: Generative User Interfaces Tool calls → components S17 Product and AI UX
LiteLLM A unified multi-provider interface for Python S6 LLM APIs and Application Basics
LiteLLM: Fallbacks Provider fallbacks S6 LLM APIs and Application Basics
Instructor Validation and retries for structured output S7 Prompts, Structured Output and Workflows
Outlines Constrained decoding for local models S7 Prompts, Structured Output and Workflows
BAML Define LLM functions in a DSL and generate clients S7 Prompts, Structured Output and Workflows
XGrammar Grammar-constrained decoding engine S7 Prompts, Structured Output and Workflows
DSPy Write LLM programs as optimizable modules S14 Agent Evals, Data and Optimization
Gradio: ChatInterface Python chat UI component: generator streaming, a stop button, thumbs up / down; the UI for A6 Streaming Chat and Traces if you don’t write a frontend S6 LLM APIs and Application Basics, S17 Product and AI UX
Chainlit Python framework for conversational apps: streaming, stopping, feedback S6 LLM APIs and Application Basics, S17 Product and AI UX
Streamlit: st.write_stream Stream output onto a Streamlit page S6 LLM APIs and Application Basics
Streamlit: st.feedback Feedback widgets such as thumbs up / down S6 LLM APIs and Application Basics
AG-UI Overview Event protocol between an agent backend and the frontend S17 Product and AI UX
Temporal: Understanding Temporal The concepts behind durable execution S18 Deployment and Architecture
github/spec-kit Tools and process for spec-driven development S19 Real Agent Systems and the Capstone
OpenClaw docs Gateway, channels and automation design for an always-on personal agent S19 Real Agent Systems and the Capstone
Source What it’s for Chapters
vLLM Source code of a production-grade inference engine S5 Inference and Serving
Ollama API: Usage Timing fields such as prompt_eval_count and eval_duration. Replaces docs/api.md on GitHub S5 Inference and Serving
Ollama: OpenAI compatibility OpenAI-compatible interface for local models S6 LLM APIs and Application Basics
llama.cpp server Local HTTP server S6 LLM APIs and Application Basics
mlx-lm Run LLMs on Apple Silicon S6 LLM APIs and Application Basics
transformers.js Run models in the browser S6 LLM APIs and Application Basics, S9 Retrieval and RAG
WebLLM In-browser LLM inference engine S6 LLM APIs and Application Basics
Chrome built-in AI APIs for the browser’s built-in models S6 LLM APIs and Application Basics
Source What it’s for Chapters
Weights & Biases Experiment tracking; has a free personal plan. The docs are now part of CoreWeave S1 Neural Network Basics, model project
Hugging Face TRL SFT, DPO and GRPO trainers S4 Post-training and Reasoning, model project
Hugging Face PEFT LoRA and other parameter-efficient fine-tuning S4 Post-training and Reasoning, model project
Hugging Face: Chat templates Read the section on tool use S7 Prompts, Structured Output and Workflows
Source What it’s for Chapters
Qwen/Qwen3-0.6B-Base Starting point for the post-training exercises S4 Post-training and Reasoning
Ollama: qwen3 Run Qwen3 locally S4 Post-training and Reasoning
openai/gsm8k Math word problem dataset; likely contaminated, so use it only for relative comparisons S4 Post-training and Reasoning
Qwen/Qwen3-0.6B Small instruct model; in S5 Inference and Serving you write your own generation loop for it S5 Inference and Serving
Qwen/Qwen3-Embedding-0.6B An embedding model that runs on your own machine S9 Retrieval and RAG
BAAI/bge-m3 Multilingual embedding model S9 Retrieval and RAG
BAAI/bge-reranker-v2-m3 Multilingual reranker S9 Retrieval and RAG
MTEB Leaderboard Reference for choosing an embedding model S9 Retrieval and RAG
tiny Shakespeare About 1.1 MB of plain English text; training data for the S2 Transformers and Decoding core exercise and M2 Tiny GPT S2 Transformers and Decoding
HuggingFaceFW/fineweb About 15T tokens of cleaned English web data; the large-scale deduplication extension in S3 Pretraining and Scaling uses a sample of it S3 Pretraining and Scaling
Salesforce/wikitext Wikipedia articles; the document source for deduplication in the S3 Pretraining and Scaling core exercise S3 Pretraining and Scaling
Qwen3-0.6B config.json What the inference calculator is checked against S5 Inference and Serving
Spider Text-to-SQL dataset (200 databases); the ○ Text2SQL variant in S9 Retrieval and RAG can use a subset S9 Retrieval and RAG
Laws & Regulations Database of the Republic of China (Taiwan) (in Chinese) Full text of Taiwanese laws in Traditional Chinese; the document set for the S9 Retrieval and RAG core exercise S9 Retrieval and RAG
LongMemEval Data and code for long-term memory evals; paper: Wu et al. 2024 S13 Memory and Personalization
MultiHop-RAG QA set whose questions need several news articles combined; paper: Tang & Yang 2024; ODC-BY license S15 Multi-agent Systems
abisee/cnn_dailymail English news articles and summaries; the English alternative dataset for the S8 Evals Methodology core exercise (version 3.0.0) S8 Evals Methodology
goodbooks-10k Metadata and ratings for ten thousand books; the data for the S10 Tools and MCP core exercise S10 Tools and MCP
Source What it’s for Chapters
Sentence Transformers Embeddings and cross-encoders S9 Retrieval and RAG
Sentence Transformers: Training Overview Official tutorial on fine-tuning embeddings S9 Retrieval and RAG
SQLite FTS5 BM25 full-text search; for Chinese text, use trigram or segment words first S9 Retrieval and RAG
jieba Chinese word segmentation for Python S9 Retrieval and RAG
sqlite-vec Vector search extension for SQLite S9 Retrieval and RAG
LanceDB Embedded vector database S9 Retrieval and RAG
unpdf PDF text extraction for JavaScript S9 Retrieval and RAG
Docling Parsing documents with complex layouts S9 Retrieval and RAG
Ragas Definitions of RAG evaluation metrics S8 Evals Methodology, S9 Retrieval and RAG
Source What it’s for Chapters
OpenTelemetry GenAI semantic conventions Standard trace fields for LLM calls; still in Development status S6 LLM APIs and Application Basics
OpenLLMetry LLM observability built on OpenTelemetry S6 LLM APIs and Application Basics
Langfuse Open-source LLM tracing and eval platform S6 LLM APIs and Application Basics
Phoenix Open-source LLM observability and evaluation S6 LLM APIs and Application Basics
Jaeger A plain tracing backend S6 LLM APIs and Application Basics
MSW (Mock Service Worker) API mocking for TypeScript S6 LLM APIs and Application Basics
httpx Python HTTP client S6 LLM APIs and Application Basics
respx Mocking for httpx S6 LLM APIs and Application Basics
pytest-recording Record / replay built on VCR.py S6 LLM APIs and Application Basics
promptfoo Eval runner S8 Evals Methodology
scipy.stats.bootstrap Bootstrap confidence intervals S8 Evals Methodology
AgentDojo An evaluation environment for prompt injection attacks and defenses; paper: Debenedetti et al. 2024. The S16 Security and Governance core exercise borrows its injection templates S16 Security and Governance
Source What it’s for Chapters
MDN: Using server-sent events The SSE format itself S6 LLM APIs and Application Basics
AWS Builder Center: Timeouts, retries, and backoff with jitter Engineering practice for retries and backoff S6 LLM APIs and Application Basics
Stripe: Designing robust and predictable APIs with idempotency Designing idempotency keys S6 LLM APIs and Application Basics
IETF draft: The Idempotency-Key HTTP Header Field draft-08, not yet an RFC S6 LLM APIs and Application Basics

Every paper cited in the chapters’ Further reading is listed here.

Paper Chapters
Vaswani et al. 2017, Attention Is All You Need S2 Transformers and Decoding
Lewis et al. 2020, Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks S9 Retrieval and RAG
Kwon et al. 2023, Efficient Memory Management for LLM Serving with PagedAttention S5 Inference and Serving
Yao et al. 2023, ReAct S12 The Agent Loop and Harness
Shao et al. 2024, DeepSeekMath (GRPO) S4 Post-training and Reasoning
Rafailov et al. 2023, Direct Preference Optimization S4 Post-training and Reasoning
Sumers et al. 2023, Cognitive Architectures for Language Agents (CoALA) S13 Memory and Personalization
Kapoor et al. 2024, AI Agents That Matter S0 AI Systems Overview, S14 Agent Evals, Data and Optimization
Miller 2024, Adding Error Bars to Evals S8 Evals Methodology
Liu et al. 2023, Lost in the Middle: How Language Models Use Long Contexts S9 Retrieval and RAG, S11 Context Engineering
Sclar et al. 2023, Quantifying Language Models’ Sensitivity to Spurious Features in Prompt Design S7 Prompts, Structured Output and Workflows
Yang et al. 2024, SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering S10 Tools and MCP, S19 Real Agent Systems and the Capstone
Yao et al. 2024, τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains S8 Evals Methodology, S14 Agent Evals, Data and Optimization
Welleck et al. 2024, From Decoding to Meta-Generation S2 Transformers and Decoding, S5 Inference and Serving
Shankar et al. 2024, Who Validates the Validators? S8 Evals Methodology
Cemri et al. 2025, Why Do Multi-Agent LLM Systems Fail? S15 Multi-agent Systems
Kwa et al. 2025, Measuring AI Ability to Complete Long Tasks (METR time horizon) S14 Agent Evals, Data and Optimization
Opsahl-Ong et al. 2024, MIPROv2 S14 Agent Evals, Data and Optimization
Agrawal et al. 2025, GEPA S14 Agent Evals, Data and Optimization
Beurer-Kellner et al. 2025, Design Patterns for Securing LLM Agents against Prompt Injections S16 Security and Governance
Debenedetti et al. 2025, Defeating Prompt Injections by Design (CaMeL) S16 Security and Governance
Nasr et al. 2025, The Attacker Moves Second S16 Security and Governance
Kaplan et al. 2020, Scaling Laws for Neural Language Models S3 Pretraining and Scaling
Hoffmann et al. 2022, Training Compute-Optimal Large Language Models S3 Pretraining and Scaling
Wei et al. 2022, Emergent Abilities of Large Language Models S3 Pretraining and Scaling
Schaeffer et al. 2023, Are Emergent Abilities of Large Language Models a Mirage? S3 Pretraining and Scaling
Rajbhandari et al. 2019, ZeRO: Memory Optimizations Toward Training Trillion Parameter Models S3 Pretraining and Scaling
Lambert et al. 2024, Tulu 3: Pushing Frontiers in Open Language Model Post-Training S4 Post-training and Reasoning
Zhou et al. 2023, LIMA: Less Is More for Alignment S4 Post-training and Reasoning
Hu et al. 2021, LoRA: Low-Rank Adaptation of Large Language Models S4 Post-training and Reasoning
Dettmers et al. 2023, QLoRA: Efficient Finetuning of Quantized LLMs S4 Post-training and Reasoning
Wang et al. 2022, Self-Consistency Improves Chain of Thought Reasoning in Language Models S4 Post-training and Reasoning
Lightman et al. 2023, Let’s Verify Step by Step S4 Post-training and Reasoning
Yu et al. 2025, DAPO: An Open-Source LLM Reinforcement Learning System at Scale S4 Post-training and Reasoning
Zheng et al. 2025, Group Sequence Policy Optimization S4 Post-training and Reasoning
Yu et al. 2022, Orca: A Distributed Serving System for Transformer-Based Generative Models (Orca, OSDI ’22) S5 Inference and Serving
Zheng et al. 2023, SGLang: Efficient Execution of Structured Language Model Programs S5 Inference and Serving
Dao et al. 2022, FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness S5 Inference and Serving
Leviathan et al. 2022, Fast Inference from Transformers via Speculative Decoding S5 Inference and Serving
Zhao et al. 2021, Calibrate Before Use: Improving Few-Shot Performance of Language Models S7 Prompts, Structured Output and Workflows
Wei et al. 2022, Chain-of-Thought Prompting Elicits Reasoning in Large Language Models S7 Prompts, Structured Output and Workflows
Tam et al. 2024, Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models S7 Prompts, Structured Output and Workflows
Zheng et al. 2023, Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena S8 Evals Methodology
Chen et al. 2021, Evaluating Large Language Models Trained on Code S8 Evals Methodology
Bean et al. 2025, Measuring what Matters: Construct Validity in Large Language Model Benchmarks S8 Evals Methodology
Kadavath et al. 2022, Language Models (Mostly) Know What They Know S8 Evals Methodology
Karpukhin et al. 2020, Dense Passage Retrieval for Open-Domain Question Answering S9 Retrieval and RAG
Khattab & Zaharia 2020, ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT S9 Retrieval and RAG
Malkov & Yashunin 2016, Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs S9 Retrieval and RAG
Gao et al. 2022, Precise Zero-Shot Dense Retrieval without Relevance Labels S9 Retrieval and RAG
Asai et al. 2023, Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection S9 Retrieval and RAG
Gao et al. 2023, Enabling Large Language Models to Generate Text with Citations S9 Retrieval and RAG
Hsieh et al. 2024, RULER: What’s the Real Context Size of Your Long-Context Language Models? S9 Retrieval and RAG
Greshake et al. 2023, Not what you’ve signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection S9 Retrieval and RAG
Schick et al. 2023, Toolformer: Language Models Can Teach Themselves to Use Tools S10 Tools and MCP
Patil et al. 2023, Gorilla: Large Language Model Connected with Massive APIs S10 Tools and MCP
Wang et al. 2024, Executable Code Actions Elicit Better LLM Agents S10 Tools and MCP
Jiang et al. 2023, LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression S11 Context Engineering
Shinn et al. 2023, Reflexion: Language Agents with Verbal Reinforcement Learning S12 The Agent Loop and Harness
Packer et al. 2023, MemGPT: Towards LLMs as Operating Systems S13 Memory and Personalization
Park et al. 2023, Generative Agents: Interactive Simulacra of Human Behavior S13 Memory and Personalization
Maharana et al. 2024, Evaluating Very Long-Term Conversational Memory of LLM Agents S13 Memory and Personalization
Chen et al. 2024, AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases S13 Memory and Personalization
Agent-as-a-Judge: Evaluate Agents with Agents S14 Agent Evals, Data and Optimization
$τ^2$-Bench: Evaluating Conversational Agents in a Dual-Control Environment S14 Agent Evals, Data and Optimization
SABER: Small Actions, Big Errors – Safeguarding Mutating Steps in LLM Agents S14 Agent Evals, Data and Optimization
DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines S14 Agent Evals, Data and Optimization
Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning S14 Agent Evals, Data and Optimization
Wu et al. 2023, AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation S15 Multi-agent Systems
Shao et al. 2024, PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Action S16 Security and Governance
Greenblatt et al. 2023, AI Control: Improving Safety Despite Intentional Subversion S16 Security and Governance
Korbak et al. 2025, Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety S16 Security and Governance
Ong et al. 2024, RouteLLM: Learning to Route LLMs with Preference Data S18 Deployment and Architecture
Chen et al. 2023, FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance S18 Deployment and Architecture
Xia et al. 2024, Agentless: Demystifying LLM-based Software Engineering Agents S19 Real Agent Systems and the Capstone
Wang et al. 2024, OpenHands: An Open Platform for AI Software Developers as Generalist Agents S19 Real Agent Systems and the Capstone
Wei et al. 2025, BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agents S19 Real Agent Systems and the Capstone
Source What it’s for Chapters
Courses by Hung-yi Lee, Yun-Nung Chen and Hung-Yu Kao (in Chinese) See University courses above —
MiuLab/Taiwan-LLM A Traditional Chinese model repo; TMLU, TMMLU+ and TCEval, mentioned in its README, are references for evaluating in Traditional Chinese (it’s a model repo, not teaching material) S8 Evals Methodology
iThome 2025: Team AI Operations Handbook: Designing, Deploying and Maintaining System Prompts (in Chinese) Managing prompts as a team asset S7 Prompts, Structured Output and Workflows
iThome 2025: A Journey Through AI Product and Architecture Design: From 0 to 1, Then Day 2 (in Chinese) Product and architecture in practice S17 Product and AI UX
iThome 2025: Hands-on LLMOps in 30 Days: From RAG to Observability and Deployment (in Chinese) LLMOps, observability, deployment S18 Deployment and Architecture
iThome 2025: AI App Development for Frontend Engineers: 30 Days from Prompt to Production (in Chinese) AI apps from a frontend perspective S6 LLM APIs and Application Basics, S17 Product and AI UX
iThome 2026: What to Think Through Before Shipping an AI Agent: 30 Days on Harness Design Tradeoffs (in Chinese) Harness design tradeoffs; Day 1 published 2026-09-15 S12 The Agent Loop and Harness
iThome 2026: Day 4, What Is Context Engineering (in Chinese) An introduction to context engineering; a single article, 2026-08-23 S11 Context Engineering

The iThome series are 30-day posts by practitioners, with varying quality. Those listed above won awards or closely match the topic. Use them alongside a primary resource.

Source What it’s for Chapters
RUC: Large Language Models (in Chinese) A university textbook, free PDF; the agent and application parts are dated S0 AI Systems Overview, S3 Pretraining and Scaling, S4 Post-training and Reasoning
datawhalechina/diy-llm (in Chinese) A Chinese version of CS336; the best Chinese companion to Part I Models (S1–S5) S2 Transformers and Decoding to S5 Inference and Serving, S8 Evals Methodology
datawhalechina/happy-llm (in Chinese) Builds an LLM from scratch; chapter 8 goes deep on agentic RL S2 Transformers and Decoding, S4 Post-training and Reasoning, S14 Agent Evals, Data and Optimization
ZJU-LLMs/Foundations-of-LLMs (in Chinese) Zhejiang University’s Foundations of LLMs; has a chapter on model editing S4 Post-training and Reasoning, S7 Prompts, Structured Output and Workflows, S9 Retrieval and RAG
Lordog/dive-into-llms (in Chinese) Shanghai Jiao Tong University’s Dive into LLMs; many security labs S4 Post-training and Reasoning, S16 Security and Governance
datawhalechina/tiny-universe (in Chinese) Minimal implementations: TinyTransformer / TinyEval / TinyRAG / TinyAgent S2 Transformers and Decoding, S8 Evals Methodology, S9 Retrieval and RAG, S12 The Agent Loop and Harness
datawhalechina/zero-to-sglang (in Chinese) A course made with the SGLang team: write your own inference server. Part three of the course is not finished yet S5 Inference and Serving, S18 Deployment and Architecture
datawhalechina/all-in-rag (in Chinese) The best Chinese material for S9 Retrieval and RAG; leans on Milvus S9 Retrieval and RAG
datawhalechina/hello-agents (in Chinese) Complete material for building agents from scratch; deep on context engineering, memory and agentic RL. Leans toward the Chinese tech stack S11 Context Engineering to S15 Multi-agent Systems
datawhalechina/agentic-rl-lab (in Chinese) Runnable reproductions of GRPO variants, Search-R1 and ReTool S14 Agent Evals, Data and Optimization
datawhalechina/base-llm (in Chinese) Covers security, threat modeling and deployment; one chapter is a tutorial for a vendor’s API S16 Security and Governance, S18 Deployment and Architecture
datawhalechina/deepagents-in-action (in Chinese) A complete topic map of harnesses; tied to LangChain S12 The Agent Loop and Harness, S13 Memory and Personalization, S15 Multi-agent Systems
shareAI-lab/learn-claude-code (English, with a Chinese translation) 17 lessons that hand-write a Claude Code-style harness from scratch; the main material for S12 The Agent Loop and Harness. Follow s01–s17 in the repo root; the old docs/ folder is numbered differently S10 Tools and MCP to S15 Multi-agent Systems, S19 Real Agent Systems and the Capstone
d2l-zh: Dive into Deep Learning (in Chinese) Deep learning basics; not updated since 2024 S1 Neural Network Basics to S2 Transformers and Decoding
youngyangyang04/llm-master (in Chinese) A full-stack LLM learning path; its engineering acceptance criteria are a useful reference. Includes links to a paid bootcamp and top-up services; heavily job-hunting oriented S18 Deployment and Architecture
datawhalechina/self-llm (in Chinese) Fine-tuning and deployment recipes for many models S4 Post-training and Reasoning, S18 Deployment and Architecture
datawhalechina/llm-cookbook (in Chinese) Chinese version of Andrew Ng’s short courses; “Building Systems with the ChatGPT API” works as an API warm-up. Not updated since 2025-06 S6 LLM APIs and Application Basics

Lecture content is licensed under CC BY-NC-SA 4.0: you may share and adapt it with attribution, not for commercial use, and adaptations must use the same license. Quoted third-party content and trademarks belong to their owners.