CS 329Z: Stanford Course on Engineering AI Agents

LinkDiyi Yang, Michael Ryan, John YangResource

Stanford University is running CS 329Z (Engineering AI Agents) for Fall 2026. The course explores the transition from monolithic language models to compound AI systems and autonomous agents. All lecture materials, syllabus details, and reading lists are made publicly available online.

Key points

  1. Taught by instructors Diyi Yang, Michael Ryan, and John Yang for Fall 2026.
  2. Core topics include building RAG pipelines from scratch, tool use, the Model Context Protocol (MCP), and orchestration frameworks like DSPy.
  3. Covers agent memory architectures (MemGPT, Mem0) as well as single- vs multi-agent coordination.
  4. Covers optimization paradigms, including prompt optimization (GEPA, MIPROv2, TextGrad) and test-time compute scaling.
  5. Deep dive into evaluation infrastructure, 4-tuple benchmark design, and LLM-as-a-judge approaches.
  6. Addresses security challenges such as prompt injection, sandboxing, permission boundaries, and data privacy.

Why it matters

The syllabus provides a structured overview of state-of-the-art engineering practices for LLM-based agent systems. As the materials and readings are open to the public, it offers engineers and researchers a comprehensive roadmap for building reliable agent architectures.

Analysis

CS 329Z approaches agent development with a strong focus on engineering fundamentals over framework lock-in. Requiring students to construct fundamental loops, tool execution harnesses, and RAG pipelines from scratch before introducing high-level libraries helps demystify agent orchestration. The explicit emphasis on rigorous evaluation (such as benchmark scaffolding and non-determinism metrics) reflects the real-world operational challenges facing modern AI deployments.

Found in

Summary generated by AI (Gemini 3.8 Flash, 28 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:Mark Phelps

    Stanford Launches CS329Z: Engineering AI Agents

    Stanford University has released the curriculum for CS329Z ('Engineering AI Agents') for Autumn 2026. The course covers compound AI systems, building RAG and tool use from scratch, agent frameworks like DSPy, and systematic agent evaluation.

    2.3kbookmarks66.1kviews

    AI & LLMs· Resource

  • Link:Aakanksha Chowdhery, Azalia Mirhoseini

    Stanford CS329A: Self-Improving AI Agents

    Stanford University's CS329A is a graduate course dedicated to self-improving AI agents, taught by Aakanksha Chowdhery and Azalia Mirhoseini. The curriculum covers foundational and modern techniques enabling LLMs to iteratively improve via environment interaction and internal feedback.

    AI & LLMs· Resource

  • Video

    Video:Stanford Online

    Stanford CS329A: Introduction to Self-Improving AI Agents and Scaling Trends

    In the inaugural lecture of Stanford's CS329A course, Aakanksha Chowdhery and Azalia Mirhoseini outline the evolution of large language models towards autonomous, self-improving agents. The session explores foundational scaling laws, the emergence of chain-of-thought reasoning, post-training alignment via RLHF, inference-time scaling techniques, and the architectural principles behind agentic workflows in software engineering and research.

    AI & LLMs· Talk

  • Link:hanakoxbt

    Five Layers: A Blueprint and Course for Agent Engineering

    The 'Five Layers' online course by hanakoxbt structures AI agent development into five complementary tiers: prompt, context, harness, loop, and graph engineering. Eschewing heavy external frameworks, it focuses on self-contained templates, configuration files, and predictable workflows to make LLM agents production-ready.

    AI & LLMs· Resource

  • Repository:walkinglabs/learn-harness-engineering

    Learn Harness Engineering: Open-Source Course for Reliable AI Coding Agents

    The open-source project learn-harness-engineering by walkinglabs provides a project-based beginner curriculum on harness engineering for autonomous coding agents. It teaches how to build runtime environments, state management, verification routines, and control systems needed to operate AI agents reliably.

    14.8kstarsTypeScript

    AI & LLMs· Tutorial

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.