Stanford open-sources CS329Z agent course: build your own Claude Code for under $5 in API credits

stanfordnlp · x · 2026-11-12

Stanford's new course CS329Z "Engineering AI Agents" (Prof. Diyi Yang) open-sourced its assignments, with lectures posted daily on Stanford Online YouTube (lecture 1 already up). The core assignment: write an agent harness from scratch — wrapping the model to handle tools, parse responses, and execute commands. The instructor claims under $5 of API credits gets you your own "Claude Code".

Key details:

Caveats: it's a live course with a tentative schedule, lectures released daily; "$5" covers API credits only — heavy debugging costs more.

Related event: Stanford open-sources CS329Z agent course: build your own Claude Code for under $5(2 posts)→

Original post →

More from coding & agent

coding & agent channel →