20
路线图 / 产品
路线图、产品思维 & 速记
卡住去哪页、Chip Huyen 坑、失败模式
路线图 / 课程类收藏、AI 产品思维的几篇长文,和一份 30 秒回忆版速记。
30 秒回忆版
code
client = OpenAI(base_url=..., api_key=os.environ["..._API_KEY"])
client.chat.completions.create(model=..., messages=[...], temperature=0,
stream=True | response_format={"type": "json_object"} | tools=[...])
client.embeddings.create(model="text-embedding-v3", input=[...])
Agent:while 步数<N: 调模型 → 没 tool_calls 就返回 → 执行工具 → role=tool 回填
RAG:切分(300-800字, 重叠10-20%) → 向量化 → top-k → (重排) → 带编号拼 prompt → 要求引用
MCP:MCPServer("名") + @mcp.tool() + mcp.run()
评估:先人工看输出做 error analysis → pass/fail 评委 → golden set 回归
训练:logits=model(x); loss=fn(logits,y); opt.zero_grad(); loss.backward(); opt.step()
部署:ollama run qwen2.5:7b | vllm serve <HF模型> --port 8000(都是 OpenAI 兼容 /v1)
我的理解:怎么挑学习资料
- 路线图收藏了一堆,真正要的是一条主干 + 按项目查漏。我给自己定的主干:Chip Huyen《AI Engineering》配套资源(章节总结、study notes、case studies)+ mlabonne llm-course 的 LLM Engineer 部分。
- mlabonne llm-course 分三块:LLM Fundamentals(数学、Python、神经网络,可选)、LLM Scientist(怎么训出好模型)、LLM Engineer(做应用和部署)。我主要看 Engineer,Scientist 里的微调部分配合《微调 / 评估 / 可观测》看。
- 中文入门:Datawhale llm-universe 正好是“基于阿里云服务器 + 个人知识库助手”的路线,覆盖调 API、知识库搭建、RAG(LangChain + Streamlit)、验证迭代。README 说第一部分完稿,第二、三部分还在写。
- 课程:DeepLearning.AI 短课多数 1-2 小时(目录里有知识图谱多 agent、Claude Code、Pydantic 结构化输出、SFT/DPO/RL 后训练、LangGraph 长期记忆、语音 agent 等);HF Learn 有 LLM / Agents / Context / smol(后训练)/ Audio 等课程;微软有 Generative AI for Beginners(21 课)和 AI Agents for Beginners。
- 示例代码库:NirDiamant GenAI_Agents(README 说 57 个教程)、awesome-llm-apps(自称 100+ 可跑的 agent / RAG 应用,Apache-2.0)、e2b awesome-ai-agents(agent 项目清单)。当查参考实现用,不当教材。
- Simon Willison《Things we learned about LLMs in 2024》当年度背景读:GPT-4 壁垒被打破、本地能跑 GPT-4 级模型、价格暴跌、推理(inference-scaling)模型兴起、“Agents 还没真正发生”、“Evals really matter”。
- Simon 那篇里我最认同的一句(引 Amanda Askell):好 system prompt 的秘诀是测试驱动——先写测试,再找能通过测试的 prompt。
我的理解:产品思维
- Chip Huyen 的 6 个坑:① 不需要生成式 AI 也硬用;② 把“产品不好”当成“AI 不行”;③ 一上来太复杂(能直接调 API 却上 agent 框架、关键词检索够用却纠结选哪个向量库、prompt 能解决却坚持微调);④ 被早期成功冲昏头(LinkedIn 1 个月做到 80% 体验,又花 4 个月才超过 95%);⑤ 不做人工评估,全靠 AI 评委;⑥ 全公司众筹用例。
- 第 ③ 条对我很扎心:书签 GraphRAG 先用 BM25 + 向量混合检索跑通,再上图。
- 《What we learned from a year of building with LLMs》part 1(Eugene Yan、Hamel Husain、Shreya Shankar 等合写,O’Reilly):小 prompt 只做一件事;别忘关键词检索,当基线并做混合检索;新知识优先 RAG 而不是微调;长上下文不会让 RAG 过时;现阶段优先确定性 workflow;缓存被低估;标注简化成二元判断或成对比较。
- 同一篇的 intern test:把模型拿到的输入和上下文原样交给一个相关专业的普通大学生,他能做对吗?要多久?做不对是因为缺知识,就去补上下文。
- Eugene Yan《How to Match LLM Patterns to Problems》:先分 external LLM(API,不能微调、有限流、数据合规顾虑)和 internal LLM(自己托管的开源模型)。按问题选模式:没有任务指标 → evals + 收集用户反馈;外部模型缺新知识 / 私有知识 → RAG;内部模型效果差 → 微调;输出格式 / 内容不可靠 → guardrails;体验上的小毛病 → defensive UX;不知道对用户的影响 → 监控 + 用户反馈。
- @petergyang 和 Linear 团队那期的三条:先用简单 prompt + 让 agent 自己用工具加载上下文;先做好一两个用例,再按真实使用扩展;先用最好的模型证明核心流程,再优化成本。这和我 ReAct 跑 10 轮那次的教训方向一致:工具和停止条件比 prompt 长度重要。
- @lennysan 总结 Aish Reganti / Kiriti Badam:AI 产品的核心设计决策是 agency vs. control;V1 只解决一个窄而高价值的问题;可观测和日志比传统软件更重要;evals 必要但不充分。
决策规则(学什么 / 做什么)
| 卡住的点 | 去哪一页 | 产品侧先问 |
|---|---|---|
| 不会调模型 API | 《LLM API》《Prompt》 | 用户任务是什么、成功长什么样 |
| 检索不准 | 《文档解析》《Embedding》《RAG》 | intern test:原文够不够答 |
| agent 乱跑 | 《ReAct》《Harness》《安全》 | 要不要自主?固定流程用工作流 |
| 想上框架/平台 | 《Agent 框架》《工作流》 | 能否先手写循环验证价值 |
| 想微调 | 《微调/评估》 | 是知识问题还是行为问题?知识→RAG |
| 选 coding agent | 《版图》《Claude Code/…》 | 要验证闭环还是 IDE 内联 |
- 主干只留一条:用书签/工作项目当练习场,路线图是目录不是课程表。
- Chip Huyen 提醒的坑(我笔记里):别一上来框架/向量库/微调;demo≠产品。
失败模式
| 现象 | 常见原因 | 我怎么处置 |
|---|---|---|
| 收藏很多零进度 | 把路线图当学习 | 删到一条主干;本周只做一个交付 |
| 工具链很全产品空 | 过早优化栈 | 回 intern test / golden set |
| demo 80% 以为完事 | 没算评估与长尾 | 上 evals;记失败模式 |
| 星数/课时当权威 | 营销口径 | 标作者自述;以官方文档+自己跑为准 |
踩坑 / 注意
- ❌ 坑:收藏路线图当学习——收了十几张图,一张都没走完。只留一条主干。
- ❌ 坑:一上来就上框架 / 向量库 / 微调(Chip Huyen 第 ③ 条)。
- ❌ 坑:早期 demo 效果好就以为快做完了——80% 到 95% 才是大头。
- ❌ 注意:awesome-llm-apps 的“100+、端到端测过”、shao__meng 帖里 from-scratch 课程的星数 / 课时,都是作者自己的说法。
- ❌ 注意:HF Learn 那页抓下来基本只有导航和课程名,没有课程内容(partial)。
- ❌ 注意:@sh_reya 的 AI Product Engineering 讲座系列、@petergyang 的节目链接都是 t.co 没展开;大部分 How I AI / Lenny 的帖子是节目推广,具体内容在视频里,我只记了帖子文字。
待试
- [ ] 过一遍 Chip Huyen aie-book 的 chapter summaries,每章记 3 条和我项目相关的
- [ ] 对书签 GraphRAG 做一次 intern test:把检索结果原样给自己看,判断信息够不够答题
- [ ] 按 Eugene Yan 的表,给书签项目列出“问题 → 模式”对照
- [ ] llm-universe 的个人知识库助手,在阿里云上对照我的实现跑一遍
收藏
- Chip Huyen《AI Engineering》配套资源 —— 我的主干:章节总结、study notes、case studies — github.com
- mlabonne llm-course —— Fundamentals / Scientist / Engineer 三条路线,附资源 — github.com
- Datawhale llm-universe 动手学大模型应用开发 —— 中文,阿里云 + 个人知识库助手路线 — github.com
- DeepLearning.AI 课程目录 —— 短课碎片时间刷 — deeplearning.ai
- Hugging Face Learn —— LLM / Agents / Context / smol 后训练课程(抓到的页面是 partial) — huggingface.co
- Microsoft Generative AI for Beginners —— 21 课 — github.com
- Microsoft AI Agents for Beginners —— agent 入门课 — github.com
- Simon Willison:Things we learned about LLMs in 2024 —— 年度背景 + “Evals really matter” — simonwillison.net
- Chip Huyen:Common pitfalls when building generative AI applications —— 6 个坑 — huyenchip.com
- What we learned from a year of building with LLMs (part 1) —— 战术层经验 + intern test — oreilly.com
- Eugene Yan:How to Match LLM Patterns to Problems —— 问题 → 模式对照 — eugeneyan.com
- Chip Huyen:Building A Generative AI Platform —— 上下文增强 → guardrails → router / gateway 逐步加组件 — huyenchip.com
- @petergyang:和 Linear 团队从 memo 到上线做一个生产 agent —— 少写指令,多给加载上下文的工具 — x.com
- @sh_reya:免费的 AI Product Engineering 讲座系列(数据、evals、UX)—— 报名链接是 t.co — x.com
更多收藏
- 示例代码库:NirDiamant GenAI_Agents https://raw.githubusercontent.com/NirDiamant/GenAI_Agents/main/README.md ;awesome-llm-apps https://raw.githubusercontent.com/Shubhamsaboo/awesome-llm-apps/main/README.md ;e2b awesome-ai-agents https://raw.githubusercontent.com/e2b-dev/awesome-ai-agents/main/README.md
- 路线图帖:@_vmlops Agentic AI Engineer 2026 路线图(附 PDF)https://x.com/_vmlops/status/2049896625481662660 、ML 学习资源 https://x.com/_vmlops/status/1993716174564298814 、哈佛 ML 系统工程免费书 https://x.com/_vmlops/status/1999466066045755737 ;@_avichawla 全栈 AI 工程路线 https://x.com/_avichawla/status/1969288713944646075 、13 层 master tree https://x.com/_avichawla/status/2111385831219003681 ;@Hesamation 0→100 路线 https://x.com/Hesamation/status/1921942458000081254 、Karpathy 谈学习 https://x.com/Hesamation/status/1899191612854702578 、哈佛 AI 研究课 https://x.com/Hesamation/status/1923094200301560074 、Context Engineering 仓库 https://x.com/Hesamation/status/1956271235329089771 、13 分钟入行视频 https://x.com/Hesamation/status/1993453270296379409 、吴恩达 coding agents 短课 https://x.com/Hesamation/status/1996361374298165631 ;@omarsar0 agent 学习路径 https://x.com/omarsar0/status/1922996324447789161 ;@akshay_pachaar 深度学习免费书 https://x.com/akshay_pachaar/status/1941470937666420837 ;@system_monarch AI 工程师该学的清单 https://x.com/system_monarch/status/2051662489616794035
- 中文帖:@GitHub_Daily 动手做大模型系列 https://x.com/GitHub_Daily/status/1939277670736363575 、生成式 AI 学习指南 https://x.com/GitHub_Daily/status/1958318133078360088 、AI Engineering Academy https://x.com/GitHub_Daily/status/1985529072970318184 、https://x.com/GitHub_Daily/status/2020762237166850056 ;@shao__meng AI Engineering 必读 9 本书 https://x.com/shao__meng/status/1981932405104783773 、从零构建 AI 工程 https://x.com/shao__meng/status/2096742186297720975 ;@wsl8297 LangChain Agents From Scratch https://x.com/wsl8297/status/2045004596217790959
- 产品思维帖:@clairevo × Hamel 讲 evals 入门 https://x.com/clairevo/status/1977751970141409707 、Yelp 从 golden conversation 倒推原型 https://x.com/clairevo/status/1980304204460896459 、Dueling AI https://x.com/clairevo/status/1995544391675707783 ;@lennysan 企业 AI 产品要点 https://x.com/lennysan/status/2010758081844740496 、AI 时代 10 项技能 https://x.com/lennysan/status/2010884315794849901 、Meta 的 Product Sense with AI 面试 https://x.com/lennysan/status/2021257353845486030 、product sense 面试指南 https://x.com/lennysan/status/1907105197488533925 ;@gregisenberg AI native 组织 https://x.com/gregisenberg/status/2064054350859649114
- 相关长文(其他页也引了):Anthropic Building effective agents https://www.anthropic.com/engineering/building-effective-agents ;Simon Willison How I use LLMs to help me write code https://simonwillison.net/2025/Mar/11/using-llms-for-code/
- 旧草稿里的链接(raw 里没有):@akshay_pachaar 2026 AI Engineer roadmap https://x.com/akshay_pachaar/status/2015044780330492116 ;@CodeWithSravya AI 工程师 16 步 https://x.com/CodeWithSravya/status/2091814561305211067 ;roadmap.sh https://roadmap.sh/ai-engineer ;AIGuide https://github.com/Snailclimb/AIGuide