AIAny

CS 329Z: Engineering AI Agents

Teaches how to build and evaluate AI agents, from hand-written RAG and tool loops to memory, optimization, and safety. Two applied assignments and a quarter-long project connect design decisions to measured reliability.

Introduction

A working demo can hide a brittle agent. The central lesson is to treat retrieval, control flow, data, and evaluation as one engineering problem: implement the machinery yourself first, then decide which abstractions are worth adopting.

What Sets It Apart
  • The first assignment starts from a chat-completion call and a corporate email archive, without agent frameworks. Retrieval, tools, memory, and human approval remain visible design choices.
  • The second assignment evaluates a supplied agent with code graders, an LLM judge, and error analysis, giving measurement its own engineering workload.
  • The syllabus connects agent components to optimization, coordination, and safety, helping readers reason about interactions across the system.
  • The project requires tasks, baselines, success criteria, and reproducible results. This makes evaluation a design input throughout development.
Who It Suits and the Tradeoffs

Great fit if you have an NLP background and want to justify agent architecture choices through implementation and experiments. Public readings, released slides, and assignment code offer a self-study path. Look elsewhere if you need an introductory programming course or unrestricted lecture videos: recordings require the course Canvas login, and materials are linked as released.

Information

  • Websitecs329z.stanford.edu
  • OrganizationsStanford University
  • AuthorsDiyi Yang, Michael Ryan, John Yang
  • Published date2026/09/02

More Items

Teaches developers to guide and evaluate AI coding agents across the software lifecycle. Stanford's CS146S connects agent internals and context engineering with code review, security, and contributions to real projects.

Teaches how to build, evaluate, and train LLM agents through three implementation assignments and a research project. CMU's Fall 2026 course connects tool use, memory, and planning with SFT, reinforcement learning, and agent safety.

GitHub

Provides step-by-step guides to integrate DeepSeek V4 models (deepseek-v4-pro and deepseek-v4-flash) into 22 popular AI agents and coding-assistant tools. Each entry shows installation, configuration, and first-run steps for tools like Claude Code, Qwen Code, Codex, Cline, Deep Code, and more.