<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Stanford on 凱凱的技術筆記</title><link>https://lalio.dpdns.org/tags/stanford/</link><description>Recent content in Stanford on 凱凱的技術筆記</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Tue, 02 Jun 2026 11:21:40 +0000</lastBuildDate><atom:link href="https://lalio.dpdns.org/tags/stanford/index.xml" rel="self" type="application/rss+xml"/><item><title>Stanford 怎麼教 AI Agent：一份值得開發者參考的 Guidelines</title><link>https://lalio.dpdns.org/posts/ai-agent-guidelines/</link><pubDate>Tue, 02 Jun 2026 11:21:40 +0000</pubDate><guid>https://lalio.dpdns.org/posts/ai-agent-guidelines/</guid><description>&lt;p>前陣子 Hacker News 上有一篇貼文衝上熱門，標題是「AI Agent Guidelines for CS336 at Stanford」，短短時間內拿到了四百多則按讚。&lt;/p>
&lt;p>第一眼看到的時候，我心裡想的是：不過就是一份 prompt 吧？但仔細看完之後，發現這份只有兩千多字的 Markdown 檔案，其實藏著不少值得開發者思考的東西。&lt;/p>
&lt;h2 id="什麼是-cs336">什麼是 CS336？&lt;/h2>
&lt;p>CS336 是史丹佛大學一門叫做「Language Modeling from Scratch」的課程。簡單來說，這門課不教你怎麼呼叫 API，而是從零開始，用 Python 和 PyTorch 實作一個語言模型。&lt;/p>
&lt;p>課程非常硬核——你需要自己寫 tokenizer、transformer block、訓練迴圈，甚至 Triton kernel。正因如此，學生在作業上花的时间非常多。&lt;/p>
&lt;p>於是教授們想了一個辦法：讓學生在寫作業時，可以請 AI 助手幫忙，但有一套明確的「遊戲規則」。&lt;/p>
&lt;h2 id="核心原則agent-是助教不是解答器">核心原則：Agent 是助教，不是解答器&lt;/h2>
&lt;p>這份 Guidelines 的第一句話就點出了核心精神：&lt;/p>
&lt;blockquote>
&lt;p>AI agents should function as teaching aids that help students learn through explanation, guidance, and feedback—not by completing assignments for them.&lt;/p>&lt;/blockquote>
&lt;p>換句話說，AI Agent 的角色是「老師」，不是「代考」。&lt;/p>
&lt;p>接下來，文件列出了 Agent &lt;strong>應該做&lt;/strong>和&lt;strong>不應該做&lt;/strong>的事情。我整理成幾個重點：&lt;/p>
&lt;p>&lt;strong>Agent 應該做的：&lt;/strong>&lt;/p></description></item></channel></rss>