AI Agent Design Patterns: ReAct, CodeAct & More | Stanford CS329Z Lecture 6 with Michael Ryan
From Stanford Online · · 1 hr 16 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
Browse Stanford's online courses in Agentic AI: https://stanford.io/4AIRb2z
Self-paced online Agentic AI course: https://online.stanford.edu/programs/agentic-ai?utm_source=youtube&utm_medium=social&utm_content=cs329z-01-what-are-agentic-systems
Lecture Overview: When should you build a workflow instead of an agent, and which design patterns work best? In this Stanford CS329Z: Engineering AI Agents lecture, Michael Ryan covers Anthropic's five workflow patterns, reasoning-and-acting patterns (ReAct, Reflexion, CodeAct, ReWOO), and context-management techniques like event logs, compaction, observation masking, subagents, and skills, ending with a case study of the minimal Pi harness.
Speaker: Michael Ryan
Michael Ryan is a CS PhD student at Stanford University developing human-centered, open-source AI systems that augment human intelligence and reflect the plurality of human values. His contributions to the DSPy open-source project enable developers to optimize multi-stage AI systems, and his algorithms are used for automatic AI prompt optimization at Meta, Google, Dropbox, Amazon, and other organizations.
Course website: https://cs329z.stanford.edu/
Watch the full CS329Z playlist: https://youtube.com/playlist?list=PLPRcF5HR02_U&si=3Z4OYphngcmQ0GIy
Recorded 10/12/2026 in CS329Z: Engineering AI Agents, a graduate course at Stanford University taught by Diyi Yang, Michael Ryan, and John Yang.
#AIAgents #AgenticAI #Stanford