CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025)
by Stanford University (Anupam Datta, John Mitchell)
Stanford's project course on evaluating agents as you build them: RAG, agent GPA metrics, MCP tool descriptions, GEPA and agent security.
Overview
CS 329T is a Stanford project course on building and evaluating agentic AI applications powered by foundation models, taught in Fall 2025 by Anupam Datta of Snowflake and John Mitchell of Stanford, with an advisor and two course assistants. Its premise is that a first agent prototype is easy to build, and that making it useful and reliable takes iteration guided by clear evaluation metrics. The ten-week schedule opens with LLM strengths and limits, prompting techniques and retrieval-augmented generation, then moves to foundations of AI agents, sample agentic systems and evaluation of an agent's goals, plans and actions. Guest lectures cover systematic evaluation of agentic systems, MCP with effective tool descriptions and evals, data curation and reinforcement learning to optimize agents (Bespoke Labs), GEPA prompt optimization (Lakshya Agrawal), agent security with adversarial attacks and guardrails (Matt Fredrikson and Andy Zou), and multimodal frontier models with agentic capabilities (Google DeepMind). Tools named on the syllabus include LangGraph, DSPy, GEPA notebooks, MCP and Gray Swan Arena, and readings point to SWE-Bench, OSWorld, Terminal Bench, HarmBench and AgentHarm. Homework 1, Measuring and Improving Agent GPA, pairs with the DeepLearning.AI and Snowflake short course Building and Evaluating Data Agents, which Datta co-teaches. Grading is 70% project, 15% homework and 15% participation, with no exams. Slides, notes and assignments are public; lectures were not recorded.
At a Glance
- Topic
- Agentic
- Level
- Intermediate
- Format
- Course
- Cost
- Free
- Duration
- 10 weeks (Sep 23 to early Dec 2025), two 80-minute lectures a week; public slides and homework, no recordings
- Provider
- Stanford University (Anupam Datta, John Mitchell)
- Hands-on
- Yes — code/exercises
- Certificate
- None
What You’ll Learn
- ✓Apply prompting techniques and retrieval-augmented generation while accounting for known LLM limitations
- ✓Evaluate an agent's goals, plans and actions separately using the agent GPA framework
- ✓Run systematic evaluations of agentic systems instead of judging them from a few demos
- ✓Write effective MCP tool descriptions and evaluate how well agents use those tools
- ✓Optimize agent prompts with GEPA and understand when data curation and RL help instead
- ✓Defend agents against adversarial attacks with guardrails, tested against benchmarks like HarmBench and AgentHarm
- ✓Take a team agent project from proposal through mid-term review to a final poster and written report
Highlights
- •Taught by Anupam Datta, who also co-teaches the DeepLearning.AI and Snowflake course Building and Evaluating Data Agents used in Homework 1
- •Guest lectures from GEPA author Lakshya Agrawal, Bespoke Labs, Google DeepMind, and Matt Fredrikson and Andy Zou on agent security
- •Every topic is paired with an evaluation method, so the course doubles as an agent evals curriculum
- •Slides, notes and homework handouts are posted publicly on the syllabus page
- •Cited by the open AI Assistant Engineering study book as Stanford's reference course for project-based eval discipline
Who It’s For
Best For
- ✓Engineers whose agent prototype works in demos but fails unpredictably in use
- ✓Teams setting up evaluation metrics and guardrails before putting an agent in production
- ✓Students planning a project-based path into agent evaluation and security
- ✓Practitioners comparing LangGraph, DSPy and GEPA approaches to improving agents
Prerequisites
- •An introductory Python-based machine learning course equivalent to Stanford CS229
- •Deep learning background equivalent to CS230 or CS231N, with some PyTorch, Keras or TensorFlow
- •Python for the homework, although the course says fluency is not required
FAQ
What is CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025)?
CS 329T is a Stanford project course, last taught in Fall 2025, on building agentic AI applications on foundation models and measuring whether they work. It is for engineers who can ship a prototype agent and now need evaluation metrics to make it reliable. You learn to score an agent's goals, plans and actions, then improve it against those scores.
Is CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025) free?
CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025) is free to access.
What level is CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025) for?
CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025) is aimed at a intermediate audience. Recommended background: An introductory Python-based machine learning course equivalent to Stanford CS229, Deep learning background equivalent to CS230 or CS231N, with some PyTorch, Keras or TensorFlow, Python for the homework, although the course says fluency is not required.
How long does CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025) take?
Expect roughly 10 weeks (Sep 23 to early Dec 2025), two 80-minute lectures a week; public slides and homework, no recordings. Most learners work through it at their own pace.
What will I learn from CS 329T: Building and Evaluating Agentic AI Applications (Stanford, Fall 2025)?
You'll learn: Apply prompting techniques and retrieval-augmented generation while accounting for known LLM limitations; Evaluate an agent's goals, plans and actions separately using the agent GPA framework; Run systematic evaluations of agentic systems instead of judging them from a few demos; Write effective MCP tool descriptions and evaluate how well agents use those tools; Optimize agent prompts with GEPA and understand when data curation and RL help instead; Defend agents against adversarial attacks with guardrails, tested against benchmarks like HarmBench and AgentHarm; Take a team agent project from proposal through mid-term review to a final poster and written report.
Topics
Sources
This page was written from 4 sources, 2 on domains other than web.stanford.edu.