PULSE
AI 认知方法 HOWTO重要度 62

斯坦福如何教AI原生工程

Latent Space · 2026-11-08 · 原题《[One Million AI Engineer Special] How Stanford Teaches AI-Native Engineering — Mihail Eric, Monaco》 · 原文约 5 分钟 · 阅读原文 ↗
斯坦福如何教AI原生工程 核心:从"一键完成作业"转向"真实开源贡献" 旧作业模式 编码智能体一键完成 缺乏理解与解释 新目标:真实贡献 为开源项目提交补丁 由维护者评审 训练理解与沟通 能力产出 理解陌生仓库 解释代码变更 课程与实践支撑 Mihail Eric 讲授《现代软件开发者》 领导 Monaco AI 团队 十周课程大纲 从零构建编码智能体 追踪框架·上下文工程 工程实践检验 智能体工作区·代码审查工具 值班智能体接入 Datadog/GitHub 原则:买来学习,构建来保留 代码生成快于审查 → 审查成为瓶颈 → 重构流程与工具
当编码智能体能一键完成旧作业时,斯坦福CS146S课程让学生为开源项目贡献代码,由维护者评审,以培养理解与解释代码变更的能力。

做法与步骤

  1. 课程作业要求学生熟悉陌生开源仓库,提出修改,并向可能合并代码的维护者解释补丁,以此训练代码理解与沟通能力。
  2. Mihail Eric在斯坦福讲授《现代软件开发者》课程,并领导Monaco的AI团队,课程内容经过其工程团队实践检验。
  3. Monaco团队构建了智能体工作区,购买代码审查工具,并让值班智能体访问Datadog和GitHub,以闭合运维循环。
  4. Mihail提出“买来学习,构建来保留”的原则,决定哪些工具需要自研、哪些可以采购。
  5. 课程涵盖十周大纲,包括从零构建编码智能体、追踪真实智能体框架、大型代码库的上下文工程等主题。
  6. 当代码生成速度超过审查能力时,代码审查成为瓶颈,需要重新思考审查流程与工具。

对实践的启示

对AI应用开发者而言,需重视代码理解与解释能力,而非仅生成代码;团队应合理采购与自研工具,并让智能体融入运维闭环,同时应对代码审查瓶颈。

原文摘引

What do you assign when a coding agent can finish last year’s homework in one prompt?
Students have to learn an unfamiliar repo, propose a change, and explain the patch to the person who might merge it.
You buy to learn, and you build to keep.
▸ 展开原文全文(34 段,抓取自 Latent Space)

What do you assign when a coding agent can finish last year’s homework in one prompt? In the second run of Stanford’s CS146S, Mihail Eric brought open-source maintainers into the course. Students have to learn an unfamiliar repo, propose a change, and explain the patch to the person who might merge it.

We invited Mihail, who teaches The Modern Software Developer at Stanford and leads AI at Monaco, to celebrate one million subscribers on the AI Engineer YouTube channel. He opens up the course syllabus and shows us which lessons survived contact with his own engineering team. Monaco built its agent workspaces, bought its code review tools, and gave an on-call agent access to Datadog and GitHub. We ask how he decides which tools his team needs to own.

Watch the full interview and screenshares on YouTube.

Show notes

- Stanford CS146S — The ten-week syllabus and assignments.

- The Emperor Has No Clothes — Mihail builds a coding agent from scratch.

- Demystifying Claude Code — Mihail traces a real agent harness.

- Monaco’s agent workspaces — How the team sets up a workspace for each agent.

- How to Kill the Code Review — Our essay on what happens when code generation outruns review.

- Basis’s Authority Map — How agents distinguish current behavior from earlier design decisions.

- Stripe’s Minions — A look inside Stripe’s background coding agents.

- AI Engineer CODE Summit — The conference mentioned in the opening.

Timestamps

0:00 One million AI Engineer subscribers and the CODE Summit

0:51 Mihail Eric and Stanford CS146S

5:26 What junior engineers need to learn now

10:02 Open-source maintainers review the students’ code

15:04 A tour of the ten-week syllabus

24:04 The loop, tools and harness inside a coding agent

32:18 Context engineering for a large codebase

38:15 Skills that make you understand the diff

46:42 The Monaco.com dispute and the airplane banner

50:23 What Monaco does for sales teams

59:21 Inside Monaco’s engineering team

1:01:40 “You buy to learn, and you build to keep”

1:05:24 Making repos agent-ready and closing the on-call loop

1:12:37 When code review becomes the bottleneck

1:20:37 Security, dependencies and permissions

1:30:13 Background agents and Stripe’s Minions

1:34:16 MCP portals and why infrastructure converges

1:41:22 Building the software factory

1:45:24 What work is left for developers?

1:52:16 From personal adoption to team autonomy

Opening excerpt from The Thinking Mode, EO Studio.