Logistics

Team

Instructors

Anupam Datta
Anupam Datta
anupam.datta AT snowflake.com
OH by appointment
John Mitchell
John Mitchell
jcm AT stanford.edu
OH: Tuesdays 3:00-4:00PM
Location: CoDA W212

Course Assistants

Jason Goldberg
Jason Goldberg
jasonmg AT stanford.edu
Ishita Gupta
Ishita Gupta
ishitagupta AT stanford.edu

Advisors

Josh Reini
Josh Reini
josh.reini AT snowflake.com

Overview

What is this course about?

This project-based course will introduce students to building and evaluating agentic AI applications powered by foundation models. The overriding theme of the course is that building an initial prototype AI system can often be done easily but refining a prototype into something that is useful and reliable requires iterative improvement based on clear evaluation metrics. We will cover background in foundation models, prompting, and retrieval-augmented generation (RAG) before introducing full agentic AI architectures. For each architecture, the course will study methods for evaluation. Students will complete introductory homework assignments to become familiar with retrieval-augmented generation (RAG) and agentic AI. Students will then work in pairs or small teams to develop applications using agentic or other approaches and evaluate them by adapting evaluation methods presented in the class.

Prerequisites

Introductory Python-based ML class (equivalent to CS229), knowledge of deep learning (such as CS230, CS231N, etc.), and familiarity with ML frameworks in Python like PyTorch, Keras, or TensorFlow.

Honor Code

Permissive but strict. If unsure, please ask the course staff!

Audit policy

We are generally open to in-person auditing requests by Stanford affiliates. Audits can attend lectures if there are available seats after enrolled students have taken their seats. Please come to the lecture, and if there is space available, audits may stay for the session.

Audits are welcome to participate in the discussion in lectures, but we encourage that audits check out the slides from previous lectures first — lectures could be confusing otherwise! Audits are also welcome to attend OHs, though if there are more enrolled students waiting in the line, they’ll be given priority.

We are unable to support remote audits as lectures are held in-person, and are not recorded. The general public can follow along with the course by accessing the published lecture slides, notes, assignments, and final report instructions online. These materials are available on the Syllabus page.

Please note that no course support will be available for auditors. However, we encourage you to share any feedback on the course — if there’s any concept that you find confusing, incorrect or missing, please let us know!

Reference Text

There's no textbook. The course relies on lecture slides and accompanying readings.


FAQ

What is the format of the class?
It will be lectures and guest speakers. We will often have industry experts to give us tutorials on fairness, ML explainability and privacy.
Do I need to know Python for the course?
Since Python has become the most popular language for machine learning, we expect most assignments will be in Python. Python fluency isn't required, but will make your life so much easier during the course.
Is this the first time the course is offered?
No. The course was also offered in Spring 2021, Spring 2022, Fall 2023, and Autumn 2024. Like the last iteration of the course, this year we are allocating more time to the term project.
Does the course count towards CS degrees?
Yes, this course can satisfy Area D: Computing and Society breadth requirement (for MSCS).
Are lectures recorded?
No, the lectures will not be recorded, since this is not an SCPD course.
Can I follow along from the outside?
Of course! All lecture slides and homeworks will be posted on this website. We encourage you to share any feedback on the course — if there’s any concept that you find confusing, incorrect or missing, please let us know!
What is the grading policy for the course?
Your grade will be based on the project (70%), homework (15%) and participation (15%). Homework and the project will involve significant programming. There are no exams. Participation will include attendance, engagement in class discussions, and contributions to project reviews.
Can I work in groups for the homework?
No, all homeworks have to be done and submitted individually. You can however discuss with your study group, although abiding by the Honor Code.
Are we expected to work in groups for the course project?
Yes, students are strongly encouraged to work in groups of 2-3 students.
What are the major project deliverables?

The quarter long course project has five major deliverables:

  • Proposal Presentations, in Week 3
  • Mid-term Presentations, in Weeks 7 and 8
  • Final Presentation Dry-Runs, in Week 9
  • Final Presentation and Poster during the Final Project Fair, in Week 10 (after Thanksgiving break)
  • Final Reports, due on the scheduled exam time in Finals Week.
Further information on these deliverables will shared as the quarter progresses in class.

How are the project grades assigned?
Project grades are determined based on the overall quality of the group's work throughout the quarter, including how well the project aligns with the course content. Further information will be shared in class.
How does the class participation grade assigned? Is attendance mandatory?
Yes — a portion of your class participation grade will be based on your attedance. The rest of the class participation grade is composed of the quality of your contributions to the class, and the instructor impressions during the all project sessions (proposal, midterm, presentation dry-runs, poster).
I have a question about the class. What is the best way to reach the course staff?
Please post your question in the Ed course forum so that other students can benefit from your questions. If you have a personal matter or emergencies, please email the TAs directly.