Skip to content
Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 7 - Agentic LLMs
This video isn’t embeddableWatch on YouTube →
Stanford OnlineStanford Online

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 7 - Agentic LLMs

November 14, 2025

Afshine AmidihostShervine Amidihost
Nov 18, 20251h 49mWatch on YouTube

Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.

Episode Details

EPISODE INFO

Released
November 18, 2025
Duration
1h 49m
Channel
Stanford Online
Watch on YouTube
▶ Open ↗

EPISODE DESCRIPTION

For more information about Stanford’s graduate programs, visit: https://online.stanford.edu/graduate-education November 14, 2025 This lecture covers:

  • Retrieval-augmented generation
  • Advanced RAG techniques
  • Function calling
  • Agents
  • ReAct framework

To follow along with the course schedule and syllabus, visit: https://cme295.stanford.edu/syllabus/ Chapters: 00:00:00 Introduction 00:06:38 RAG overview 00:27:39 Similarity search with SBERT and bi-encoders 00:34:25 Heuristic search with BM25 00:37:54 HyDE and contextual retrieval 00:41:00 Prompt caching 00:45:24 Re-ranking with cross-encoders 00:47:49 Retrieval evaluation with NDCG, MRR 00:59:28 Tool calling 01:26:22 Tool selection 01:29:17 Model Context Protocol (MCP) 01:31:56 Agents with ReAct 01:42:16 Safety and closing thoughts Afshine Amidi is an Adjunct Lecturer at Stanford University. Shervine Amidi is an Adjunct Lecturer at Stanford University. View the course playlist: https://www.youtube.com/playlist?list=PLoROMvodv4rOCXd21gf0CF4xr35yINeOy

SPEAKERS

  • Afshine Amidi

    host

    Co-instructor for Stanford CME295 (Transformers & LLMs), teaching practical LLM/agent methods.

  • Shervine Amidi

    host

    Co-instructor for Stanford CME295 (Transformers & LLMs), focusing on tool-calling/agents and applied LLM techniques.

EPISODE SUMMARY

In this episode of Stanford Online, featuring Afshine Amidi and Shervine Amidi, Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 7 - Agentic LLMs explores Practical RAG, tool calling, and agent loops for LLMs Afshine Amidi introduces RAG as a way to augment LLM prompts with only relevant external information to overcome knowledge cutoffs, context-length limits, degraded performance from irrelevant context, and per-token cost.

RELATED EPISODES

Stanford CS230 | Autumn 2025 | Lecture 10: What’s Going On Inside My Model?

Stanford CS230 | Autumn 2025 | Lecture 10: What’s Going On Inside My Model?

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 8 - LLM Evaluation

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 8 - LLM Evaluation

Stanford CS230 | Autumn 2025 | Lecture 8: Agents, Prompts, and RAG

Stanford CS230 | Autumn 2025 | Lecture 8: Agents, Prompts, and RAG

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 6 - LLM Reasoning

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 6 - LLM Reasoning

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 5 - LLM tuning

Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 5 - LLM tuning

Stanford CS230 | Autumn 2025 | Lecture 6: AI Project Strategy

Stanford CS230 | Autumn 2025 | Lecture 6: AI Project Strategy

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.