Stanford put its full AI agents course online. Completely for free to watch
Stanford CS329Z (Engineering AI Agents) is open to everyone. Diyi Yang, Michael Ryan and John Yang teach the course. Eighteen full lecture videos, official slide decks and papers are live on the course site with no paywall and no account. Here are the exact links from my reel.
Start on the main course schedule to open every video and slide deck in order.
1
CS329Z: Engineering AI Agents (Full Course Site)
Stanford Fall 2026 · Diyi Yang, Michael Ryan and John Yang · 18 videos and 18 slide decks
This is the main course page. It lists the full Fall 2026 class schedule by week. Each lecture links directly to the YouTube video, the official PDF slides and the core papers. It starts from what an AI agent is and moves to RAG (a method that lets AI answer from your own files), tool use, MCP (Model Context Protocol, a standard way for AI to connect to tools), frameworks like DSPy and LangGraph, agent memory, multi-agent systems, optimization, safety and evaluations.
Good to know: you do not need to be a Stanford student, and you do not need an account to watch the lectures or read the slides.
Still from my reel: the official Stanford CS329Z course page and Lecture 1 from Stanford Online.Open CS329Z schedule
2
Lecture 1 + Core Curriculum Videos
Stanford Online on YouTube · full classroom recordings
Start here if you are new to AI agents. Lecture 1 explains the anatomy of an agent: the language model core, memory, tools and environment. After Lecture 1, follow the weekly schedule on the course site for RAG, Tool Use and MCP, Frameworks (with live DSPy and LangGraph notebooks), Agent Design Patterns, Agent Memory, Multi-Agent Systems and Optimization.
Still from my reel: Lecture 4 on Tool Use and Model Context Protocol (MCP) from Stanford Online and the official PDF slides.Watch Lecture 1
3
Guest Lecture: Terminal-Bench + Live Leaderboard
Ryan Marten and Alex Shaw (Laude Institute) · Oct 26 guest lecture
Terminal-Bench is the benchmark (a standard set of test tasks) that measures how well AI agents do real-world tasks inside a terminal. Ryan Marten and Alex Shaw, the people who made Terminal-Bench, gave a full guest lecture on Oct 26 in Week 6 of CS329Z. You can inspect the live leaderboard and test tasks on the Terminal-Bench site, and watch their full Stanford lecture on YouTube.
Watch the full Terminal-Bench guest lecture on YouTube: https://youtu.be/7GW-9ug2nvw
Still from my reel: the live Terminal-Bench 4.1 leaderboard from tbench.ai.Open Terminal-Bench
4
Bonus Guest Talks: Andrew Ng and SWE-bench
Included in the same CS329Z schedule
The later weeks of the schedule also include a fireside chat with Andrew Ng (hosted by Diyi Yang) and a guest lecture from Carlos Jimenez and Alexander Wettig (Anthropic), the creators of SWE-bench. Both videos are free to watch from the course schedule.
Open cs329z.stanford.edu and watch Lecture 1 (What Are Agentic Systems?) and Lecture 3 (Retrieval-Augmented Generation). Keep the PDF slides open beside each video.
2
Watch Lecture 4 on Tools, MCP and CLIs
Learn how language models call external tools, how MCP connects an AI app to your files and tools, and where tool calls break in real work.
3
Study Frameworks, Design Patterns and Memory (Weeks 3 and 4)
Watch the live DSPy and LangGraph notebook demos in Lecture 5, then study workflow patterns in Lecture 6 and agent memory architectures in Lecture 7.
4
Learn Multi-Agent Systems and Optimization (Week 5)
Watch Lecture 8 to see when a single agent beats a multi-agent setup, then watch Lecture 9 on prompt and weight optimization.
5
Watch the Terminal-Bench Guest Lecture and Evals (Weeks 6 to 9)
Watch the Oct 26 Terminal-Bench guest lecture and check the live leaderboard at tbench.ai to see how real teams test AI agents before they trust them.
Questions people ask
Is Stanford CS329Z really free?
Yes. Every lecture video on YouTube, every official PDF slide deck and the course schedule on cs329z.stanford.edu are open to the public for free. Open cs329z.stanford.edu
Do I need to be a Stanford student or sign in?
No. You do not need a Stanford email, a login or a paid account to watch the videos or download the slides. Homework grades and Demo Day are only for enrolled Stanford students.
How many lectures are available now?
As of 4 Dec 2026, the course site links 18 full lecture videos and 18 official PDF slide decks, from Week 1 foundations through software agents and guest talks.
What is Terminal-Bench?
Terminal-Bench is an open benchmark built by Ryan Marten, Alex Shaw and the Laude Institute team. It tests how well AI agents finish hard, real-world tasks inside a command-line environment. Watch the Terminal-Bench guest lecture
Want AI set up like this for your business?We build AI setups and run ads for businesses.
Diyi Yang, Michael Ryan and John Yang teach Stanford CS329Z (Engineering AI Agents, Fall 2026) at Stanford University (cs329z.stanford.edu). Ryan Marten, Alex Shaw and the Laude Institute team built Terminal-Bench (tbench.ai). B-roll in my reel: Stanford Online lecture videos, official CS329Z PDF slides and the Terminal-Bench site. Inspiration: Nick Saraev (@nick_saraev). All credit to them.