by fancyboi999
Agent工程师最全学习路径 · 从零精通 AI 工程 · 20 阶段 542 课 · 中文全量翻译 + 配套站点 + 动画讲解视频 · 如何成为 AI Agent 工程师的修成指南
# Add to your Claude Code skills
git clone https://github.com/fancyboi999/ai-engineering-from-scratch-zhGuides for using ai agents skills like ai-engineering-from-scratch-zh.
ai-engineering-from-scratch-zh is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by fancyboi999. Agent工程师最全学习路径 · 从零精通 AI 工程 · 20 阶段 542 课 · 中文全量翻译 + 配套站点 + 动画讲解视频 · 如何成为 AI Agent 工程师的修成指南. It has 1,384 GitHub stars.
ai-engineering-from-scratch-zh's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/fancyboi999/ai-engineering-from-scratch-zh" and add it to your Claude Code skills directory (see the Installation section above).
ai-engineering-from-scratch-zh is primarily written in Python. It is open-source under fancyboi999 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-engineering-from-scratch-zh against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
实现模型内部机制、检索流水线和 agent 运行时。测试它们,分析失败,并保留代码与评估结果。
开始学习 · 选择路径 · 试试实验 · 动手做项目 · 浏览课程目录
免费、开源,采用 MIT 许可。你可以在网站上学习,使用 coding agent,或在本地运行代码。
542 节课,20 个阶段。Python、TypeScript、Rust、Julia、Go。
一条命令,把你的 coding agent 变成导师:
npx skills add fancyboi999/ai-engineering-from-scratch-zh
本项目是 Rohit Ghumare 及社区创建的 AI Engineering from Scratch 的简体中文衍生版,由 fancy 维护。课程内容与结构跟随上游,中文翻译遵循 TRANSLATION.md。
调用框架会把最容易出错的部分藏起来。损失变成 NaN,或者 agent 反复调用同一个工具时,亲手写过小版本的人知道该去哪里找原因。大多数课程先让你写出并运行这个小版本,再展示生产级工具在哪里完成同样的工作。
skill-agent-loop.md,可直接交给你的 agent。
| 路径 | 起始课程 |
|---|---|
| 模型基础 | 配置与工具链 |
| LLM 系统 | 提示词工程 |
| Agent 与交付 | Agent 循环 |
二十个起点沿着二次损失函数的梯度下降。图中展示每次更新后各点的位置及平均损失。
在课程中调整学习率 · 用代码比较 GD、momentum 和 Adam
三个项目均提供分阶段 starter、参考实现和本地评分器。完成环境配置后,在仓库根目录运行命令。实现对应阶段前,starter 会测试失败。
候选版提高了平均 NDCG,但某个查询最相关证据的排名反而降低。构建逐查询比较,报告回归,并让它能够阻止发布检查通过。
使用 Python 3.10+。先复习 RAG与模型评估。依次实现排序验证、precision 与 recall、排名敏感指标和系统比较。
python3 scripts/project_test.py retrieval-evaluation-lab \
--init learning-artifacts/retrieval-evaluation-lab
python3 scripts/project_test.py retrieval-evaluation-lab \
--stage 1 --path learning-artifacts/retrieval-evaluation-lab --strict
python3 scripts/project_test.py retrieval-evaluation-lab \
--all --path learning-artifacts/retrieval-evaluation-lab --strict
保留产物: 可复现的比较,包含逐查询差值与用于评分的相关性判断。指标描述的是这些判断,并不能证明回答正确。
所给轨迹的总耗时仍为 100 ms,但 token 总用量增加了 200,且有一个 span 开始失败。分离重叠子任务与父任务执行时间,再生成可检查的报告,揭示变化。
评分器需要 Node.js 22.18+ 和 Python 3。依次实现 JSONL 解析、父级验证、区间运算和可检查的时间线。
python3 scripts/project_test.py agent-trace-debugger \
--init learning-artifacts/agent-trace-debugger
python3 scripts/project_test.py agent-trace-debugger \
--stage 1 --path learning-artifacts/agent-trace-debugger --strict
python3 scripts/project_test.py agent-trace-debugger \
--all --path learning-artifacts/agent-trace-debugger --strict
保留产物: 输入轨迹、HTML 时间线与 JSON 回归报告。保留每个 span 独占的 token 数,避免把父级与子级用量重复计数。
写入内容在审查后改变,或批准被重放。验证调用信封,检查调用方角色与路径,再消耗一次与精确请求和内容绑定的批准。
使用 Rust 与 Python 3.10+。先复习工具 schema 设计和安全边界。调用应用提供身份,模型只是提出操作。
python3 scripts/project_test.py tool-call-firewall \
--init learning-artifacts/tool-call-firewall
python3 scripts/project_test.py tool-call-firewall \
--stage 1 --path learning-artifacts/tool-call-firewall --strict
python3 scripts/project_test.py tool-call-firewall \
--all --path learning-artifacts/tool-call-firewall --strict
保留产物: 展示请求操作和策略决策的审计回执。批准只在一次调用中单次使用;本项目不提供持久授权,也不是操作系统沙箱。
在 aieng-zh.cn 打开任意已完成的课程,或在下方课程目录中展开一个阶段。无需配置环境,也无需克隆仓库。
如果已经安装 Node.js、npx 和支持 skill 的 coding agent,你的 coding agent 就可以成为导师。安装和阅读导师技能不需要克隆仓库。专项路径中可运行的实验需要 python3;Agent Skills 的宿主实验还需要选定宿主,以及可写入的用户或项目技能目录。
npx skills add fancyboi999/ai-engineering-from-scratch-zh
安装器询问时,选择宿主和安装范围。在 Codex 中使用 start-learning,在 Claude Code 中使用 /start-learning,或让其他宿主按名称使用该技能。
先检查本地要求:
node --version
npx --version
python3 --version
skills 会写入安装时选定的宿主和范围,例如 .claude/skills/、.cursor/skills/、.codex/skills/ 或其他受支持的技能目录。检查所选宿主能否发现这个确切位置。
调用语法由宿主决定,不属于可移植的 SKILL.md 格式:
| 宿主 | 开始全课程 | 开始模型上下文协议(MCP) | 开始 Agent Skills | 运行阶段测验 |
|---|---|---|---|---|
| Codex | start-learning,或从 /skills 选择 |
learn-mcp,或从 /skills 选择 |
learn-agent-skills,或从 /skills 选择 |
check-understanding 13,或从 /skills 选择 |
| Claude Code | /start-learning |
/learn-mcp |
/learn-agent-skills |
/check-understanding 13 |
| 其他兼容宿主 | 使用 start-learning 开始课程。 |
使用 learn-mcp 开始模型上下文协议(MCP)路径。 |
使用 learn-agent-skills 开始 Agent Skills 工程路径。 |
使用 check-understanding 测验阶段 13。 |
十道题的定级测验会将你已有的知识映射到起始阶段,并把个性化学习计划保存到 LEARNING.md。随后,learn 技能每次会话教一节课:概念、数学、代码、测验。它直接从本仓库读取课程;course-guide 技能可以将你卡住的问题定位到具体课程。在 Codex 中使用 learn 和 course-guide,在 Claude Code 中使用 /learn 和 /course-guide,在其他兼容宿主中按名称调用即可。
只想学模型上下文协议(MCP)?使用宿主对应的 MCP 调用方式。它会生成 MCP-LEARNING.md,沿 17 节课的路线学习无状态请求、传输、双向交互、安全、可靠性、注册表治理和一致性证据。确切顺序和检查点见 MCP 路径清单。
只想学 Agent Skills?使用宿主对应的调用方式。它会生成 AGENT-SKILLS-LEARNING.md,按五节课学习契约、发现、调用、沙箱边界、发布评估与真实宿主的可移植性。网站入口见 Agent Skills 路径。
安装器会列出可配置的宿主并询问安装位置。如果暂时没有 Node.js、npx、python3、受支持的宿主或可写入范围,可以先使用网站,或直接阅读 docs/zh.md。这样可以学习概念;真实宿主的发现、调用、脚本和卸载验证,需要等环境预检通过后再完成。课程可在 [