[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-rohitg00--ai-engineering-from-scratch":3,"tool-rohitg00--ai-engineering-from-scratch":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":70,"readme_en":71,"readme_zh":72,"quickstart_zh":73,"use_case_zh":74,"hero_image_url":75,"owner_login":76,"owner_name":77,"owner_avatar_url":78,"owner_bio":79,"owner_company":80,"owner_location":81,"owner_email":82,"owner_twitter":83,"owner_website":84,"owner_url":85,"languages":86,"stars":122,"forks":123,"last_commit_at":124,"license":125,"difficulty_score":10,"env_os":126,"env_gpu":127,"env_ram":128,"env_deps":129,"category_tags":134,"github_topics":135,"view_count":23,"oss_zip_url":82,"oss_zip_packed_at":82,"status":16,"created_at":156,"updated_at":157,"faqs":158,"releases":159},3049,"rohitg00\u002Fai-engineering-from-scratch","ai-engineering-from-scratch","Learn it. Build it. Ship it for others.","ai-engineering-from-scratch 是一套从零构建 AI 工程能力的开源学习体系，旨在帮助学习者真正掌握并落地 AI 技术。它直面当前\"84% 的学生使用 AI 工具，但仅 18% 感到能胜任专业工作”的痛点，通过系统化课程填补理论与实践之间的鸿沟。\n\n该项目包含 260+ 节课、20 个阶段，涵盖从线性代数到自主智能体集群的全栈内容，支持 Python、TypeScript、Rust、Julia 等多种语言。与传统课程不同，它强调“用 AI 学 AI\"：内置 Claude Code 技能，如 `\u002Ffind-your-level` 自动评估基础并规划路径，`\u002Fcheck-understanding` 提供阶段性测验与反馈。每节课不仅传授知识，更产出可复用的成果——包括提示词模板、智能体、MCP 服务器等，直接融入实际开发流程。\n\n适合希望系统提升 AI 工程能力的开发者、研究人员及技术爱好者。无论你是想深入理解模型原理，还是构建可部署的 AI 应用，都能从中获得扎实训练。其独特之处在于将学习过程本身 AI 化：代码可运行、文档完整、配套 Web 应用与交互式测验，让","ai-engineering-from-scratch 是一套从零构建 AI 工程能力的开源学习体系，旨在帮助学习者真正掌握并落地 AI 技术。它直面当前\"84% 的学生使用 AI 工具，但仅 18% 感到能胜任专业工作”的痛点，通过系统化课程填补理论与实践之间的鸿沟。\n\n该项目包含 260+ 节课、20 个阶段，涵盖从线性代数到自主智能体集群的全栈内容，支持 Python、TypeScript、Rust、Julia 等多种语言。与传统课程不同，它强调“用 AI 学 AI\"：内置 Claude Code 技能，如 `\u002Ffind-your-level` 自动评估基础并规划路径，`\u002Fcheck-understanding` 提供阶段性测验与反馈。每节课不仅传授知识，更产出可复用的成果——包括提示词模板、智能体、MCP 服务器等，直接融入实际开发流程。\n\n适合希望系统提升 AI 工程能力的开发者、研究人员及技术爱好者。无论你是想深入理解模型原理，还是构建可部署的 AI 应用，都能从中获得扎实训练。其独特之处在于将学习过程本身 AI 化：代码可运行、文档完整、配套 Web 应用与交互式测验，让学习不再是被动观看视频，而是主动构建与迭代。最终，用户不仅能“学会”，更能“做出”并“交付”他人可用的工具。","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.svg\" alt=\"AI Engineering from Scratch\" width=\"100%\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg\" alt=\"License: MIT\">\u003C\u002Fa>\n  \u003Ca href=\"CONTRIBUTING.md\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-brightgreen.svg\" alt=\"PRs Welcome\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLessons-260+-D97757\" alt=\"260+ Lessons\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPhases-20-191A23\" alt=\"20 Phases\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FComplete-96-3D8B6E\" alt=\"96 Complete\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fai-engineering-from-scratch?style=social\" alt=\"GitHub Stars\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#the-journey\">Journey\u003C\u002Fa> &bull;\n  \u003Ca href=\"#-ai-native-learning\">AI-Native\u003C\u002Fa> &bull;\n  \u003Ca href=\"#getting-started\">Get Started\u003C\u002Fa> &bull;\n  \u003Ca href=\"#course-output-the-toolkit\">Toolkit\u003C\u002Fa> &bull;\n  \u003Ca href=\"ROADMAP.md\">Roadmap\u003C\u002Fa> &bull;\n  \u003Ca href=\"CONTRIBUTING.md\">Contribute\u003C\u002Fa> &bull;\n  \u003Ca href=\"glossary\u002Fterms.md\">Glossary\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n84% of students already use AI tools. Only 18% feel prepared to use them professionally. This course closes that gap.\n\n260+ lessons. 20 phases. ~290 hours. From linear algebra to autonomous agent swarms. Python, TypeScript, Rust, Julia. Every lesson produces something reusable -- prompts, skills, agents, MCP servers.\n\nYou don't just learn AI. You learn AI **with** AI. Then you build real things. Then you ship tools others can use.\n\n| | Traditional Courses | This Course |\n|---|---|---|\n| **Scope** | One slice (NLP or Vision or Agents) | Everything: math, ML, DL, NLP, vision, speech, transformers, LLMs, agents, swarms |\n| **Languages** | Python only | Python, TypeScript, Rust, Julia |\n| **Output** | \"I learned something\" | A portfolio of tools, prompts, skills, and agents you can install |\n| **Depth** | Surface-level or theory-heavy | Build from scratch first, then use frameworks |\n| **Format** | Videos you watch | Runnable code + docs + web app + AI-powered quizzes |\n| **Learning style** | Passive consumption | AI-native: use Claude Code skills to test yourself as you go |\n\n---\n\n## 🧠 AI-Native Learning\n\nThis isn't a course you watch. It's a course you **use with your AI coding agent**.\n\n### Learn with AI, not just about AI\n\n```bash\n# Find where to start based on what you already know\n\u002Ffind-your-level\n\n# Quiz yourself after completing a phase\n\u002Fcheck-understanding 3\n\n# Every lesson produces a reusable artifact\nls phases\u002F03-deep-learning-core\u002F05-loss-functions\u002Foutputs\u002F\n# prompt-loss-function-selector.md\n# prompt-loss-debugger.md\n```\n\n### Built-in Claude Code Skills\n\n| Skill | What it does |\n|-------|-------------|\n| `\u002Ffind-your-level` | 10-question quiz that maps your knowledge to a starting phase and builds a personalized path with hour estimates |\n| `\u002Fcheck-understanding \u003Cphase>` | Per-phase quiz (8 questions) with feedback and specific lessons to review |\n\n### Every Lesson Ships Something\n\nOther courses end with \"congratulations, you learned X.\" Our lessons end with a **reusable tool**:\n\n- **Prompts** -- paste into any AI assistant to get expert-level help on the topic\n- **Skills** -- install into Claude Code, Cursor, or any coding agent\n- **Agents** -- deploy as autonomous workers\n- **MCP servers** -- plug into any MCP-compatible AI app\n\n277-term searchable glossary. Full lesson catalog. ~290 hours of content with per-lesson time estimates. [Browse the website &rarr;](https:\u002F\u002Faiengineeringfromscratch.com)\n\n---\n\n## The Journey\n\n\u003Ctable>\n\u003Ctr>\u003Ctd>\n\n### Phase 0: Setup & Tooling `12 lessons`\n> Get your environment ready for everything that follows.\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Dev Environment](phases\u002F00-setup-and-tooling\u002F01-dev-environment\u002F) | Build | Python, Node, Rust |\n| 02 | [Git & Collaboration](phases\u002F00-setup-and-tooling\u002F02-git-and-collaboration\u002F) | Learn | -- |\n| 03 | [GPU Setup & Cloud](phases\u002F00-setup-and-tooling\u002F03-gpu-setup-and-cloud\u002F) | Build | Python |\n| 04 | [APIs & Keys](phases\u002F00-setup-and-tooling\u002F04-apis-and-keys\u002F) | Build | Python, TS |\n| 05 | [Jupyter Notebooks](phases\u002F00-setup-and-tooling\u002F05-jupyter-notebooks\u002F) | Build | Python |\n| 06 | [Python Environments](phases\u002F00-setup-and-tooling\u002F06-python-environments\u002F) | Build | Python |\n| 07 | [Docker for AI](phases\u002F00-setup-and-tooling\u002F07-docker-for-ai\u002F) | Build | Python |\n| 08 | [Editor Setup](phases\u002F00-setup-and-tooling\u002F08-editor-setup\u002F) | Build | -- |\n| 09 | [Data Management](phases\u002F00-setup-and-tooling\u002F09-data-management\u002F) | Build | Python |\n| 10 | [Terminal & Shell](phases\u002F00-setup-and-tooling\u002F10-terminal-and-shell\u002F) | Learn | -- |\n| 11 | [Linux for AI](phases\u002F00-setup-and-tooling\u002F11-linux-for-ai\u002F) | Learn | -- |\n| 12 | [Debugging & Profiling](phases\u002F00-setup-and-tooling\u002F12-debugging-and-profiling\u002F) | Build | Python |\n\n\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cdetails id=\"phase-1\">\n\u003Csummary>\u003Cstrong>Phase 1: Math Foundations\u003C\u002Fstrong> \u003Ccode>22 lessons\u003C\u002Fcode> &nbsp; \u003Cem>The intuition behind every AI algorithm, through code.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Linear Algebra Intuition](phases\u002F01-math-foundations\u002F01-linear-algebra-intuition\u002F) | Learn | Python, Julia |\n| 02 | [Vectors, Matrices & Operations](phases\u002F01-math-foundations\u002F02-vectors-matrices-operations\u002F) | Build | Python, Julia |\n| 03 | [Matrix Transformations & Eigenvalues](phases\u002F01-math-foundations\u002F03-matrix-transformations\u002F) | Build | Python, Julia |\n| 04 | [Calculus for ML: Derivatives & Gradients](phases\u002F01-math-foundations\u002F04-calculus-for-ml\u002F) | Learn | Python |\n| 05 | [Chain Rule & Automatic Differentiation](phases\u002F01-math-foundations\u002F05-chain-rule-and-autodiff\u002F) | Build | Python |\n| 06 | [Probability & Distributions](phases\u002F01-math-foundations\u002F06-probability-and-distributions\u002F) | Learn | Python |\n| 07 | [Bayes' Theorem & Statistical Thinking](phases\u002F01-math-foundations\u002F07-bayes-theorem\u002F) | Build | Python |\n| 08 | [Optimization: Gradient Descent Family](phases\u002F01-math-foundations\u002F08-optimization\u002F) | Build | Python |\n| 09 | [Information Theory: Entropy, KL Divergence](phases\u002F01-math-foundations\u002F09-information-theory\u002F) | Learn | Python |\n| 10 | [Dimensionality Reduction: PCA, t-SNE, UMAP](phases\u002F01-math-foundations\u002F10-dimensionality-reduction\u002F) | Build | Python |\n| 11 | [Singular Value Decomposition](phases\u002F01-math-foundations\u002F11-singular-value-decomposition\u002F) | Build | Python, Julia |\n| 12 | [Tensor Operations](phases\u002F01-math-foundations\u002F12-tensor-operations\u002F) | Build | Python |\n| 13 | [Numerical Stability](phases\u002F01-math-foundations\u002F13-numerical-stability\u002F) | Build | Python |\n| 14 | [Norms & Distances](phases\u002F01-math-foundations\u002F14-norms-and-distances\u002F) | Build | Python |\n| 15 | [Statistics for ML](phases\u002F01-math-foundations\u002F15-statistics-for-ml\u002F) | Build | Python |\n| 16 | [Sampling Methods](phases\u002F01-math-foundations\u002F16-sampling-methods\u002F) | Build | Python |\n| 17 | [Linear Systems](phases\u002F01-math-foundations\u002F17-linear-systems\u002F) | Build | Python |\n| 18 | [Convex Optimization](phases\u002F01-math-foundations\u002F18-convex-optimization\u002F) | Build | Python |\n| 19 | [Complex Numbers for AI](phases\u002F01-math-foundations\u002F19-complex-numbers\u002F) | Learn | Python |\n| 20 | [The Fourier Transform](phases\u002F01-math-foundations\u002F20-fourier-transform\u002F) | Build | Python |\n| 21 | [Graph Theory for ML](phases\u002F01-math-foundations\u002F21-graph-theory\u002F) | Build | Python |\n| 22 | [Stochastic Processes](phases\u002F01-math-foundations\u002F22-stochastic-processes\u002F) | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-2\">\n\u003Csummary>\u003Cstrong>Phase 2: ML Fundamentals\u003C\u002Fstrong> \u003Ccode>18 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Classical ML - still the backbone of most production AI.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [What Is Machine Learning](phases\u002F02-ml-fundamentals\u002F01-what-is-machine-learning\u002F) | Learn | Python |\n| 02 | [Linear Regression from Scratch](phases\u002F02-ml-fundamentals\u002F02-linear-regression\u002F) | Build | Python |\n| 03 | [Logistic Regression & Classification](phases\u002F02-ml-fundamentals\u002F03-logistic-regression\u002F) | Build | Python |\n| 04 | [Decision Trees & Random Forests](phases\u002F02-ml-fundamentals\u002F04-decision-trees\u002F) | Build | Python |\n| 05 | [Support Vector Machines](phases\u002F02-ml-fundamentals\u002F05-support-vector-machines\u002F) | Build | Python |\n| 06 | [KNN & Distance Metrics](phases\u002F02-ml-fundamentals\u002F06-knn-and-distances\u002F) | Build | Python |\n| 07 | [Unsupervised Learning: K-Means, DBSCAN](phases\u002F02-ml-fundamentals\u002F07-unsupervised-learning\u002F) | Build | Python |\n| 08 | [Feature Engineering & Selection](phases\u002F02-ml-fundamentals\u002F08-feature-engineering\u002F) | Build | Python |\n| 09 | [Model Evaluation: Metrics, Cross-Validation](phases\u002F02-ml-fundamentals\u002F09-model-evaluation\u002F) | Build | Python |\n| 10 | [Bias, Variance & the Learning Curve](phases\u002F02-ml-fundamentals\u002F10-bias-variance\u002F) | Learn | Python |\n| 11 | [Ensemble Methods: Boosting, Bagging, Stacking](phases\u002F02-ml-fundamentals\u002F11-ensemble-methods\u002F) | Build | Python |\n| 12 | [Hyperparameter Tuning](phases\u002F02-ml-fundamentals\u002F12-hyperparameter-tuning\u002F) | Build | Python |\n| 13 | [ML Pipelines & Experiment Tracking](phases\u002F02-ml-fundamentals\u002F13-ml-pipelines\u002F) | Build | Python |\n| 14 | [Naive Bayes](phases\u002F02-ml-fundamentals\u002F14-naive-bayes\u002F) | Build | Python |\n| 15 | [Time Series Fundamentals](phases\u002F02-ml-fundamentals\u002F15-time-series\u002F) | Build | Python |\n| 16 | [Anomaly Detection](phases\u002F02-ml-fundamentals\u002F16-anomaly-detection\u002F) | Build | Python |\n| 17 | [Handling Imbalanced Data](phases\u002F02-ml-fundamentals\u002F17-imbalanced-data\u002F) | Build | Python |\n| 18 | [Feature Selection](phases\u002F02-ml-fundamentals\u002F18-feature-selection\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-3\">\n\u003Csummary>\u003Cstrong>Phase 3: Deep Learning Core\u003C\u002Fstrong> \u003Ccode>13 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Neural networks from first principles. No frameworks until you build one.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [The Perceptron: Where It All Started](phases\u002F03-deep-learning-core\u002F01-the-perceptron\u002F) | Build | Python |\n| 02 | [Multi-Layer Networks & Forward Pass](phases\u002F03-deep-learning-core\u002F02-multi-layer-networks\u002F) | Build | Python |\n| 03 | [Backpropagation from Scratch](phases\u002F03-deep-learning-core\u002F03-backpropagation\u002F) | Build | Python |\n| 04 | [Activation Functions: ReLU, Sigmoid, GELU & Why](phases\u002F03-deep-learning-core\u002F04-activation-functions\u002F) | Build | Python |\n| 05 | [Loss Functions: MSE, Cross-Entropy, Contrastive](phases\u002F03-deep-learning-core\u002F05-loss-functions\u002F) | Build | Python |\n| 06 | [Optimizers: SGD, Momentum, Adam, AdamW](phases\u002F03-deep-learning-core\u002F06-optimizers\u002F) | Build | Python |\n| 07 | [Regularization: Dropout, Weight Decay, BatchNorm](phases\u002F03-deep-learning-core\u002F07-regularization\u002F) | Build | Python |\n| 08 | [Weight Initialization & Training Stability](phases\u002F03-deep-learning-core\u002F08-weight-initialization\u002F) | Build | Python |\n| 09 | [Learning Rate Schedules & Warmup](phases\u002F03-deep-learning-core\u002F09-learning-rate-schedules\u002F) | Build | Python |\n| 10 | [Build Your Own Mini Framework](phases\u002F03-deep-learning-core\u002F10-mini-framework\u002F) | Build | Python |\n| 11 | [Introduction to PyTorch](phases\u002F03-deep-learning-core\u002F11-intro-to-pytorch\u002F) | Build | Python |\n| 12 | [Introduction to JAX](phases\u002F03-deep-learning-core\u002F12-intro-to-jax\u002F) | Build | Python |\n| 13 | [Debugging Neural Networks](phases\u002F03-deep-learning-core\u002F13-debugging-neural-networks\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-4\">\n\u003Csummary>\u003Cstrong>Phase 4: Computer Vision\u003C\u002Fstrong> \u003Ccode>16 lessons\u003C\u002Fcode> &nbsp; \u003Cem>From pixels to understanding - image, video, and 3D.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Image Fundamentals: Pixels, Channels, Color Spaces | Learn | Python |\n| 02 | Convolutions from Scratch | Build | Python |\n| 03 | CNNs: LeNet to ResNet | Build | Python |\n| 04 | Image Classification | Build | Python |\n| 05 | Transfer Learning & Fine-Tuning | Build | Python |\n| 06 | Object Detection -YOLO from Scratch | Build | Python |\n| 07 | Semantic Segmentation -U-Net | Build | Python |\n| 08 | Instance Segmentation -Mask R-CNN | Build | Python |\n| 09 | Image Generation -GANs | Build | Python |\n| 10 | Image Generation -Diffusion Models | Build | Python |\n| 11 | Stable Diffusion -Architecture & Fine-Tuning | Build | Python |\n| 12 | Video Understanding -Temporal Modeling | Build | Python |\n| 13 | 3D Vision: Point Clouds, NeRFs | Build | Python |\n| 14 | Vision Transformers (ViT) | Build | Python |\n| 15 | Real-Time Vision: Edge Deployment | Build | Python, Rust |\n| 16 | Build a Complete Vision Pipeline | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-5\">\n\u003Csummary>\u003Cstrong>Phase 5: NLP: Foundations to Advanced\u003C\u002Fstrong> \u003Ccode>18 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Language is the interface to intelligence.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Text Processing: Tokenization, Stemming, Lemmatization | Build | Python |\n| 02 | Bag of Words, TF-IDF & Text Representation | Build | Python |\n| 03 | Word Embeddings: Word2Vec from Scratch | Build | Python |\n| 04 | GloVe, FastText & Subword Embeddings | Build | Python |\n| 05 | Sentiment Analysis | Build | Python |\n| 06 | Named Entity Recognition (NER) | Build | Python |\n| 07 | POS Tagging & Syntactic Parsing | Build | Python |\n| 08 | Text Classification -CNNs & RNNs for Text | Build | Python |\n| 09 | Sequence-to-Sequence Models | Build | Python |\n| 10 | Attention Mechanism -The Breakthrough | Build | Python |\n| 11 | Machine Translation | Build | Python |\n| 12 | Text Summarization | Build | Python |\n| 13 | Question Answering Systems | Build | Python |\n| 14 | Information Retrieval & Search | Build | Python |\n| 15 | Topic Modeling: LDA, BERTopic | Build | Python |\n| 16 | Text Generation | Build | Python |\n| 17 | Chatbots: Rule-Based to Neural | Build | Python |\n| 18 | Multilingual NLP | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-6\">\n\u003Csummary>\u003Cstrong>Phase 6: Speech & Audio\u003C\u002Fstrong> \u003Ccode>12 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Hear, understand, speak.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Audio Fundamentals: Waveforms, Sampling, FFT | Learn | Python |\n| 02 | Spectrograms, Mel Scale & Audio Features | Build | Python |\n| 03 | Audio Classification | Build | Python |\n| 04 | Speech Recognition (ASR) | Build | Python |\n| 05 | Whisper: Architecture & Fine-Tuning | Build | Python |\n| 06 | Speaker Recognition & Verification | Build | Python |\n| 07 | Text-to-Speech (TTS) | Build | Python |\n| 08 | Voice Cloning & Voice Conversion | Build | Python |\n| 09 | Music Generation | Build | Python |\n| 10 | Audio-Language Models | Build | Python |\n| 11 | Real-Time Audio Processing | Build | Python, Rust |\n| 12 | Build a Voice Assistant Pipeline | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-7\">\n\u003Csummary>\u003Cstrong>Phase 7: Transformers Deep Dive\u003C\u002Fstrong> \u003Ccode>14 lessons\u003C\u002Fcode> &nbsp; \u003Cem>The architecture that changed everything.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Why Transformers: The Problems with RNNs | Learn | -- |\n| 02 | [Self-Attention from Scratch](phases\u002F07-transformers-deep-dive\u002F02-self-attention-from-scratch\u002F) | Build | Python |\n| 03 | Multi-Head Attention | Build | Python |\n| 04 | Positional Encoding: Sinusoidal, RoPE, ALiBi | Build | Python |\n| 05 | The Full Transformer: Encoder + Decoder | Build | Python |\n| 06 | BERT -Masked Language Modeling | Build | Python |\n| 07 | GPT -Causal Language Modeling | Build | Python |\n| 08 | T5, BART -Encoder-Decoder Models | Build | Python |\n| 09 | Vision Transformers (ViT) | Build | Python |\n| 10 | Audio Transformers -Whisper Architecture | Build | Python |\n| 11 | Mixture of Experts (MoE) | Build | Python |\n| 12 | KV Cache, Flash Attention & Inference Optimization | Build | Python, Rust |\n| 13 | Scaling Laws | Learn | Python |\n| 14 | Build a Transformer from Scratch | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-8\">\n\u003Csummary>\u003Cstrong>Phase 8: Generative AI\u003C\u002Fstrong> \u003Ccode>14 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Create images, video, audio, 3D, and more.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Generative Models: Taxonomy & History | Learn | -- |\n| 02 | Autoencoders & VAE | Build | Python |\n| 03 | GANs: Generator vs Discriminator | Build | Python |\n| 04 | Conditional GANs & Pix2Pix | Build | Python |\n| 05 | StyleGAN | Build | Python |\n| 06 | Diffusion Models -DDPM from Scratch | Build | Python |\n| 07 | Latent Diffusion & Stable Diffusion | Build | Python |\n| 08 | ControlNet, LoRA & Conditioning | Build | Python |\n| 09 | Inpainting, Outpainting & Editing | Build | Python |\n| 10 | Video Generation | Build | Python |\n| 11 | Audio Generation | Build | Python |\n| 12 | 3D Generation | Build | Python |\n| 13 | Flow Matching & Rectified Flows | Build | Python |\n| 14 | Evaluation: FID, CLIP Score | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-9\">\n\u003Csummary>\u003Cstrong>Phase 9: Reinforcement Learning\u003C\u002Fstrong> \u003Ccode>12 lessons\u003C\u002Fcode> &nbsp; \u003Cem>The foundation of RLHF and game-playing AI.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | MDPs, States, Actions & Rewards | Learn | Python |\n| 02 | Dynamic Programming | Build | Python |\n| 03 | Monte Carlo Methods | Build | Python |\n| 04 | Q-Learning, SARSA | Build | Python |\n| 05 | Deep Q-Networks (DQN) | Build | Python |\n| 06 | Policy Gradients -REINFORCE | Build | Python |\n| 07 | Actor-Critic -A2C, A3C | Build | Python |\n| 08 | PPO | Build | Python |\n| 09 | Reward Modeling & RLHF | Build | Python |\n| 10 | Multi-Agent RL | Build | Python |\n| 11 | Sim-to-Real Transfer | Build | Python |\n| 12 | RL for Games | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-10\">\n\u003Csummary>\u003Cstrong>Phase 10: LLMs from Scratch\u003C\u002Fstrong> \u003Ccode>14 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Build, train, and understand large language models.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Tokenizers: BPE, WordPiece, SentencePiece](phases\u002F10-llms-from-scratch\u002F01-tokenizers\u002F) | Build | Python |\n| 02 | [Building a Tokenizer from Scratch](phases\u002F10-llms-from-scratch\u002F02-building-a-tokenizer\u002F) | Build | Python |\n| 03 | [Data Pipelines for Pre-Training](phases\u002F10-llms-from-scratch\u002F03-data-pipelines\u002F) | Build | Python |\n| 04 | [Pre-Training a Mini GPT (124M)](phases\u002F10-llms-from-scratch\u002F04-pre-training-mini-gpt\u002F) | Build | Python |\n| 05 | [Distributed Training, FSDP, DeepSpeed](phases\u002F10-llms-from-scratch\u002F05-scaling-distributed\u002F) | Build | Python |\n| 06 | [Instruction Tuning -SFT](phases\u002F10-llms-from-scratch\u002F06-instruction-tuning-sft\u002F) | Build | Python |\n| 07 | [RLHF -Reward Model + PPO](phases\u002F10-llms-from-scratch\u002F07-rlhf\u002F) | Build | Python |\n| 08 | [DPO -Direct Preference Optimization](phases\u002F10-llms-from-scratch\u002F08-dpo\u002F) | Build | Python |\n| 09 | Constitutional AI | Build | Python |\n| 10 | [Evaluation -Benchmarks, Evals](phases\u002F10-llms-from-scratch\u002F10-evaluation\u002F) | Build | Python |\n| 11 | Quantization: INT8, GPTQ, AWQ, GGUF | Build | Python, Rust |\n| 12 | Inference Optimization | Build | Python |\n| 13 | Building a Complete LLM Pipeline | Build | Python |\n| 14 | Open Models: Architecture Walkthroughs | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-11\">\n\u003Csummary>\u003Cstrong>Phase 11: LLM Engineering\u003C\u002Fstrong> \u003Ccode>13 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Put LLMs to work in production.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Prompt Engineering: Techniques & Patterns](phases\u002F11-llm-engineering\u002F01-prompt-engineering\u002F) | Build | Python |\n| 02 | [Few-Shot, CoT, Tree-of-Thought](phases\u002F11-llm-engineering\u002F02-few-shot-cot\u002F) | Build | Python |\n| 03 | [Structured Outputs](phases\u002F11-llm-engineering\u002F03-structured-outputs\u002F) | Build | Python, TS |\n| 04 | [Embeddings & Vector Representations](phases\u002F11-llm-engineering\u002F04-embeddings\u002F) | Build | Python |\n| 05 | [Context Engineering](phases\u002F11-llm-engineering\u002F05-context-engineering\u002F) | Build | Python, TS |\n| 06 | [RAG: Retrieval-Augmented Generation](phases\u002F11-llm-engineering\u002F06-rag\u002F) | Build | Python, TS |\n| 07 | [Advanced RAG: Chunking, Reranking](phases\u002F11-llm-engineering\u002F07-advanced-rag\u002F) | Build | Python |\n| 08 | [Fine-Tuning with LoRA & QLoRA](phases\u002F11-llm-engineering\u002F08-fine-tuning-lora\u002F) | Build | Python |\n| 09 | [Function Calling & Tool Use](phases\u002F11-llm-engineering\u002F09-function-calling\u002F) | Build | Python |\n| 10 | [Evaluation & Testing](phases\u002F11-llm-engineering\u002F10-evaluation\u002F) | Build | Python |\n| 11 | [Caching, Rate Limiting & Cost](phases\u002F11-llm-engineering\u002F11-caching-cost\u002F) | Build | Python |\n| 12 | [Guardrails & Safety](phases\u002F11-llm-engineering\u002F12-guardrails\u002F) | Build | Python |\n| 13 | [Building a Production LLM App](phases\u002F11-llm-engineering\u002F13-production-app\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-12\">\n\u003Csummary>\u003Cstrong>Phase 12: Multimodal AI\u003C\u002Fstrong> \u003Ccode>11 lessons\u003C\u002Fcode> &nbsp; \u003Cem>See, hear, read, and reason across modalities.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Multimodal Representations | Learn | -- |\n| 02 | CLIP: Vision + Language | Build | Python |\n| 03 | Vision-Language Models | Build | Python |\n| 04 | Audio-Language Models | Build | Python |\n| 05 | Document Understanding | Build | Python |\n| 06 | Video-Language Models | Build | Python |\n| 07 | Multimodal RAG | Build | Python, TS |\n| 08 | Multimodal Agents | Build | Python, TS |\n| 09 | Text-to-Image Pipelines | Build | Python |\n| 10 | Text-to-Video Pipelines | Build | Python |\n| 11 | Any-to-Any Models | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-13\">\n\u003Csummary>\u003Cstrong>Phase 13: Tools & Protocols\u003C\u002Fstrong> \u003Ccode>10 lessons\u003C\u002Fcode> &nbsp; \u003Cem>The interfaces between AI and the real world.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Function Calling Deep Dive | Build | Python, TS |\n| 02 | Tool Use Patterns | Build | TS |\n| 03 | MCP: Model Context Protocol | Learn | -- |\n| 04 | Building MCP Servers | Build | TS, Python |\n| 05 | Building MCP Clients | Build | TS, Python |\n| 06 | MCP Resources, Prompts & Sampling | Build | TS |\n| 07 | Structured Output Schemas | Build | TS, Python |\n| 08 | API Design for AI | Build | TS |\n| 09 | Browser Automation & Web Agents | Build | TS |\n| 10 | Build a Complete Tool Ecosystem | Build | TS, Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-14\">\n\u003Csummary>\u003Cstrong>Phase 14: Agent Engineering\u003C\u002Fstrong> \u003Ccode>15 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Build agents from first principles.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [The Agent Loop](phases\u002F14-agent-engineering\u002F01-the-agent-loop\u002F) | Build | Python, TS |\n| 02 | Tool Dispatch & Registration | Build | TS |\n| 03 | Planning: TodoWrite, DAGs | Build | TS |\n| 04 | Memory: Short-Term, Long-Term, Episodic | Build | TS, Python |\n| 05 | Context Window Management | Build | TS |\n| 06 | Context Compression & Summarization | Build | TS |\n| 07 | Subagents: Delegation | Build | TS |\n| 08 | Skills & Knowledge Loading | Build | TS |\n| 09 | Permissions, Sandboxing & Safety | Build | TS, Rust |\n| 10 | File-Based Task Systems | Build | TS |\n| 11 | Background Task Execution | Build | TS |\n| 12 | Error Recovery & Self-Healing | Build | TS |\n| 13 | Hooks: PreToolUse, PostToolUse | Build | TS |\n| 14 | Eval-Driven Agent Development | Build | Python, TS |\n| 15 | Build a Complete AI Agent | Build | TS |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-15\">\n\u003Csummary>\u003Cstrong>Phase 15: Autonomous Systems\u003C\u002Fstrong> \u003Ccode>11 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Agents that run without human intervention safely.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | What Makes a System Autonomous | Learn | -- |\n| 02 | Autonomous Loops | Build | TS, Python |\n| 03 | Self-Healing Agents | Build | TS |\n| 04 | AutoResearch: Autonomous Research | Build | TS, Python |\n| 05 | Eval-Driven Loops | Build | TS |\n| 06 | Human-in-the-Loop | Build | TS |\n| 07 | Continuous Agents | Build | TS |\n| 08 | Cost-Aware Autonomous Systems | Build | TS |\n| 09 | Monitoring & Observability | Build | TS, Rust |\n| 10 | Safety Boundaries | Build | TS |\n| 11 | Build an Autonomous Coding Agent | Build | TS |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-16\">\n\u003Csummary>\u003Cstrong>Phase 16: Multi-Agent & Swarms\u003C\u002Fstrong> \u003Ccode>14 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Coordination, emergence, and collective intelligence.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Why Multi-Agent](phases\u002F16-multi-agent-and-swarms\u002F01-why-multi-agent\u002F) | Learn | -- |\n| 02 | Agent Teams: Roles & Delegation | Build | TS |\n| 03 | [Communication Protocols](phases\u002F16-multi-agent-and-swarms\u002F03-communication-protocols\u002F) | Build | TS |\n| 04 | Shared State & Coordination | Build | TS, Rust |\n| 05 | Message Passing & Mailboxes | Build | TS |\n| 06 | Task Markets | Build | TS |\n| 07 | Consensus Algorithms | Build | TS, Rust |\n| 08 | Swarm Intelligence | Build | Python, TS |\n| 09 | Agent Economies | Build | TS |\n| 10 | Worktree Isolation | Build | TS |\n| 11 | Hierarchical Swarms | Build | TS |\n| 12 | Self-Organizing Systems | Build | TS, Rust |\n| 13 | DAG-Based Orchestration | Build | TS, Rust |\n| 14 | Build an Autonomous Swarm | Build | TS, Rust |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-17\">\n\u003Csummary>\u003Cstrong>Phase 17: Infrastructure & Production\u003C\u002Fstrong> \u003Ccode>11 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Ship AI to the real world.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Model Serving | Build | Python |\n| 02 | Docker for AI Workloads | Build | Python, Rust |\n| 03 | Kubernetes for AI | Build | Python |\n| 04 | Edge Deployment: ONNX, WASM | Build | Python, Rust |\n| 05 | Observability | Build | TS, Rust |\n| 06 | Cost Optimization | Build | TS |\n| 07 | CI\u002FCD for ML | Build | Python |\n| 08 | A\u002FB Testing & Feature Flags | Build | Python, TS |\n| 09 | Data Pipelines | Build | Python, Rust |\n| 10 | Security: Red Teaming, Defense | Build | Python, TS |\n| 11 | Build a Production AI Platform | Build | Python, TS, Rust |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-18\">\n\u003Csummary>\u003Cstrong>Phase 18: Ethics, Safety & Alignment\u003C\u002Fstrong> \u003Ccode>6 lessons\u003C\u002Fcode> &nbsp; \u003Cem>Build AI that helps humanity. Not optional.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | AI Ethics: Bias, Fairness | Learn | -- |\n| 02 | Alignment: What & Why | Learn | -- |\n| 03 | Red Teaming & Adversarial Testing | Build | Python |\n| 04 | Responsible AI Frameworks | Learn | -- |\n| 05 | Privacy: Differential Privacy, FL | Build | Python |\n| 06 | Interpretability: SHAP, Attention | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-19\">\n\u003Csummary>\u003Cstrong>Phase 19: Capstone Projects\u003C\u002Fstrong> \u003Ccode>5 projects\u003C\u002Fcode> &nbsp; \u003Cem>Prove everything you learned.\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | Project | Combines | Lang |\n|:---:|---------|----------|------|\n| 01 | Build a Mini GPT & Chat Interface | Phases 1, 3, 7, 10 | Python, TS |\n| 02 | Build a Multimodal RAG System | Phases 5, 11, 12, 13 | Python, TS |\n| 03 | Build an Autonomous Research Agent | Phases 14, 15, 6 | TS, Python |\n| 04 | Build a Multi-Agent Dev Team | Phases 14, 15, 16, 17 | TS, Rust |\n| 05 | Build a Production AI Platform | All phases | Python, TS, Rust |\n\n\u003C\u002Fdetails>\n\n---\n\n## Course Output: The Toolkit\n\nOther courses give you a certificate. This one gives you a **toolkit**.\n\nEvery lesson produces a reusable artifact -- a prompt, skill, agent, or MCP server that you can install and use immediately. By the end of the course you have:\n\n```\noutputs\u002F\n├── prompts\u002F          Prompt templates for every AI task\n├── skills\u002F           SKILL.md files for AI coding agents\n├── agents\u002F           Agent definitions ready to deploy\n└── mcp-servers\u002F      MCP servers you built during the course\n```\n\nInstall them with [SkillKit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fskillkit). Plug them into Claude Code, Cursor, or any AI agent. These are real tools, not homework.\n\n---\n\n## How Each Lesson Works\n\n```\nphases\u002FXX-phase-name\u002FNN-lesson-name\u002F\n├── code\u002F           Runnable implementations (Python, TS, Rust, Julia)\n├── docs\u002F\n│   └── en.md       Lesson documentation\n└── outputs\u002F        Prompts, skills, agents produced by this lesson\n```\n\nEvery lesson follows 6 steps:\n\n| Step | What happens |\n|------|-------------|\n| **Motto** | One-line core idea that sticks |\n| **Problem** | A concrete scenario where not knowing this hurts |\n| **Concept** | Mermaid diagrams and intuition -- no code yet |\n| **Build It** | Implement from scratch in pure Python. No frameworks. |\n| **Use It** | Same thing with PyTorch, sklearn, or the real tool |\n| **Ship It** | The prompt, skill, or agent this lesson produces |\n\nThe Build It \u002F Use It split is the key. You understand what the framework does because you built it yourself first.\n\n---\n\n## Getting Started\n\n**Option A: Just start reading**\n\nPick any completed lesson from [the website](https:\u002F\u002Faiengineeringfromscratch.com) or the phase tables below.\n\n**Option B: Clone and run**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fai-engineering-from-scratch.git\ncd ai-engineering-from-scratch\n\npython phases\u002F01-math-foundations\u002F01-linear-algebra-intuition\u002Fcode\u002Fvectors.py\n```\n\n**Option C: Find your level (recommended)**\n\nIf you already know some ML\u002FDL, don't start from Phase 1. Use the built-in assessment:\n\n```bash\n# In Claude Code:\n\u002Ffind-your-level\n```\n\nThis 10-question quiz maps your knowledge to a starting phase and builds a personalized path with hour estimates.\n\n### Prerequisites\n\n- You can write code (Python or any language)\n- You want to understand how AI actually works, not just call APIs\n\n### Who This Is For\n\n| You are... | Start at... | Time to complete |\n|-----------|------------|-----------------|\n| New to programming + AI | Phase 0 (Setup) | ~290 hours |\n| Know Python, new to ML | Phase 1 (Math) | ~270 hours |\n| Know ML, new to DL | Phase 3 (Deep Learning) | ~200 hours |\n| Know DL, want LLMs\u002Fagents | Phase 10 (LLMs from Scratch) | ~100 hours |\n| Senior engineer, want agents only | Phase 14 (Agent Engineering) | ~60 hours |\n\n---\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for how to add lessons, translations, and outputs.\n\nWant to fork this for your team or school? See [FORKING.md](FORKING.md).\n\nSee [ROADMAP.md](ROADMAP.md) for progress tracking (~290 hours, per-lesson time estimates).\n\n---\n\n\u003Cp align=\"center\">\n  MIT License. Use it however you want.\n\u003C\u002Fp>\n","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.svg\" alt=\"从零开始的AI工程\" width=\"100%\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg\" alt=\"许可证：MIT\">\u003C\u002Fa>\n  \u003Ca href=\"CONTRIBUTING.md\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F欢迎提交PR-鲜绿色.svg\" alt=\"欢迎提交PR\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F课程节数-260+-橙红色.svg\" alt=\"260+节课\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F阶段数-20-深灰色.svg\" alt=\"20个阶段\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F已完成-96-浅绿色.svg\" alt=\"96个已完成\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fai-engineering-from-scratch?style=social\" alt=\"GitHub星标\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#the-journey\">旅程\u003C\u002Fa> &bull;\n  \u003Ca href=\"#-ai-native-learning\">AI原生学习\u003C\u002Fa> &bull;\n  \u003Ca href=\"#getting-started\">开始学习\u003C\u002Fa> &bull;\n  \u003Ca href=\"#course-output-the-toolkit\">工具集\u003C\u002Fa> &bull;\n  \u003Ca href=\"ROADMAP.md\">路线图\u003C\u002Fa> &bull;\n  \u003Ca href=\"CONTRIBUTING.md\">贡献\u003C\u002Fa> &bull;\n  \u003Ca href=\"glossary\u002Fterms.md\">术语表\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n84%的学生已经在使用AI工具。然而，只有18%的人觉得自己有充分准备在工作中专业地运用这些工具。本课程正是为了填补这一差距而设计。\n\n260多节课，20个阶段，约290小时的学习内容。从线性代数到自主智能体群，涵盖Python、TypeScript、Rust和Julia等多种编程语言。每节课都会产出可复用的成果——提示词、技能、智能体以及MCP服务器。\n\n你不仅是在学习AI，更是在**借助AI**来学习AI。随后，你将构建真正可用的项目，并发布可供他人使用的工具。\n\n| | 传统课程 | 本课程 |\n|---|---|---|\n| **范围** | 仅涉及某一领域（如NLP、视觉或智能体） | 涵盖数学、机器学习、深度学习、自然语言处理、计算机视觉、语音处理、Transformer、大模型、智能体及群体智能等全方位内容 |\n| **编程语言** | 仅Python | Python、TypeScript、Rust、Julia |\n| **学习成果** | “我学到了一些东西” | 可直接安装使用的工具、提示词、技能和智能体组成的个人作品集 |\n| **深度** | 浅层或偏重理论 | 先从零开始搭建，再逐步引入框架 |\n| **形式** | 观看视频 | 可运行的代码 + 文档 + Web应用 + AI驱动的测验 |\n| **学习方式** | 被动接受 | AI原生式：利用Claude Code技能边学边自测 |\n\n---\n\n## 🧠 AI原生学习\n\n这并非一堂供你观看的课程，而是一堂你需要**与你的AI编码助手一起实践**的课程。\n\n### 用AI学习，而非仅仅了解AI\n\n```bash\n# 根据已有知识找到适合自己的起点\n\u002Ffind-your-level\n\n# 完成一个阶段后自我检测理解程度\n\u002Fcheck-understanding 3\n\n# 每节课都会生成可复用的成果\nls phases\u002F03-deep-learning-core\u002F05-loss-functions\u002Foutputs\u002F\n# prompt-loss-function-selector.md\n# prompt-loss-debugger.md\n```\n\n### 内置Claude Code技能\n\n| 技能 | 功能 |\n|-------|-------------|\n| `\u002Ffind-your-level` | 10道题的测试，根据你的知识水平匹配起始阶段，并为你制定个性化的学习路径及时间预估 |\n| `\u002Fcheck-understanding \u003Cphase>` | 针对每个阶段的8道题测验，提供反馈并推荐需要复习的具体课程 |\n\n### 每节课都有实际产出\n\n其他课程通常以“恭喜你学会了X”结尾，而我们的课程则会输出一个**可复用的工具**：\n\n- **提示词**——可以直接粘贴到任何AI助手中，获得该主题下的专家级帮助\n- **技能**——可安装到Claude Code、Cursor或其他编码助手中\n- **智能体**——可部署为独立工作的自动化程序\n- **MCP服务器**——可接入任何兼容MCP协议的AI应用\n\n包含277个词条的可搜索术语表。完整的课程目录。约290小时的内容，每节课都附有预计学习时长。[浏览网站 &rarr;](https:\u002F\u002Faiengineeringfromscratch.com)\n\n---\n\n## 旅程\n\n\u003Ctable>\n\u003Ctr>\u003Ctd>\n\n### 第0阶段：环境搭建与工具准备 `12节课`\n> 为后续所有内容做好环境准备。\n\n| 序号 | 课程名称 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [开发环境](phases\u002F00-setup-and-tooling\u002F01-dev-environment\u002F) | 搭建 | Python, Node.js, Rust |\n| 02 | [Git与协作](phases\u002F00-setup-and-tooling\u002F02-git-and-collaboration\u002F) | 学习 | -- |\n| 03 | [GPU设置与云端](phases\u002F00-setup-and-tooling\u002F03-gpu-setup-and-cloud\u002F) | 搭建 | Python |\n| 04 | [API与密钥](phases\u002F00-setup-and-tooling\u002F04-apis-and-keys\u002F) | 搭建 | Python, TypeScript |\n| 05 | [Jupyter Notebooks](phases\u002F00-setup-and-tooling\u002F05-jupyter-notebooks\u002F) | 搭建 | Python |\n| 06 | [Python虚拟环境](phases\u002F00-setup-and-tooling\u002F06-python-environments\u002F) | 搭建 | Python |\n| 07 | [面向AI的Docker](phases\u002F00-setup-and-tooling\u002F07-docker-for-ai\u002F) | 搭建 | Python |\n| 08 | [编辑器配置](phases\u002F00-setup-and-tooling\u002F08-editor-setup\u002F) | 搭建 | -- |\n| 09 | [数据管理](phases\u002F00-setup-and-tooling\u002F09-data-management\u002F) | 搭建 | Python |\n| 10 | [终端与Shell](phases\u002F00-setup-and-tooling\u002F10-terminal-and-shell\u002F) | 学习 | -- |\n| 11 | [面向AI的Linux](phases\u002F00-setup-and-tooling\u002F11-linux-for-ai\u002F) | 学习 | -- |\n| 12 | [调试与性能分析](phases\u002F00-setup-and-tooling\u002F12-debugging-and-profiling\u002F) | 搭建 | Python |\n\n\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cdetails id=\"phase-1\">\n\u003Csummary>\u003Cstrong>第1阶段：数学基础\u003C\u002Fstrong> \u003Ccode>22节课\u003C\u002Fcode> &nbsp; \u003Cem>通过代码深入理解每种AI算法背后的直觉。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [线性代数直觉](phases\u002F01-math-foundations\u002F01-linear-algebra-intuition\u002F) | 学习 | Python, Julia |\n| 02 | [向量、矩阵及运算](phases\u002F01-math-foundations\u002F02-vectors-matrices-operations\u002F) | 实践 | Python, Julia |\n| 03 | [矩阵变换与特征值](phases\u002F01-math-foundations\u002F03-matrix-transformations\u002F) | 实践 | Python, Julia |\n| 04 | [机器学习中的微积分：导数与梯度](phases\u002F01-math-foundations\u002F04-calculus-for-ml\u002F) | 学习 | Python |\n| 05 | [链式法则与自动微分](phases\u002F01-math-foundations\u002F05-chain-rule-and-autodiff\u002F) | 实践 | Python |\n| 06 | [概率与分布](phases\u002F01-math-foundations\u002F06-probability-and-distributions\u002F) | 学习 | Python |\n| 07 | [贝叶斯定理与统计思维](phases\u002F01-math-foundations\u002F07-bayes-theorem\u002F) | 实践 | Python |\n| 08 | [优化：梯度下降家族](phases\u002F01-math-foundations\u002F08-optimization\u002F) | 实践 | Python |\n| 09 | [信息论：熵、KL散度](phases\u002F01-math-foundations\u002F09-information-theory\u002F) | 学习 | Python |\n| 10 | [降维：PCA、t-SNE、UMAP](phases\u002F01-math-foundations\u002F10-dimensionality-reduction\u002F) | 实践 | Python |\n| 11 | [奇异值分解](phases\u002F01-math-foundations\u002F11-singular-value-decomposition\u002F) | 实践 | Python, Julia |\n| 12 | [张量运算](phases\u002F01-math-foundations\u002F12-tensor-operations\u002F) | 实践 | Python |\n| 13 | [数值稳定性](phases\u002F01-math-foundations\u002F13-numerical-stability\u002F) | 实践 | Python |\n| 14 | [范数与距离](phases\u002F01-math-foundations\u002F14-norms-and-distances\u002F) | 实践 | Python |\n| 15 | [机器学习中的统计学](phases\u002F01-math-foundations\u002F15-statistics-for-ml\u002F) | 实践 | Python |\n| 16 | [采样方法](phases\u002F01-math-foundations\u002F16-sampling-methods\u002F) | 实践 | Python |\n| 17 | [线性系统](phases\u002F01-math-foundations\u002F17-linear-systems\u002F) | 实践 | Python |\n| 18 | [凸优化](phases\u002F01-math-foundations\u002F18-convex-optimization\u002F) | 实践 | Python |\n| 19 | [用于人工智能的复数](phases\u002F01-math-foundations\u002F19-complex-numbers\u002F) | 学习 | Python |\n| 20 | [傅里叶变换](phases\u002F01-math-foundations\u002F20-fourier-transform\u002F) | 实践 | Python |\n| 21 | [机器学习中的图论](phases\u002F01-math-foundations\u002F21-graph-theory\u002F) | 实践 | Python |\n| 22 | [随机过程](phases\u002F01-math-foundations\u002F22-stochastic-processes\u002F) | 学习 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-2\">\n\u003Csummary>\u003Cstrong>第二阶段：机器学习基础\u003C\u002Fstrong> \u003Ccode>18课\u003C\u002Fcode> &nbsp; \u003Cem>经典机器学习——至今仍是大多数生产级AI的核心。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [什么是机器学习](phases\u002F02-ml-fundamentals\u002F01-what-is-machine-learning\u002F) | 学习 | Python |\n| 02 | [从零开始实现线性回归](phases\u002F02-ml-fundamentals\u002F02-linear-regression\u002F) | 实践 | Python |\n| 03 | [逻辑回归与分类](phases\u002F02-ml-fundamentals\u002F03-logistic-regression\u002F) | 实践 | Python |\n| 04 | [决策树与随机森林](phases\u002F02-ml-fundamentals\u002F04-decision-trees\u002F) | 实践 | Python |\n| 05 | [支持向量机](phases\u002F02-ml-fundamentals\u002F05-support-vector-machines\u002F) | 实践 | Python |\n| 06 | [K近邻算法与距离度量](phases\u002F02-ml-fundamentals\u002F06-knn-and-distances\u002F) | 实践 | Python |\n| 07 | [无监督学习：K均值、DBSCAN](phases\u002F02-ml-fundamentals\u002F07-unsupervised-learning\u002F) | 实践 | Python |\n| 08 | [特征工程与选择](phases\u002F02-ml-fundamentals\u002F08-feature-engineering\u002F) | 实践 | Python |\n| 09 | [模型评估：指标、交叉验证](phases\u002F02-ml-fundamentals\u002F09-model-evaluation\u002F) | 实践 | Python |\n| 10 | [偏差、方差与学习曲线](phases\u002F02-ml-fundamentals\u002F10-bias-variance\u002F) | 学习 | Python |\n| 11 | [集成方法：提升、装袋、堆叠](phases\u002F02-ml-fundamentals\u002F11-ensemble-methods\u002F) | 实践 | Python |\n| 12 | [超参数调优](phases\u002F02-ml-fundamentals\u002F12-hyperparameter-tuning\u002F) | 实践 | Python |\n| 13 | [机器学习流水线与实验跟踪](phases\u002F02-ml-fundamentals\u002F13-ml-pipelines\u002F) | 实践 | Python |\n| 14 | [朴素贝叶斯](phases\u002F02-ml-fundamentals\u002F14-naive-bayes\u002F) | 实践 | Python |\n| 15 | [时间序列基础](phases\u002F02-ml-fundamentals\u002F15-time-series\u002F) | 实践 | Python |\n| 16 | [异常检测](phases\u002F02-ml-fundamentals\u002F16-anomaly-detection\u002F) | 实践 | Python |\n| 17 | [处理不平衡数据](phases\u002F02-ml-fundamentals\u002F17-imbalanced-data\u002F) | 实践 | Python |\n| 18 | [特征选择](phases\u002F02-ml-fundamentals\u002F18-feature-selection\u002F) | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-3\">\n\u003Csummary>\u003Cstrong>第三阶段：深度学习核心\u003C\u002Fstrong> \u003Ccode>13课\u003C\u002Fcode> &nbsp; \u003Cem>从基本原理出发构建神经网络。在亲手搭建一个框架之前，不使用任何现成的框架。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [感知器：一切的起点](phases\u002F03-deep-learning-core\u002F01-the-perceptron\u002F) | 实践 | Python |\n| 02 | [多层网络与前向传播](phases\u002F03-deep-learning-core\u002F02-multi-layer-networks\u002F) | 实践 | Python |\n| 03 | [从零开始实现反向传播](phases\u002F03-deep-learning-core\u002F03-backpropagation\u002F) | 实践 | Python |\n| 04 | [激活函数：ReLU、Sigmoid、GELU及其原因](phases\u002F03-deep-learning-core\u002F04-activation-functions\u002F) | 实践 | Python |\n| 05 | [损失函数：MSE、交叉熵、对比损失](phases\u002F03-deep-learning-core\u002F05-loss-functions\u002F) | 实践 | Python |\n| 06 | [优化器：SGD、动量、Adam、AdamW](phases\u002F03-deep-learning-core\u002F06-optimizers\u002F) | 实践 | Python |\n| 07 | [正则化：Dropout、权重衰减、批归一化](phases\u002F03-deep-learning-core\u002F07-regularization\u002F) | 实践 | Python |\n| 08 | [权重初始化与训练稳定性](phases\u002F03-deep-learning-core\u002F08-weight-initialization\u002F) | 实践 | Python |\n| 09 | [学习率调度与预热](phases\u002F03-deep-learning-core\u002F09-learning-rate-schedules\u002F) | 实践 | Python |\n| 10 | [搭建属于你自己的迷你框架](phases\u002F03-deep-learning-core\u002F10-mini-framework\u002F) | 实践 | Python |\n| 11 | [PyTorch入门](phases\u002F03-deep-learning-core\u002F11-intro-to-pytorch\u002F) | 实践 | Python |\n| 12 | [JAX入门](phases\u002F03-deep-learning-core\u002F12-intro-to-jax\u002F) | 实践 | Python |\n| 13 | [调试神经网络](phases\u002F03-deep-learning-core\u002F13-debugging-neural-networks\u002F) | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-4\">\n\u003Csummary>\u003Cstrong>第四阶段：计算机视觉\u003C\u002Fstrong> \u003Ccode>16课\u003C\u002Fcode> &nbsp; \u003Cem>从像素到理解——图像、视频和3D。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 图像基础：像素、通道、色彩空间 | 学习 | Python |\n| 02 | 从零开始实现卷积 | 实践 | Python |\n| 03 | CNN：从LeNet到ResNet | 实践 | Python |\n| 04 | 图像分类 | 实践 | Python |\n| 05 | 迁移学习与微调 | 实践 | Python |\n| 06 | 目标检测——从零实现YOLO | 实践 | Python |\n| 07 | 语义分割——U-Net | 实践 | Python |\n| 08 | 实例分割——Mask R-CNN | 实践 | Python |\n| 09 | 图像生成——GANs | 实践 | Python |\n| 10 | 图像生成——扩散模型 | 实践 | Python |\n| 11 | Stable Diffusion——架构与微调 | 实践 | Python |\n| 12 | 视频理解——时序建模 | 实践 | Python |\n| 13 | 3D视觉：点云、NeRFs | 实践 | Python |\n| 14 | 视觉Transformer（ViT） | 实践 | Python |\n| 15 | 实时视觉：边缘部署 | 实践 | Python、Rust |\n| 16 | 构建完整的视觉流水线 | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-5\">\n\u003Csummary>\u003Cstrong>阶段5：自然语言处理：从基础到高级\u003C\u002Fstrong> \u003Ccode>18节课\u003C\u002Fcode> &nbsp; \u003Cem>语言是通往智能的接口。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 文本处理：分词、词干提取、词形还原 | 实践 | Python |\n| 02 | 词袋模型、TF-IDF与文本表示 | 实践 | Python |\n| 03 | 词嵌入：从零实现Word2Vec | 实践 | Python |\n| 04 | GloVe、FastText与子词嵌入 | 实践 | Python |\n| 05 | 情感分析 | 实践 | Python |\n| 06 | 命名实体识别（NER） | 实践 | Python |\n| 07 | 词性标注与句法解析 | 实践 | Python |\n| 08 | 文本分类——用于文本的CNN与RNN | 实践 | Python |\n| 09 | 序列到序列模型 | 实践 | Python |\n| 10 | 注意力机制——突破性技术 | 实践 | Python |\n| 11 | 机器翻译 | 实践 | Python |\n| 12 | 文本摘要 | 实践 | Python |\n| 13 | 问答系统 | 实践 | Python |\n| 14 | 信息检索与搜索 | 实践 | Python |\n| 15 | 主题建模：LDA、BERTopic | 实践 | Python |\n| 16 | 文本生成 | 实践 | Python |\n| 17 | 聊天机器人：从规则驱动到神经网络 | 实践 | Python |\n| 18 | 多语言NLP | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-6\">\n\u003Csummary>\u003Cstrong>阶段6：语音与音频\u003C\u002Fstrong> \u003Ccode>12节课\u003C\u002Fcode> &nbsp; \u003Cem>听，理解，说。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 音频基础：波形、采样、FFT | 学习 | Python |\n| 02 | 频谱图、梅尔尺度与音频特征 | 实践 | Python |\n| 03 | 音频分类 | 实践 | Python |\n| 04 | 语音识别（ASR） | 实践 | Python |\n| 05 | Whisper：架构与微调 | 实践 | Python |\n| 06 | 发言人识别与验证 | 实践 | Python |\n| 07 | 文本转语音（TTS） | 实践 | Python |\n| 08 | 语音克隆与语音转换 | 实践 | Python |\n| 09 | 音乐生成 | 实践 | Python |\n| 10 | 音频-语言模型 | 实践 | Python |\n| 11 | 实时音频处理 | 实践 | Python、Rust |\n| 12 | 构建语音助手流水线 | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-7\">\n\u003Csummary>\u003Cstrong>阶段7：深入理解Transformer\u003C\u002Fstrong> \u003Ccode>14节课\u003C\u002Fcode> &nbsp; \u003Cem>改变一切的架构。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 为什么是Transformer：RNN存在的问题 | 学习 | -- |\n| 02 | [从零开始实现自注意力](phases\u002F07-transformers-deep-dive\u002F02-self-attention-from-scratch\u002F) | 实践 | Python |\n| 03 | 多头注意力 | 实践 | Python |\n| 04 | 位置编码：正弦、RoPE、ALiBi | 实践 | Python |\n| 05 | 完整的Transformer：编码器+解码器 | 实践 | Python |\n| 06 | BERT——掩码语言模型 | 实践 | Python |\n| 07 | GPT——因果语言模型 | 实践 | Python |\n| 08 | T5、BART——编码器-解码器模型 | 实践 | Python |\n| 09 | 视觉Transformer（ViT） | 实践 | Python |\n| 10 | 音频Transformer——Whisper架构 | 实践 | Python |\n| 11 | 专家混合（MoE） | 实践 | Python |\n| 12 | KV缓存、Flash Attention与推理优化 | 实践 | Python、Rust |\n| 13 | 扩展定律 | 学习 | Python |\n| 14 | 从零开始构建Transformer | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-8\">\n\u003Csummary>\u003Cstrong>阶段8：生成式AI\u003C\u002Fstrong> \u003Ccode>14节课\u003C\u002Fcode> &nbsp; \u003Cem>创造图像、视频、音频、3D等内容。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 生成模型：分类与历史 | 学习 | -- |\n| 02 | 自编码器与VAE | 实践 | Python |\n| 03 | GANs：生成器与判别器 | 实践 | Python |\n| 04 | 条件GAN与Pix2Pix | 实践 | Python |\n| 05 | StyleGAN | 实践 | Python |\n| 06 | 扩散模型——从零实现DDPM | 实践 | Python |\n| 07 | 隐式扩散与Stable Diffusion | 实践 | Python |\n| 08 | ControlNet、LoRA与条件控制 | 实践 | Python |\n| 09 | 补画、扩画与编辑 | 实践 | Python |\n| 10 | 视频生成 | 实践 | Python |\n| 11 | 音频生成 | 实践 | Python |\n| 12 | 3D生成 | 实践 | Python |\n| 13 | 流匹配与修正流 | 实践 | Python |\n| 14 | 评估：FID、CLIP分数 | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-9\">\n\u003Csummary>\u003Cstrong>阶段9：强化学习\u003C\u002Fstrong> \u003Ccode>12节课\u003C\u002Fcode> &nbsp; \u003Cem>RLHF和游戏AI的基础。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | MDP、状态、动作与奖励 | 学习 | Python |\n| 02 | 动态规划 | 实践 | Python |\n| 03 | 蒙特卡洛方法 | 实践 | Python |\n| 04 | Q学习、SARSA | 实践 | Python |\n| 05 | 深度Q网络（DQN） | 实践 | Python |\n| 06 | 策略梯度——REINFORCE | 实践 | Python |\n| 07 | 演员-评论家——A2C、A3C | 实践 | Python |\n| 08 | PPO | 实践 | Python |\n| 09 | 奖励建模与RLHF | 实践 | Python |\n| 10 | 多智能体强化学习 | 实践 | Python |\n| 11 | 仿真到现实的迁移 | 实践 | Python |\n| 12 | 强化学习在游戏中的应用 | 实践 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-10\">\n\u003Csummary>\u003Cstrong>阶段10：从零构建大型语言模型\u003C\u002Fstrong> \u003Ccode>14节课\u003C\u002Fcode> &nbsp; \u003Cem>构建、训练并理解大型语言模型。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [分词器：BPE、WordPiece、SentencePiece](phases\u002F10-llms-from-scratch\u002F01-tokenizers\u002F) | 构建 | Python |\n| 02 | [从头构建分词器](phases\u002F10-llms-from-scratch\u002F02-building-a-tokenizer\u002F) | 构建 | Python |\n| 03 | [预训练的数据流水线](phases\u002F10-llms-from-scratch\u002F03-data-pipelines\u002F) | 构建 | Python |\n| 04 | [预训练一个小型GPT（1.24亿参数）](phases\u002F10-llms-from-scratch\u002F04-pre-training-mini-gpt\u002F) | 构建 | Python |\n| 05 | [分布式训练、FSDP、DeepSpeed](phases\u002F10-llms-from-scratch\u002F05-scaling-distributed\u002F) | 构建 | Python |\n| 06 | [指令微调 - SFT](phases\u002F10-llms-from-scratch\u002F06-instruction-tuning-sft\u002F) | 构建 | Python |\n| 07 | [RLHF - 奖励模型 + PPO](phases\u002F10-llms-from-scratch\u002F07-rlhf\u002F) | 构建 | Python |\n| 08 | [DPO - 直接偏好优化](phases\u002F10-llms-from-scratch\u002F08-dpo\u002F) | 构建 | Python |\n| 09 | 宪法AI | 构建 | Python |\n| 10 | [评估 - 基准测试、评测](phases\u002F10-llms-from-scratch\u002F10-evaluation\u002F) | 构建 | Python |\n| 11 | 量化：INT8、GPTQ、AWQ、GGUF | 构建 | Python、Rust |\n| 12 | 推理优化 | 构建 | Python |\n| 13 | 构建完整的LLM流水线 | 构建 | Python |\n| 14 | 开放模型：架构解析 | 学习 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-11\">\n\u003Csummary>\u003Cstrong>阶段11：LLM工程\u003C\u002Fstrong> \u003Ccode>13课\u003C\u002Fcode> &nbsp; \u003Cem>将LLM投入生产环境。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [提示工程：技巧与模式](phases\u002F11-llm-engineering\u002F01-prompt-engineering\u002F) | 构建 | Python |\n| 02 | [少样本、思维链、思维树](phases\u002F11-llm-engineering\u002F02-few-shot-cot\u002F) | 构建 | Python |\n| 03 | [结构化输出](phases\u002F11-llm-engineering\u002F03-structured-outputs\u002F) | 构建 | Python、TS |\n| 04 | [嵌入与向量表示](phases\u002F11-llm-engineering\u002F04-embeddings\u002F) | 构建 | Python |\n| 05 | [上下文工程](phases\u002F11-llm-engineering\u002F05-context-engineering\u002F) | 构建 | Python、TS |\n| 06 | [RAG：检索增强生成](phases\u002F11-llm-engineering\u002F06-rag\u002F) | 构建 | Python、TS |\n| 07 | [高级RAG：分块、重排序](phases\u002F11-llm-engineering\u002F07-advanced-rag\u002F) | 构建 | Python |\n| 08 | [使用LoRA和QLoRA进行微调](phases\u002F11-llm-engineering\u002F08-fine-tuning-lora\u002F) | 构建 | Python |\n| 09 | [函数调用与工具使用](phases\u002F11-llm-engineering\u002F09-function-calling\u002F) | 构建 | Python |\n| 10 | [评估与测试](phases\u002F11-llm-engineering\u002F10-evaluation\u002F) | 构建 | Python |\n| 11 | [缓存、速率限制与成本](phases\u002F11-llm-engineering\u002F11-caching-cost\u002F) | 构建 | Python |\n| 12 | [护栏与安全性](phases\u002F11-llm-engineering\u002F12-guardrails\u002F) | 构建 | Python |\n| 13 | [构建生产级LLM应用](phases\u002F11-llm-engineering\u002F13-production-app\u002F) | 构建 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-12\">\n\u003Csummary>\u003Cstrong>阶段12：多模态AI\u003C\u002Fstrong> \u003Ccode>11课\u003C\u002Fcode> &nbsp; \u003Cem>跨模态地看、听、读并进行推理。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 多模态表示 | 学习 | -- |\n| 02 | CLIP：视觉+语言 | 构建 | Python |\n| 03 | 视觉-语言模型 | 构建 | Python |\n| 04 | 音频-语言模型 | 构建 | Python |\n| 05 | 文档理解 | 构建 | Python |\n| 06 | 视频-语言模型 | 构建 | Python |\n| 07 | 多模态RAG | 构建 | Python、TS |\n| 08 | 多模态智能体 | 构建 | Python、TS |\n| 09 | 文本到图像流水线 | 构建 | Python |\n| 10 | 文本到视频流水线 | 构建 | Python |\n| 11 | 任意模态间转换模型 | 学习 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-13\">\n\u003Csummary>\u003Cstrong>阶段13：工具与协议\u003C\u002Fstrong> \u003Ccode>10课\u003C\u002Fcode> &nbsp; \u003Cem>AI与现实世界之间的接口。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 深入探讨函数调用 | 构建 | Python、TS |\n| 02 | 工具使用模式 | 构建 | TS |\n| 03 | MCP：模型上下文协议 | 学习 | -- |\n| 04 | 构建MCP服务器 | 构建 | TS、Python |\n| 05 | 构建MCP客户端 | 构建 | TS、Python |\n| 06 | MCP资源、提示与采样 | 构建 | TS |\n| 07 | 结构化输出模式 | 构建 | TS、Python |\n| 08 | AI的API设计 | 构建 | TS |\n| 09 | 浏览器自动化与网络智能体 | 构建 | TS |\n| 10 | 构建完整的工具生态系统 | 构建 | TS、Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-14\">\n\u003Csummary>\u003Cstrong>阶段14：智能体工程\u003C\u002Fstrong> \u003Ccode>15课\u003C\u002Fcode> &nbsp; \u003Cem>从基本原理出发构建智能体。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [智能体循环](phases\u002F14-agent-engineering\u002F01-the-agent-loop\u002F) | 构建 | Python、TS |\n| 02 | 工具调度与注册 | 构建 | TS |\n| 03 | 计划：TodoWrite、DAGs | 构建 | TS |\n| 04 | 记忆：短期、长期、情景记忆 | 构建 | TS、Python |\n| 05 | 上下文窗口管理 | 构建 | TS |\n| 06 | 上下文压缩与摘要 | 构建 | TS |\n| 07 | 子智能体：委派 | 构建 | TS |\n| 08 | 技能与知识加载 | 构建 | TS |\n| 09 | 权限、沙箱与安全性 | 构建 | TS、Rust |\n| 10 | 基于文件的任务系统 | 构建 | TS |\n| 11 | 后台任务执行 | 构建 | TS |\n| 12 | 错误恢复与自我修复 | 构建 | TS |\n| 13 | 钩子：工具使用前、后 | 构建 | TS |\n| 14 | 评估驱动的智能体开发 | 构建 | Python、TS |\n| 15 | 构建一个完整的AI智能体 | 构建 | TS |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-15\">\n\u003Csummary>\u003Cstrong>阶段15：自主系统\u003C\u002Fstrong> \u003Ccode>11课\u003C\u002Fcode> &nbsp; \u003Cem>能够安全地在无人干预的情况下运行的智能体。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 什么使系统具有自主性 | 学习 | -- |\n| 02 | 自主循环 | 构建 | TS、Python |\n| 03 | 自我修复的智能体 | 构建 | TS |\n| 04 | 自动研究：自主研究 | 构建 | TS、Python |\n| 05 | 评估驱动的循环 | 构建 | TS |\n| 06 | 人机协作 | 构建 | TS |\n| 07 | 持续运行的智能体 | 构建 | TS |\n| 08 | 成本意识的自主系统 | 构建 | TS |\n| 09 | 监控与可观测性 | 构建 | TS、Rust |\n| 10 | 安全边界 | 构建 | TS |\n| 11 | 构建一个自主编码智能体 | 构建 | TS |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-16\">\n\u003Csummary>\u003Cstrong>阶段16：多智能体与群体智能\u003C\u002Fstrong> \u003Ccode>14课\u003C\u002Fcode> &nbsp; \u003Cem>协调、涌现与集体智慧。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | [为什么需要多智能体](phases\u002F16-multi-agent-and-swarms\u002F01-why-multi-agent\u002F) | 学习 | -- |\n| 02 | 智能体团队：角色与委派 | 构建 | TS |\n| 03 | [通信协议](phases\u002F16-multi-agent-and-swarms\u002F03-communication-protocols\u002F) | 构建 | TS |\n| 04 | 共享状态与协调 | 构建 | TS, Rust |\n| 05 | 消息传递与邮箱 | 构建 | TS |\n| 06 | 任务市场 | 构建 | TS |\n| 07 | 一致性算法 | 构建 | TS, Rust |\n| 08 | 蜂群智能 | 构建 | Python, TS |\n| 09 | 智能体经济 | 构建 | TS |\n| 10 | 工作树隔离 | 构建 | TS |\n| 11 | 层次化蜂群 | 构建 | TS |\n| 12 | 自组织系统 | 构建 | TS, Rust |\n| 13 | 基于DAG的编排 | 构建 | TS, Rust |\n| 14 | 构建一个自主蜂群 | 构建 | TS, Rust |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-17\">\n\u003Csummary>\u003Cstrong>第17阶段：基础设施与生产\u003C\u002Fstrong> \u003Ccode>11节课\u003C\u002Fcode> &nbsp; \u003Cem>将AI部署到现实世界中。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | 模型服务 | 构建 | Python |\n| 02 | 用于AI工作负载的Docker | 构建 | Python, Rust |\n| 03 | Kubernetes用于AI | 构建 | Python |\n| 04 | 边缘部署：ONNX、WASM | 构建 | Python, Rust |\n| 05 | 可观测性 | 构建 | TS, Rust |\n| 06 | 成本优化 | 构建 | TS |\n| 07 | 用于机器学习的CI\u002FCD | 构建 | Python |\n| 08 | A\u002FB测试与功能标记 | 构建 | Python, TS |\n| 09 | 数据管道 | 构建 | Python, Rust |\n| 10 | 安全：红队演练、防御 | 构建 | Python, TS |\n| 11 | 构建一个生产级AI平台 | 构建 | Python, TS, Rust |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-18\">\n\u003Csummary>\u003Cstrong>第18阶段：伦理、安全与对齐\u003C\u002Fstrong> \u003Ccode>6节课\u003C\u002Fcode> &nbsp; \u003Cem>构建有助于人类的AI。这不是可选项。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 课程 | 类型 | 语言 |\n|:---:|--------|:----:|------|\n| 01 | AI伦理：偏见、公平性 | 学习 | -- |\n| 02 | 对齐：是什么以及为什么 | 学习 | -- |\n| 03 | 红队演练与对抗性测试 | 构建 | Python |\n| 04 | 负责任的AI框架 | 学习 | -- |\n| 05 | 隐私：差分隐私、联邦学习 | 构建 | Python |\n| 06 | 可解释性：SHAP、注意力机制 | 构建 | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-19\">\n\u003Csummary>\u003Cstrong>第19阶段：毕业项目\u003C\u002Fstrong> \u003Ccode>5个项目\u003C\u002Fcode> &nbsp; \u003Cem>证明你所学的一切。\u003C\u002Fem>\u003C\u002Fsummary>\n\n| # | 项目 | 结合内容 | 语言 |\n|:---:|---------|----------|------|\n| 01 | 构建一个迷你GPT及聊天界面 | 第1、3、7、10阶段 | Python, TS |\n| 02 | 构建一个多模态RAG系统 | 第5、11、12、13阶段 | Python, TS |\n| 03 | 构建一个自主研究智能体 | 第14、15、6阶段 | TS, Python |\n| 04 | 构建一个多智能体开发团队 | 第14、15、16、17阶段 | TS, Rust |\n| 05 | 构建一个生产级AI平台 | 所有阶段 | Python, TS, Rust |\n\n\u003C\u002Fdetails>\n\n---\n\n\n\n## 课程成果：工具包\n\n其他课程只给你一张证书。而本课程则会为你提供一个**工具包**。\n\n每节课都会产出一个可重复使用的成果——提示词模板、技能文件、智能体定义或MCP服务器，你可以立即安装并使用。完成整个课程后，你将拥有：\n\n```\noutputs\u002F\n├── prompts\u002F          面向所有AI任务的提示词模板\n├── skills\u002F           用于AI编码智能体的SKILL.md文件\n├── agents\u002F           可直接部署的智能体定义\n└── mcp-servers\u002F      在课程中构建的MCP服务器\n```\n\n你可以通过[SkillKit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fskillkit)来安装这些工具，并将其接入Claude Code、Cursor或其他AI代理中。这些都是真正的实用工具，而非作业。\n\n---\n\n## 每节课的流程\n\n```\nphases\u002FXX-phase-name\u002FNN-lesson-name\u002F\n├── code\u002F           可运行的实现代码（Python、TS、Rust、Julia）\n├── docs\u002F\n│   └── en.md       课程文档\n└── outputs\u002F        本节课生成的提示词、技能和智能体\n```\n\n每节课都遵循6个步骤：\n\n| 步骤 | 内容 |\n|------|-------------|\n| **座右铭** | 一句简洁有力的核心理念 |\n| **问题** | 一个具体的场景，说明如果不掌握该知识会带来什么后果 |\n| **概念** | 使用Mermaid图表和直观解释——暂不涉及代码 |\n| **动手实现** | 从零开始用纯Python实现，不使用任何框架 |\n| **实际应用** | 同样的内容使用PyTorch、sklearn或真实工具来实现 |\n| **交付成果** | 本节课最终生成的提示词、技能或智能体 |\n\n“动手实现”与“实际应用”两部分的结合是关键。因为你先亲手实现了它，所以才能真正理解框架的作用。\n\n---\n\n## 开始学习\n\n**选项A：直接阅读**\n\n从[网站](https:\u002F\u002Faiengineeringfromscratch.com)或下方的阶段表格中选择任意已完成的课程进行阅读。\n\n**选项B：克隆并运行**\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fai-engineering-from-scratch.git\ncd ai-engineering-from-scratch\n\npython phases\u002F01-math-foundations\u002F01-linear-algebra-intuition\u002Fcode\u002Fvectors.py\n```\n\n**选项C：找到适合自己的起点（推荐）**\n\n如果你已经掌握了一些机器学习或深度学习的知识，不必从第1阶段开始。可以使用内置的评估工具：\n\n```bash\n# 在Claude Code中：\n\u002Ffind-your-level\n```\n\n这个包含10道题的测验会根据你的知识水平推荐一个起始阶段，并为你制定个性化的学习路径，同时估算所需时间。\n\n### 先决条件\n\n- 你会编写代码（Python或其他语言）\n- 你想真正理解AI的工作原理，而不仅仅是调用API\n\n### 适用人群\n\n| 你是... | 从...开始 | 完成所需时间 |\n|-----------|------------|-----------------|\n| 初次接触编程+AI | 第0阶段（设置） | ~290小时 |\n| 掌握Python，初次接触机器学习 | 第1阶段（数学基础） | ~270小时 |\n| 掌握机器学习，初次接触深度学习 | 第3阶段（深度学习） | ~200小时 |\n| 掌握深度学习，想学习LLM\u002F智能体 | 第10阶段（从零构建LLM） | ~100小时 |\n| 高级工程师，只想学习智能体相关知识 | 第14阶段（智能体工程） | ~60小时 |\n\n---\n\n## 贡献\n\n请参阅[CONTRIBUTING.md](CONTRIBUTING.md)，了解如何添加课程、翻译内容以及贡献成果。\n\n如果你想为你的团队或学校复制本项目，请参阅[FORKING.md](FORKING.md)。\n\n有关进度跟踪的信息，请查看[ROADMAP.md](ROADMAP.md)（预计总耗时约290小时，每节课的时间估算也在此列出）。\n\n---\n\n\u003Cp align=\"center\">\n  MIT许可证。你可以按任意方式使用。\n\u003C\u002Fp>","# ai-engineering-from-scratch 快速上手指南\n\n本指南旨在帮助开发者快速搭建环境并开始使用 **ai-engineering-from-scratch**。这是一套“原生 AI\"（AI-Native）的学习体系，强调通过与 AI 编码助手协作，从零构建数学、机器学习、深度学习及 Agent 系统。\n\n## 环境准备\n\n在开始之前，请确保你的开发环境满足以下要求：\n\n*   **操作系统**：Linux (推荐), macOS, 或 Windows (需配置 WSL2)。\n*   **编程语言运行时**：\n    *   Python 3.9+ (核心语言)\n    *   Node.js (用于 TypeScript 部分)\n    *   Rust (可选，用于高性能模块)\n    *   Julia (可选，用于数学直觉部分)\n*   **硬件建议**：\n    *   本地运行基础课程：任意现代 CPU，8GB+ 内存。\n    *   运行深度学习\u002FGPU 课程：推荐 NVIDIA GPU (支持 CUDA) 或使用云端 GPU 实例。\n*   **前置依赖工具**：\n    *   Git\n    *   Docker (用于容器化环境)\n    *   **AI 编码助手**：强烈建议安装 **Claude Code**、Cursor 或其他支持自定义 Skill\u002FMCP 的 AI Agent，这是本课程的核心交互方式。\n\n## 安装步骤\n\n### 1. 克隆项目仓库\n\n使用 Git 将项目代码拉取到本地：\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fai-engineering-from-scratch.git\ncd ai-engineering-from-scratch\n```\n\n> **国内加速提示**：如果克隆速度较慢，可使用国内镜像源：\n> ```bash\n> git clone https:\u002F\u002Fgitee.com\u002Fmirror\u002Fai-engineering-from-scratch.git\n> # 注意：若镜像源不存在，请配置 git proxy 或使用上述官方地址配合代理\n> ```\n\n### 2. 配置基础开发环境\n\n进入第 0 阶段（Setup & Tooling），按照项目内的指引配置环境。通常涉及创建虚拟环境和安装基础依赖：\n\n```bash\n# 创建 Python 虚拟环境\npython -m venv venv\nsource venv\u002Fbin\u002Factivate  # Windows 用户请使用: venv\\Scripts\\activate\n\n# 安装核心依赖 (具体包名请参考 phases\u002F00-setup-and-tooling 中的 requirements.txt)\npip install -r phases\u002F00-setup-and-tooling\u002Frequirements.txt\n```\n\n### 3. 集成 AI 助手技能 (关键步骤)\n\n本课程的核心在于“与 AI 一起学习”。你需要将项目提供的 Skills 配置到你的 AI 编码助手中（以 Claude Code 为例）：\n\n1.  找到项目根目录下的 `.claude\u002Fsettings.json` 或 `skills\u002F` 目录。\n2.  将提供的 Skill 定义文件链接或复制到你的 AI 助手配置目录中。\n3.  确保你的 AI 助手可以读取项目上下文。\n\n## 基本使用\n\n本课程不是被动观看视频，而是通过命令与 AI 互动来驱动学习路径。\n\n### 1. 定位起始等级\n\n首次使用时，让 AI 助手评估你的当前水平并生成个性化学习路径：\n\n```bash\n\u002Ffind-your-level\n```\n*AI 将发起一个包含 10 个问题的测试，并根据结果推荐具体的 Phase 和预计耗时。*\n\n### 2. 开始学习特定阶段\n\n根据推荐或直接选择某个阶段（例如第 3 阶段：深度学习核心）开始学习。每个课程都会产出可复用的工件（Prompt、代码工具、Agent 等）。\n\n```bash\n# 示例：进入第 3 阶段第 5 课关于损失函数的学习\ncd phases\u002F03-deep-learning-core\u002F05-loss-functions\u002F\n```\n\n在此目录下，阅读文档并使用 AI 助手完成 `Build` 类型的任务。\n\n### 3. 阶段性自测\n\n完成一个 Phase 后，使用内置技能进行知识巩固：\n\n```bash\n\u002Fcheck-understanding 3\n```\n*AI 将针对第 3 阶段提出 8 个问题，提供反馈并指出需要复习的具体课程。*\n\n### 4. 查看产出物\n\n每节课结束后，检查 `outputs\u002F` 目录，你将获得可直接使用的工具：\n\n```bash\nls phases\u002F03-deep-learning-core\u002F05-loss-functions\u002Foutputs\u002F\n# 输出示例:\n# prompt-loss-function-selector.md  (专家级 Prompt)\n# prompt-loss-debugger.md           (调试助手)\n```\n\n你可以将这些 Prompt 粘贴到任何 AI 对话框中，或将生成的 Agents\u002FMCP Servers 部署到你的生产环境中。","某初创团队的技术负责人希望带领三名初级工程师在三个月内从零构建一套可商用的多模态 AI 代理系统，但团队缺乏系统的工程化落地经验。\n\n### 没有 ai-engineering-from-scratch 时\n- **知识碎片化严重**：成员各自在网上拼凑 NLP 或视觉的单点教程，导致数学基础与架构设计脱节，无法理解从线性代数到自主代理群的全链路逻辑。\n- **技术栈单一且脆弱**：团队仅熟悉 Python，面对高性能推理需求时不懂 Rust 或 Julia，导致系统瓶颈难以突破，代码复用率极低。\n- **学习产出无法交付**：花费大量时间观看视频课程，结课时只留下“学过”的印象，却拿不出任何可安装的提示词库、技能模块或 MCP 服务器供产品集成。\n- **缺乏实战反馈机制**：遇到报错只能盲目搜索，没有内置的 AI 导师进行阶段性测验和个性化路径规划，试错成本高昂。\n\n### 使用 ai-engineering-from-scratch 后\n- **全链路体系化构建**：通过 20 个阶段、260+ 节课的系统训练，团队从底层数学推导至顶层代理群设计，统一了从理论到工程的语言体系。\n- **多语言工程能力跃升**：在实战中掌握 Python、TypeScript、Rust 和 Julia 混合编程，针对计算密集型任务重构核心模块，显著提升系统性能。\n- **每课皆交付可用资产**：每个课时结束即产出可复用的工件（如专家级提示词、Claude Code 技能、独立代理），直接组装成产品的核心功能组件。\n- **AI 原生伴随式成长**：利用 `\u002Ffind-your-level` 和 `\u002Fcheck-understanding` 等内置技能实时诊断盲区，边学边用 AI 助手调试代码，将学习曲线转化为开发效率。\n\nai-engineering-from-scratch 不仅填补了理论与职业的鸿沟，更让团队在学习过程中直接“造船出海”，将学习过程本身转化为可交付的商业产品。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_ai-engineering-from-scratch_176a19de.png","rohitg00","Rohit Ghumare","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Frohitg00_0db5b2cc.png","Principal Product Evangelist | DevRel | GDE @Google Cloud | CNCF Ambassador | Docker Captain | AWS CommunityBuilder | Ex - Solo.io, Cerbos, Oracle, Reliance Jio","Motia","London, UK",null,"ghumare64","https:\u002F\u002Fwww.devrelasservice.com\u002F","https:\u002F\u002Fgithub.com\u002Frohitg00",[87,91,95,99,102,106,110,114,118],{"name":88,"color":89,"percentage":90},"Python","#3572A5",78.6,{"name":92,"color":93,"percentage":94},"HTML","#e34c26",8.7,{"name":96,"color":97,"percentage":98},"JavaScript","#f1e05a",6.5,{"name":100,"color":101,"percentage":23},"TypeScript","#3178c6",{"name":103,"color":104,"percentage":105},"Julia","#a270ba",1.8,{"name":107,"color":108,"percentage":109},"CSS","#663399",1.5,{"name":111,"color":112,"percentage":113},"Shell","#89e051",0.6,{"name":115,"color":116,"percentage":117},"Rust","#dea584",0.3,{"name":119,"color":120,"percentage":121},"Dockerfile","#384d54",0.1,1431,267,"2026-04-04T00:19:09","MIT","Linux, macOS, Windows","建议配备 NVIDIA GPU（课程包含 GPU 设置与云端配置章节），具体型号、显存大小及 CUDA 版本未说明","未说明",{"notes":130,"python":131,"dependencies":132},"这是一个包含 260+ 课程的综合学习项目，强调‘从零构建’（如手动实现反向传播、迷你框架）。环境搭建是课程第一阶段（Phase 0）的核心内容，涵盖开发环境、Git、GPU\u002F云设置、Docker、Linux 基础等。课程深度集成 AI 编码助手（如 Claude Code），提供内置技能命令辅助学习。由于涉及多语言（Python, TS, Rust, Julia）和底层原理实现，建议用户具备基本的终端操作能力并跟随课程步骤逐步配置环境。","未说明 (课程涉及 Python, TypeScript, Rust, Julia)",[133],"未说明 (课程涵盖从基础构建到使用 PyTorch, JAX 等框架，但未列出具体版本要求)",[14,26,15,13],[136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155],"agents","ai","ai-agents","ai-engineering","computer-vision","course","deep-learning","from-scratch","generative-ai","llm","machine-learning","mcp","nlp","python","reinforcement-learning","rust","swarm-intelligence","transformers","tutorial","typescript","2026-03-27T02:49:30.150509","2026-04-06T07:05:52.422183",[],[]]