# Stanford releases CS329Z AI agent course materials, including two open assignments

> Original title: 斯坦福 CS329Z: Engineering AI Agents 公开课程资料

- Source: meng shao
- Published: 2026-11-11T01:47:23.000Z
- Bad Influence: https://badinfluence.news/items/gqlmh6pev87v82nigtsm6yc3d
- Original: https://x.com/shao__meng/status/2120332529203056748

## Summary

Stanford is publicly releasing materials for its CS329Z Engineering AI Agents course, with lectures posted daily on Stanford Online's YouTube channel. Assignment 1 has students build an agent harness without existing agent frameworks, at an estimated API cost under $5, and Assignment 2 has them write evaluation tasks with the Harbor framework, both under MIT license. The author, who reposts Michael Ryan's announcement, says the course focuses on compound systems combining retrievers, tools and optimizers rather than a single large model.

## Post

斯坦福 CS329Z: Engineering AI Agents 公开课程资料

感谢 @michaelryan207 分享，讲座录像陆续上传到 Stanford Online 的 YouTube 频道，两份作业仓库也已开放。 

CS329Z 课程详细介绍可以参考：
https://x.com/shao__meng/status/2095330467000328632

课程把重点放在从单一大模型转向复合系统：把检索器、工具、优化器等部件组合起来，并学会拆解问题、选择组件、整理数据、做评测和权衡设计。课表覆盖 Agent 结构、RAG、工具、记忆、多智能体、优化、数据、评测、安全、编程 Agent 和主动式 Agent，并有 Terminal-Bench、SWE-bench 的嘉宾课，以及 Andrew Ng 的对谈。

课程 Youtube 视频列表（最新发布两讲）：
https://www.youtube.com/playlist?list=PLPRcF5HR02_U

作业 HW1 由 Michael Ryan 设计，要求不用现成的 Agent 框架，只靠对话补全接口和自己写的代码，搭出一套 Agent Harness。学生先在真实公司邮件语料上做优先级分类、每日摘要、从零实现 BM25 检索和多跳问答；再把它做成一家虚构能源公司的内部助手，补上工具调用循环、文档检索、终端、上下文压缩、跨会话记忆、人工审批和防护。

用不到 5 美元的 API 额度，就能在家搭出自己的「Claude Code」。作业讲义给出的参考实现成本更低：跑完除模拟评估外的实时测试约 0.05 美元，评估再加约 0.18 美元。

https://github.com/cs329z/assignment1-harness

作业 HW2 由 John Yang @jyangballin 设计，使用 Harbor 框架制作接近 Terminal-Bench 风格的真实 Agent 评测任务。学生先跑 HumanEval、SWE-bench Verified、Terminal-Bench 2.1 等已有任务，再自己写一道包含问题、运行环境和验证器的任务，让 mini-SWE-agent 尝试五次，并评审三名同学的任务；其中自拟任务占 70 分（满分 100）。两份作业都采用 MIT 许可。

https://github.com/cs329z/assignment2-evals

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHWzvJo2awAE7-B6.jpg&mode=thumb&exp=1795651200&sig=6b14685c2a9d9470)

## Quoted post @michaelryan207

> 🔊 Big Update!
> 
> All materials are now being released publicly for our NEW Stanford course CS329Z: Engineering AI Agents!
> 
> Starting with the lectures, which are going live daily on the Stanford Online YouTube channel!
> 
> Lecture 1: https://youtu.be/DGI4vucR71w
> 
> 🧵 (1/5)

https://x.com/michaelryan207/status/2120216178371260589
