Stanford CME295 Transformers & LLMs | Autumn 2026 | Lecture 6 - AI Agents
From Stanford Online · · 1 hr 40 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
For more information about Stanford’s graduate programs, visit: https://stanford.io/grad-ed-cme295-A2026
To follow along with the course schedule and syllabus, visit: https://cme295.stanford.edu/syllabus/
Chapters: 00:00:00 Introduction 00:08:53 Retrieval-augmented generation (RAG) 00:17:12 Candidate retrieval (bi-encoder, cross-encoder, BM25) 00:28:36 Re-ranking 00:35:16 Retrieval evaluation (NDCG, MRR, precision, recall) 00:44:31 Tool calling 01:08:18 Tool selection 01:12:42 Model context protocol (MCP) 01:22:53 Harness engineering 01:24:26 Reason + Act (ReAct) 01:29:02 Context compaction 01:31:00 Memory 01:33:37 Coding agents 01:38:53 Discussion
Afshine Amidi is an Adjunct Professor at Stanford University.
Shervine Amidi is an Adjunct Professor at Stanford University.
Follow the playlist: https://youtube.com/playlist?list=PLakGfbKCei80&si=HF2tNywj7nXIQq8X