Stanford / CS329Z已收录

Engineering AI Agents

从工程角度学习构建、运行与评估语言模型智能体。

关于这组笔记

个人自学讲义,参考公开课程材料;部分讲次依据阅读清单与相关论文重构。

查看原课程资料

适合的起点

建议熟悉 Python、语言模型与基础软件开发。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 21 篇

预备知识

  1. 预备知识 1前置讲 P1 · 进程、Shell 与文件系统 · Processes, the Shell, and the File System
  2. 预备知识 2前置讲 P2 · 网络、HTTP 与 API · Networks, HTTP, and APIs
  3. 预备知识 3前置讲 P3 · 并发、缓存与可靠的调用 · Concurrency, Caching, and Reliable Calls
  4. 预备知识 4前置讲 P4 · 安全基础:威胁模型、最小权限与注入 · Security Basics

课程讲义

  1. Lecture 01Lecture 1 · 导论:什么是智能体系统 · Introduction: What Are Agentic Systems?
  2. Lecture 02Lecture 2 · 面向构建者的 LLM · LLMs for Builders
  3. Lecture 03Lecture 3 · 检索增强生成 · Retrieval-Augmented Generation (RAG)
  4. Lecture 04Lecture 4 · 工具使用与函数调用 · Tool Use & Function Calling
  5. Lecture 05Lecture 5 · 框架与编排 · Frameworks & Orchestration
  6. Lecture 06Lecture 6 · 智能体设计模式与脚手架 · Agent Design Patterns & Scaffolds
  7. Lecture 07Lecture 7 · 智能体的记忆架构 · Agent Memory Architectures
  8. Lecture 08Lecture 8 · 多智能体系统 · Multi-Agent Systems
  9. Lecture 09Lecture 9 · 优化:提示词、权重与推理算力 · Optimization
  10. Lecture 10Lecture 10 · 智能体需要什么数据 · What Data Do Agents Need?
  11. Lecture 11Lecture 11 · 数据选择与质量 · Data Selection & Quality
  12. Lecture 12Lecture 12 · 评估基础与 benchmark 设计 · Evaluation Fundamentals & Benchmark Design
  13. Lecture 13Lecture 13 · LLM-as-Judge 与评估基础设施 · LLM-as-Judge & Evaluation Infrastructure
  14. Lecture 14Lecture 14 · 智能体安全与护栏 · Agent Safety & Guardrails
  15. Lecture 15Lecture 15 · 编程智能体 · Coding & Software Agents
  16. Lecture 16Lecture 16 · 主动式智能体 · Proactive Agents
  17. Lecture 17Lecture 17 · 前沿、开放问题与课程项目 · Frontiers, Open Problems & the Course Project

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 CS329Z 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程