[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74001":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":47,"readmeContent":48,"aiSummary":49,"trendingCount":16,"starSnapshotCount":16,"syncStatus":50,"lastSyncTime":51,"discoverSource":52},74001,"ai-engineering-from-scratch","rohitg00\u002Fai-engineering-from-scratch","rohitg00","Learn it. Build it. Ship it for others.","https:\u002F\u002Faiengineeringfromscratch.com",null,"Python",29326,4789,193,14,0,574,4233,18802,2666,120,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"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-06-07 04:05:23","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.svg\" alt=\"AI Engineering from Scratch — reference manual banner\" width=\"100%\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-1a1a1a?style=flat-square&labelColor=fafaf5\" alt=\"MIT License\">\u003C\u002Fa>\n  \u003Ca href=\"ROADMAP.md\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flessons-428-3553ff?style=flat-square&labelColor=fafaf5\" alt=\"428 lessons\">\u003C\u002Fa>\n  \u003Ca href=\"#contents\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fphases-20-3553ff?style=flat-square&labelColor=fafaf5\" alt=\"20 phases\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fai-engineering-from-scratch\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fai-engineering-from-scratch?style=flat-square&labelColor=fafaf5&color=3553ff\" alt=\"GitHub stars\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Faiengineeringfromscratch.com\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fweb-aiengineeringfromscratch.com-3553ff?style=flat-square&labelColor=fafaf5\" alt=\"Website\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n```\n░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒\n```\n\n> **84% of students already use AI tools. Only 18% feel prepared to use them\n> professionally.** This curriculum closes that gap.\n>\n> 428 lessons. 20 phases. ~320 hours. Python, TypeScript, Rust, Julia. Every lesson ships\n> a reusable artifact: a prompt, a skill, an agent, an MCP server. Free, open source, MIT.\n>\n> You don't just learn AI. You build it. End-to-end. By hand.\n\n## How this works\n\nMost AI material teaches in scattered pieces. A paper here, a fine-tuning post there, a\nflashy agent demo somewhere else. The pieces rarely line up. You ship a chatbot but can't\nexplain its loss curve. You hook a function to an agent but can't say what attention does\ninside the model that's calling it.\n\nThis curriculum is the spine. 20 phases, 428 lessons, four languages: Python, TypeScript,\nRust, Julia. Linear algebra at one end, autonomous swarms at the other. Every algorithm\ngets built from raw math first. Backprop. Tokenizer. Attention. Agent loop. By the time\nPyTorch shows up, you already know what it's doing under the hood.\n\nEach lesson runs the same loop: read the problem, derive the math, write the code, run\nthe test, keep the artifact. No five-minute videos, no copy-paste deploys, no hand-holding.\nFree, open source, and built to run on your own laptop.\n\n```\n░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒\n```\n\n## The shape of the curriculum\n\nTwenty phases stack on top of each other. Math is the floor. Agents and production are the roof.\nSkip ahead if you already know the lower layers, but don't skip and then wonder why something at\nthe top is breaking.\n\n```mermaid\n%%{init: {'theme':'base','themeVariables':{'primaryColor':'#fafaf5','primaryTextColor':'#1a1a1a','primaryBorderColor':'#3553ff','lineColor':'#3553ff','fontFamily':'JetBrains Mono','fontSize':'12px'}}}%%\nflowchart TB\n  P0[\"Phase 0 — Setup &amp; Tooling\"] --> P1[\"Phase 1 — Math Foundations\"]\n  P1 --> P2[\"Phase 2 — ML Fundamentals\"]\n  P2 --> P3[\"Phase 3 — Deep Learning Core\"]\n  P3 --> P4[\"Phase 4 — Vision\"]\n  P3 --> P5[\"Phase 5 — NLP\"]\n  P3 --> P6[\"Phase 6 — Speech &amp; Audio\"]\n  P3 --> P9[\"Phase 9 — RL\"]\n  P5 --> P7[\"Phase 7 — Transformers\"]\n  P7 --> P8[\"Phase 8 — GenAI\"]\n  P7 --> P10[\"Phase 10 — LLMs from Scratch\"]\n  P10 --> P11[\"Phase 11 — LLM Engineering\"]\n  P10 --> P12[\"Phase 12 — Multimodal\"]\n  P11 --> P13[\"Phase 13 — Tools &amp; Protocols\"]\n  P13 --> P14[\"Phase 14 — Agent Engineering\"]\n  P14 --> P15[\"Phase 15 — Autonomous Systems\"]\n  P15 --> P16[\"Phase 16 — Multi-Agent &amp; Swarms\"]\n  P14 --> P17[\"Phase 17 — Infrastructure &amp; Production\"]\n  P15 --> P18[\"Phase 18 — Ethics &amp; Alignment\"]\n  P16 --> P19[\"Phase 19 — Capstone Projects\"]\n  P17 --> P19\n  P18 --> P19\n```\n\n```\n░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒\n```\n\n## The shape of a lesson\n\nEach lesson lives in its own folder, with the same structure across the entire curriculum:\n\n```\nphases\u002F\u003CNN>-\u003Cphase-name>\u002F\u003CNN>-\u003Clesson-name>\u002F\n├── code\u002F      runnable implementations (Python, TypeScript, Rust, Julia)\n├── docs\u002F\n│   └── en.md  lesson narrative\n└── outputs\u002F   prompts, skills, agents, or MCP servers this lesson produces\n```\n\nEvery lesson follows six beats. The *Build It \u002F Use It* split is the spine — you implement the\nalgorithm from scratch first, then run the same thing through the production library. You\nunderstand what the framework is doing because you wrote the smaller version yourself.\n\n```mermaid\n%%{init: {'theme':'base','themeVariables':{'primaryColor':'#fafaf5','primaryTextColor':'#1a1a1a','primaryBorderColor':'#3553ff','lineColor':'#3553ff','fontFamily':'JetBrains Mono','fontSize':'13px'}}}%%\nflowchart LR\n  M[\"MOTTO\u003Cbr\u002F>\u003Csub>one-line core idea\u003C\u002Fsub>\"] --> Pr[\"PROBLEM\u003Cbr\u002F>\u003Csub>concrete pain\u003C\u002Fsub>\"]\n  Pr --> C[\"CONCEPT\u003Cbr\u002F>\u003Csub>diagrams &amp; intuition\u003C\u002Fsub>\"]\n  C --> B[\"BUILD IT\u003Cbr\u002F>\u003Csub>raw math, no frameworks\u003C\u002Fsub>\"]\n  B --> U[\"USE IT\u003Cbr\u002F>\u003Csub>same thing in PyTorch \u002F sklearn\u003C\u002Fsub>\"]\n  U --> S[\"SHIP IT\u003Cbr\u002F>\u003Csub>prompt · skill · agent · MCP\u003C\u002Fsub>\"]\n```\n\n## Getting started\n\nThree ways in. Pick one.\n\n**Option A — read.** Open any completed lesson on\n[aiengineeringfromscratch.com](https:\u002F\u002Faiengineeringfromscratch.com) or expand a phase under\n[Contents](#contents). No setup, no cloning.\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\npython phases\u002F01-math-foundations\u002F01-linear-algebra-intuition\u002Fcode\u002Fvectors.py\n```\n\n**Option C — find your level *(recommended)*.** Skip ahead intelligently. Inside Claude, Cursor, Codex, OpenClaw, Hermes, or any agent with SkillKit installed:\n\n```bash\n\u002Ffind-your-level\n```\n\nTen questions. Maps your knowledge to a starting phase, builds a personalized path with hour\nestimates. After each phase:\n\n```bash\n\u002Fcheck-understanding 3        # quiz yourself on phase 3\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### Prerequisites\n\n- You can write code (any language; Python helps).\n- You want to understand how AI **actually works**, not just call APIs.\n\n### Built-in agent skills (SkillKit \u002F Claude, Cursor, Codex, OpenClaw, Hermes)\n\n| Skill | What it does |\n|---|---|\n| [`\u002Ffind-your-level`](.claude\u002Fskills\u002Ffind-your-level\u002FSKILL.md) | Ten-question placement quiz. Maps your knowledge to a starting phase and produces a personalized path with hour estimates. |\n| [`\u002Fcheck-understanding \u003Cphase>`](.claude\u002Fskills\u002Fcheck-understanding\u002FSKILL.md) | Per-phase quiz, eight questions, with feedback and specific lessons to review. |\n\n```\n░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒\n```\n\n## Every lesson ships something\n\nOther curricula end with *\"congratulations, you learned X.\"* Each lesson here ends with a\n**reusable tool** you can install or paste into your daily workflow.\n\n\u003Ctable>\n\u003Ctr>\n\u003Cth align=\"left\" width=\"25%\">\u003Cimg src=\"site\u002Fassets\u002Ffigures\u002F001-a-prompts.svg\" width=\"96\" height=\"96\" alt=\"FIG_001.A prompts\"\u002F>\u003Cbr\u002F>\u003Csub>FIG_001 · A\u003C\u002Fsub>\u003Cbr\u002F>\u003Cb>PROMPTS\u003C\u002Fb>\u003C\u002Fth>\n\u003Cth align=\"left\" width=\"25%\">\u003Cimg src=\"site\u002Fassets\u002Ffigures\u002F001-b-skills.svg\" width=\"96\" height=\"96\" alt=\"FIG_001.B skills\"\u002F>\u003Cbr\u002F>\u003Csub>FIG_001 · B\u003C\u002Fsub>\u003Cbr\u002F>\u003Cb>SKILLS\u003C\u002Fb>\u003C\u002Fth>\n\u003Cth align=\"left\" width=\"25%\">\u003Cimg src=\"site\u002Fassets\u002Ffigures\u002F001-c-agents.svg\" width=\"96\" height=\"96\" alt=\"FIG_001.C agents\"\u002F>\u003Cbr\u002F>\u003Csub>FIG_001 · C\u003C\u002Fsub>\u003Cbr\u002F>\u003Cb>AGENTS\u003C\u002Fb>\u003C\u002Fth>\n\u003Cth align=\"left\" width=\"25%\">\u003Cimg src=\"site\u002Fassets\u002Ffigures\u002F001-d-mcp-servers.svg\" width=\"96\" height=\"96\" alt=\"FIG_001.D MCP servers\"\u002F>\u003Cbr\u002F>\u003Csub>FIG_001 · D\u003C\u002Fsub>\u003Cbr\u002F>\u003Cb>MCP SERVERS\u003C\u002Fb>\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd valign=\"top\">Paste into any AI assistant for expert-level help on a narrow task.\u003C\u002Ftd>\n\u003Ctd valign=\"top\">Drop into Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads \u003Ccode>SKILL.md\u003C\u002Fcode>.\u003C\u002Ftd>\n\u003Ctd valign=\"top\">Deploy as autonomous workers — you wrote the loop yourself in Phase 14.\u003C\u002Ftd>\n\u003Ctd valign=\"top\">Plug into any MCP-compatible client. Built end-to-end in Phase 13.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n> Install the lot with [SkillKit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fskillkit). Real tools, not\n> homework. By the end of the curriculum, you have a portfolio of 428 artifacts you actually\n> understand because you built them.\n\n### FIG_002 · A worked sample\n\nPhase 14, lesson 1: the agent loop. ~120 lines of pure Python, no dependencies.\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd valign=\"top\" width=\"50%\">\n\n**`code\u002Fagent_loop.py`** &nbsp; \u003Csub>\u003Ci>build it\u003C\u002Fi>\u003C\u002Fsub>\n\n```python\ndef run(query, tools):\n    history = [user(query)]\n    for step in range(MAX_STEPS):\n        msg = llm(history)\n        if msg.tool_calls:\n            for call in msg.tool_calls:\n                result = tools[call.name](**call.args)\n                history.append(tool_result(call.id, result))\n            continue\n        return msg.content\n    raise StepLimitExceeded\n```\n\n\u003C\u002Ftd>\n\u003Ctd valign=\"top\" width=\"50%\">\n\n**`outputs\u002Fskill-agent-loop.md`** &nbsp; \u003Csub>\u003Ci>ship it\u003C\u002Fi>\u003C\u002Fsub>\n\n```markdown\n---\nname: agent-loop\ndescription: ReAct-style loop for any tool list\nphase: 14\nlesson: 01\n---\n\nImplement a minimal agent loop that...\n```\n\n**`outputs\u002Fprompt-debug-agent.md`**\n\n```markdown\nYou are an agent debugger. Given the trace\nof an agent run, identify the step where\nthe agent went wrong and explain why...\n```\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n```\n░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒\n```\n\n\u003Ca id=\"contents\">\u003C\u002Fa>\n\n## Contents\n\nTwenty phases. Click any phase to expand its lesson list.\n\n\u003Ca id=\"phase-0\">\u003C\u002Fa>\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, TypeScript, 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, TypeScript |\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\u003Cdetails id=\"phase-1\">\n\u003Csummary>\u003Cb>Phase 1 — Math Foundations\u003C\u002Fb> &nbsp;\u003Ccode>22 lessons\u003C\u002Fcode>&nbsp; \u003Cem>The intuition behind every AI algorithm, through code.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\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>\u003Cb>Phase 2 — ML Fundamentals\u003C\u002Fb> &nbsp;\u003Ccode>18 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Classical ML — still the backbone of most production AI.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\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>\u003Cb>Phase 3 — Deep Learning Core\u003C\u002Fb> &nbsp;\u003Ccode>13 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Neural networks from first principles. No frameworks until you build one.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\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>\u003Cb>Phase 4 — Computer Vision\u003C\u002Fb> &nbsp;\u003Ccode>28 lessons\u003C\u002Fcode>&nbsp; \u003Cem>From pixels to understanding — image, video, 3D, VLMs, and world models.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Image Fundamentals: Pixels, Channels, Color Spaces](phases\u002F04-computer-vision\u002F01-image-fundamentals\u002F) | Learn | Python |\n| 02 | [Convolutions from Scratch](phases\u002F04-computer-vision\u002F02-convolutions-from-scratch\u002F) | Build | Python |\n| 03 | [CNNs: LeNet to ResNet](phases\u002F04-computer-vision\u002F03-cnns-lenet-to-resnet\u002F) | Build | Python |\n| 04 | [Image Classification](phases\u002F04-computer-vision\u002F04-image-classification\u002F) | Build | Python |\n| 05 | [Transfer Learning & Fine-Tuning](phases\u002F04-computer-vision\u002F05-transfer-learning\u002F) | Build | Python |\n| 06 | [Object Detection — YOLO from Scratch](phases\u002F04-computer-vision\u002F06-object-detection-yolo\u002F) | Build | Python |\n| 07 | [Semantic Segmentation — U-Net](phases\u002F04-computer-vision\u002F07-semantic-segmentation-unet\u002F) | Build | Python |\n| 08 | [Instance Segmentation — Mask R-CNN](phases\u002F04-computer-vision\u002F08-instance-segmentation-mask-rcnn\u002F) | Build | Python |\n| 09 | [Image Generation — GANs](phases\u002F04-computer-vision\u002F09-image-generation-gans\u002F) | Build | Python |\n| 10 | [Image Generation — Diffusion Models](phases\u002F04-computer-vision\u002F10-image-generation-diffusion\u002F) | Build | Python |\n| 11 | [Stable Diffusion — Architecture & Fine-Tuning](phases\u002F04-computer-vision\u002F11-stable-diffusion\u002F) | Build | Python |\n| 12 | [Video Understanding — Temporal Modeling](phases\u002F04-computer-vision\u002F12-video-understanding\u002F) | Build | Python |\n| 13 | [3D Vision: Point Clouds, NeRFs](phases\u002F04-computer-vision\u002F13-3d-vision-nerf\u002F) | Build | Python |\n| 14 | [Vision Transformers (ViT)](phases\u002F04-computer-vision\u002F14-vision-transformers\u002F) | Build | Python |\n| 15 | [Real-Time Vision: Edge Deployment](phases\u002F04-computer-vision\u002F15-real-time-edge\u002F) | Build | Python, Rust |\n| 16 | [Build a Complete Vision Pipeline](phases\u002F04-computer-vision\u002F16-vision-pipeline-capstone\u002F) | Build | Python |\n| 17 | [Self-Supervised Vision — SimCLR, DINO, MAE](phases\u002F04-computer-vision\u002F17-self-supervised-vision\u002F) | Build | Python |\n| 18 | [Open-Vocabulary Vision — CLIP](phases\u002F04-computer-vision\u002F18-open-vocab-clip\u002F) | Build | Python |\n| 19 | [OCR & Document Understanding](phases\u002F04-computer-vision\u002F19-ocr-document-understanding\u002F) | Build | Python |\n| 20 | [Image Retrieval & Metric Learning](phases\u002F04-computer-vision\u002F20-image-retrieval-metric\u002F) | Build | Python |\n| 21 | [Keypoint Detection & Pose Estimation](phases\u002F04-computer-vision\u002F21-keypoint-pose\u002F) | Build | Python |\n| 22 | [3D Gaussian Splatting from Scratch](phases\u002F04-computer-vision\u002F22-3d-gaussian-splatting\u002F) | Build | Python |\n| 23 | [Diffusion Transformers & Rectified Flow](phases\u002F04-computer-vision\u002F23-diffusion-transformers-rectified-flow\u002F) | Build | Python |\n| 24 | [SAM 3 & Open-Vocabulary Segmentation](phases\u002F04-computer-vision\u002F24-sam3-open-vocab-segmentation\u002F) | Build | Python |\n| 25 | [Vision-Language Models (ViT-MLP-LLM)](phases\u002F04-computer-vision\u002F25-vision-language-models\u002F) | Build | Python |\n| 26 | [Monocular Depth & Geometry Estimation](phases\u002F04-computer-vision\u002F26-monocular-depth\u002F) | Build | Python |\n| 27 | [Multi-Object Tracking & Video Memory](phases\u002F04-computer-vision\u002F27-multi-object-tracking\u002F) | Build | Python |\n| 28 | [World Models & Video Diffusion](phases\u002F04-computer-vision\u002F28-world-models-video-diffusion\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-5\">\n\u003Csummary>\u003Cb>Phase 5 — NLP: Foundations to Advanced\u003C\u002Fb> &nbsp;\u003Ccode>29 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Language is the interface to intelligence.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Text Processing: Tokenization, Stemming, Lemmatization](phases\u002F05-nlp-foundations-to-advanced\u002F01-text-processing\u002F) | Build | Python |\n| 02 | [Bag of Words, TF-IDF & Text Representation](phases\u002F05-nlp-foundations-to-advanced\u002F02-bag-of-words-tfidf\u002F) | Build | Python |\n| 03 | [Word Embeddings: Word2Vec from Scratch](phases\u002F05-nlp-foundations-to-advanced\u002F03-word-embeddings-word2vec\u002F) | Build | Python |\n| 04 | [GloVe, FastText & Subword Embeddings](phases\u002F05-nlp-foundations-to-advanced\u002F04-glove-fasttext-subword\u002F) | Build | Python |\n| 05 | [Sentiment Analysis](phases\u002F05-nlp-foundations-to-advanced\u002F05-sentiment-analysis\u002F) | Build | Python |\n| 06 | [Named Entity Recognition (NER)](phases\u002F05-nlp-foundations-to-advanced\u002F06-named-entity-recognition\u002F) | Build | Python |\n| 07 | [POS Tagging & Syntactic Parsing](phases\u002F05-nlp-foundations-to-advanced\u002F07-pos-tagging-parsing\u002F) | Build | Python |\n| 08 | [Text Classification — CNNs & RNNs for Text](phases\u002F05-nlp-foundations-to-advanced\u002F08-cnns-rnns-for-text\u002F) | Build | Python |\n| 09 | [Sequence-to-Sequence Models](phases\u002F05-nlp-foundations-to-advanced\u002F09-sequence-to-sequence\u002F) | Build | Python |\n| 10 | [Attention Mechanism — The Breakthrough](phases\u002F05-nlp-foundations-to-advanced\u002F10-attention-mechanism\u002F) | Build | Python |\n| 11 | [Machine Translation](phases\u002F05-nlp-foundations-to-advanced\u002F11-machine-translation\u002F) | Build | Python |\n| 12 | [Text Summarization](phases\u002F05-nlp-foundations-to-advanced\u002F12-text-summarization\u002F) | Build | Python |\n| 13 | [Question Answering Systems](phases\u002F05-nlp-foundations-to-advanced\u002F13-question-answering\u002F) | Build | Python |\n| 14 | [Information Retrieval & Search](phases\u002F05-nlp-foundations-to-advanced\u002F14-information-retrieval-search\u002F) | Build | Python |\n| 15 | [Topic Modeling: LDA, BERTopic](phases\u002F05-nlp-foundations-to-advanced\u002F15-topic-modeling\u002F) | Build | Python |\n| 16 | [Text Generation](phases\u002F05-nlp-foundations-to-advanced\u002F16-text-generation-pre-transformer\u002F) | Build | Python |\n| 17 | [Chatbots: Rule-Based to Neural](phases\u002F05-nlp-foundations-to-advanced\u002F17-chatbots-rule-to-neural\u002F) | Build | Python |\n| 18 | [Multilingual NLP](phases\u002F05-nlp-foundations-to-advanced\u002F18-multilingual-nlp\u002F) | Build | Python |\n| 19 | [Subword Tokenization: BPE, WordPiece, Unigram, SentencePiece](phases\u002F05-nlp-foundations-to-advanced\u002F19-subword-tokenization\u002F) | Learn | Python |\n| 20 | [Structured Outputs & Constrained Decoding](phases\u002F05-nlp-foundations-to-advanced\u002F20-structured-outputs-constrained-decoding\u002F) | Build | Python |\n| 21 | [NLI & Textual Entailment](phases\u002F05-nlp-foundations-to-advanced\u002F21-nli-textual-entailment\u002F) | Learn | Python |\n| 22 | [Embedding Models Deep Dive](phases\u002F05-nlp-foundations-to-advanced\u002F22-embedding-models-deep-dive\u002F) | Learn | Python |\n| 23 | [Chunking Strategies for RAG](phases\u002F05-nlp-foundations-to-advanced\u002F23-chunking-strategies-rag\u002F) | Build | Python |\n| 24 | [Coreference Resolution](phases\u002F05-nlp-foundations-to-advanced\u002F24-coreference-resolution\u002F) | Learn | Python |\n| 25 | [Entity Linking & Disambiguation](phases\u002F05-nlp-foundations-to-advanced\u002F25-entity-linking\u002F) | Build | Python |\n| 26 | [Relation Extraction & Knowledge Graph Construction](phases\u002F05-nlp-foundations-to-advanced\u002F26-relation-extraction-kg\u002F) | Build | Python |\n| 27 | [LLM Evaluation: RAGAS, DeepEval, G-Eval](phases\u002F05-nlp-foundations-to-advanced\u002F27-llm-evaluation-frameworks\u002F) | Build | Python |\n| 28 | [Long-Context Evaluation: NIAH, RULER, LongBench, MRCR](phases\u002F05-nlp-foundations-to-advanced\u002F28-long-context-evaluation\u002F) | Learn | Python |\n| 29 | [Dialogue State Tracking](phases\u002F05-nlp-foundations-to-advanced\u002F29-dialogue-state-tracking\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-6\">\n\u003Csummary>\u003Cb>Phase 6 — Speech & Audio\u003C\u002Fb> &nbsp;\u003Ccode>17 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Hear, understand, speak.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Audio Fundamentals: Waveforms, Sampling, FFT](phases\u002F06-speech-and-audio\u002F01-audio-fundamentals) | Learn | Python |\n| 02 | [Spectrograms, Mel Scale & Audio Features](phases\u002F06-speech-and-audio\u002F02-spectrograms-mel-features) | Build | Python |\n| 03 | [Audio Classification](phases\u002F06-speech-and-audio\u002F03-audio-classification) | Build | Python |\n| 04 | [Speech Recognition (ASR)](phases\u002F06-speech-and-audio\u002F04-speech-recognition-asr) | Build | Python |\n| 05 | [Whisper: Architecture & Fine-Tuning](phases\u002F06-speech-and-audio\u002F05-whisper-architecture-finetuning) | Build | Python |\n| 06 | [Speaker Recognition & Verification](phases\u002F06-speech-and-audio\u002F06-speaker-recognition-verification) | Build | Python |\n| 07 | [Text-to-Speech (TTS)](phases\u002F06-speech-and-audio\u002F07-text-to-speech) | Build | Python |\n| 08 | [Voice Cloning & Voice Conversion](phases\u002F06-speech-and-audio\u002F08-voice-cloning-conversion) | Build | Python |\n| 09 | [Music Generation](phases\u002F06-speech-and-audio\u002F09-music-generation) | Build | Python |\n| 10 | [Audio-Language Models](phases\u002F06-speech-and-audio\u002F10-audio-language-models) | Build | Python |\n| 11 | [Real-Time Audio Processing](phases\u002F06-speech-and-audio\u002F11-real-time-audio-processing) | Build | Python, Rust |\n| 12 | [Build a Voice Assistant Pipeline](phases\u002F06-speech-and-audio\u002F12-voice-assistant-pipeline) | Build | Python |\n| 13 | [Neural Audio Codecs — EnCodec, SNAC, Mimi, DAC](phases\u002F06-speech-and-audio\u002F13-neural-audio-codecs) | Learn | Python |\n| 14 | [Voice Activity Detection & Turn-Taking](phases\u002F06-speech-and-audio\u002F14-voice-activity-detection-turn-taking) | Build | Python |\n| 15 | [Streaming Speech-to-Speech — Moshi, Hibiki](phases\u002F06-speech-and-audio\u002F15-streaming-speech-to-speech-moshi-hibiki) | Learn | Python |\n| 16 | [Voice Anti-Spoofing & Audio Watermarking](phases\u002F06-speech-and-audio\u002F16-anti-spoofing-audio-watermarking) | Build | Python |\n| 17 | [Audio Evaluation — WER, MOS, MMAU, Leaderboards](phases\u002F06-speech-and-audio\u002F17-audio-evaluation-metrics) | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-7\">\n\u003Csummary>\u003Cb>Phase 7 — Transformers Deep Dive\u003C\u002Fb> &nbsp;\u003Ccode>14 lessons\u003C\u002Fcode>&nbsp; \u003Cem>The architecture that changed everything.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Why Transformers: The Problems with RNNs](phases\u002F07-transformers-deep-dive\u002F01-why-transformers\u002F) | Learn | Python |\n| 02 | [Self-Attention from Scratch](phases\u002F07-transformers-deep-dive\u002F02-self-attention-from-scratch\u002F) | Build | Python |\n| 03 | [Multi-Head Attention](phases\u002F07-transformers-deep-dive\u002F03-multi-head-attention\u002F) | Build | Python |\n| 04 | [Positional Encoding: Sinusoidal, RoPE, ALiBi](phases\u002F07-transformers-deep-dive\u002F04-positional-encoding\u002F) | Build | Python |\n| 05 | [The Full Transformer: Encoder + Decoder](phases\u002F07-transformers-deep-dive\u002F05-full-transformer\u002F) | Build | Python |\n| 06 | [BERT — Masked Language Modeling](phases\u002F07-transformers-deep-dive\u002F06-bert-masked-language-modeling\u002F) | Build | Python |\n| 07 | [GPT — Causal Language Modeling](phases\u002F07-transformers-deep-dive\u002F07-gpt-causal-language-modeling\u002F) | Build | Python |\n| 08 | [T5, BART — Encoder-Decoder Models](phases\u002F07-transformers-deep-dive\u002F08-t5-bart-encoder-decoder\u002F) | Learn | Python |\n| 09 | [Vision Transformers (ViT)](phases\u002F07-transformers-deep-dive\u002F09-vision-transformers\u002F) | Build | Python |\n| 10 | [Audio Transformers — Whisper Architecture](phases\u002F07-transformers-deep-dive\u002F10-audio-transformers-whisper\u002F) | Learn | Python |\n| 11 | [Mixture of Experts (MoE)](phases\u002F07-transformers-deep-dive\u002F11-mixture-of-experts\u002F) | Build | Python |\n| 12 | [KV Cache, Flash Attention & Inference Optimization](phases\u002F07-transformers-deep-dive\u002F12-kv-cache-flash-attention\u002F) | Build | Python |\n| 13 | [Scaling Laws](phases\u002F07-transformers-deep-dive\u002F13-scaling-laws\u002F) | Learn | Python |\n| 14 | [Build a Transformer from Scratch](phases\u002F07-transformers-deep-dive\u002F14-build-a-transformer-capstone\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-8\">\n\u003Csummary>\u003Cb>Phase 8 — Generative AI\u003C\u002Fb> &nbsp;\u003Ccode>14 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Create images, video, audio, 3D, and more.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Generative Models: Taxonomy & History](phases\u002F08-generative-ai\u002F01-generative-models-taxonomy-history\u002F) | Learn | Python |\n| 02 | [Autoencoders & VAE](phases\u002F08-generative-ai\u002F02-autoencoders-vae\u002F) | Build | Python |\n| 03 | [GANs: Generator vs Discriminator](phases\u002F08-generative-ai\u002F03-gans-generator-discriminator\u002F) | Build | Python |\n| 04 | [Conditional GANs & Pix2Pix](phases\u002F08-generative-ai\u002F04-conditional-gans-pix2pix\u002F) | Build | Python |\n| 05 | [StyleGAN](phases\u002F08-generative-ai\u002F05-stylegan\u002F) | Build | Python |\n| 06 | [Diffusion Models — DDPM from Scratch](phases\u002F08-generative-ai\u002F06-diffusion-ddpm-from-scratch\u002F) | Build | Python |\n| 07 | [Latent Diffusion & Stable Diffusion](phases\u002F08-generative-ai\u002F07-latent-diffusion-stable-diffusion\u002F) | Build | Python |\n| 08 | [ControlNet, LoRA & Conditioning](phases\u002F08-generative-ai\u002F08-controlnet-lora-conditioning\u002F) | Build | Python |\n| 09 | [Inpainting, Outpainting & Editing](phases\u002F08-generative-ai\u002F09-inpainting-outpainting-editing\u002F) | Build | Python |\n| 10 | [Video Generation](phases\u002F08-generative-ai\u002F10-video-generation\u002F) | Build | Python |\n| 11 | [Audio Generation](phases\u002F08-generative-ai\u002F11-audio-generation\u002F) | Build | Python |\n| 12 | [3D Generation](phases\u002F08-generative-ai\u002F12-3d-generation\u002F) | Build | Python |\n| 13 | [Flow Matching & Rectified Flows](phases\u002F08-generative-ai\u002F13-flow-matching-rectified-flows\u002F) | Build | Python |\n| 14 | [Evaluation: FID, CLIP Score](phases\u002F08-generative-ai\u002F14-evaluation-fid-clip-score\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-9\">\n\u003Csummary>\u003Cb>Phase 9 — Reinforcement Learning\u003C\u002Fb> &nbsp;\u003Ccode>12 lessons\u003C\u002Fcode>&nbsp; \u003Cem>The foundation of RLHF and game-playing AI.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [MDPs, States, Actions & Rewards](phases\u002F09-reinforcement-learning\u002F01-mdps-states-actions-rewards\u002F) | Learn | Python |\n| 02 | [Dynamic Programming](phases\u002F09-reinforcement-learning\u002F02-dynamic-programming\u002F) | Build | Python |\n| 03 | [Monte Carlo Methods](phases\u002F09-reinforcement-learning\u002F03-monte-carlo-methods\u002F) | Build | Python |\n| 04 | [Q-Learning, SARSA](phases\u002F09-reinforcement-learning\u002F04-q-learning-sarsa\u002F) | Build | Python |\n| 05 | [Deep Q-Networks (DQN)](phases\u002F09-reinforcement-learning\u002F05-dqn\u002F) | Build | Python |\n| 06 | [Policy Gradients — REINFORCE](phases\u002F09-reinforcement-learning\u002F06-policy-gradients-reinforce\u002F) | Build | Python |\n| 07 | [Actor-Critic — A2C, A3C](phases\u002F09-reinforcement-learning\u002F07-actor-critic-a2c-a3c\u002F) | Build | Python |\n| 08 | [PPO](phases\u002F09-reinforcement-learning\u002F08-ppo\u002F) | Build | Python |\n| 09 | [Reward Modeling & RLHF](phases\u002F09-reinforcement-learning\u002F09-reward-modeling-rlhf\u002F) | Build | Python |\n| 10 | [Multi-Agent RL](phases\u002F09-reinforcement-learning\u002F10-multi-agent-rl\u002F) | Build | Python |\n| 11 | [Sim-to-Real Transfer](phases\u002F09-reinforcement-learning\u002F11-sim-to-real-transfer\u002F) | Build | Python |\n| 12 | [RL for Games](phases\u002F09-reinforcement-learning\u002F12-rl-for-games\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-10\">\n\u003Csummary>\u003Cb>Phase 10 — LLMs from Scratch\u003C\u002Fb> &nbsp;\u003Ccode>22 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Build, train, and understand large language models.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\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 & Self-Improvement](phases\u002F10-llms-from-scratch\u002F09-constitutional-ai-self-improvement\u002F) | Build | Python |\n| 10 | [Evaluation — Benchmarks, Evals](phases\u002F10-llms-from-scratch\u002F10-evaluation\u002F) | Build | Python |\n| 11 | [Quantization: INT8, GPTQ, AWQ, GGUF](phases\u002F10-llms-from-scratch\u002F11-quantization\u002F) | Build | Python, Rust |\n| 12 | [Inference Optimization](phases\u002F10-llms-from-scratch\u002F12-inference-optimization\u002F) | Build | Python |\n| 13 | [Building a Complete LLM Pipeline](phases\u002F10-llms-from-scratch\u002F13-building-complete-llm-pipeline\u002F) | Build | Python |\n| 14 | [Open Models: Architecture Walkthroughs](phases\u002F10-llms-from-scratch\u002F14-open-models-architecture-walkthroughs\u002F) | Learn | Python |\n| 15 | [Speculative Decoding and EAGLE-3](phases\u002F10-llms-from-scratch\u002F15-speculative-decoding-eagle3\u002F) | Build | Python |\n| 16 | [Differential Attention (V2)](phases\u002F10-llms-from-scratch\u002F16-differential-attention-v2\u002F) | Build | Python |\n| 17 | [Native Sparse Attention (DeepSeek NSA)](phases\u002F10-llms-from-scratch\u002F17-native-sparse-attention\u002F) | Build | Python |\n| 18 | [Multi-Token Prediction (MTP)](phases\u002F10-llms-from-scratch\u002F18-multi-token-prediction\u002F) | Build | Python |\n| 19 | [DualPipe Parallelism](phases\u002F10-llms-from-scratch\u002F19-dualpipe-parallelism\u002F) | Learn | Python |\n| 20 | [DeepSeek-V3 Architecture Walkthrough](phases\u002F10-llms-from-scratch\u002F20-deepseek-v3-walkthrough\u002F) | Learn | Python |\n| 21 | [Jamba — Hybrid SSM-Transformer](phases\u002F10-llms-from-scratch\u002F21-jamba-hybrid-ssm-transformer\u002F) | Learn | Python |\n| 22 | [Async and Hogwild! Inference](phases\u002F10-llms-from-scratch\u002F22-async-hogwild-inference\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-11\">\n\u003Csummary>\u003Cb>Phase 11 — LLM Engineering\u003C\u002Fb> &nbsp;\u003Ccode>15 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Put LLMs to work in production.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\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, TypeScript |\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, TypeScript |\n| 06 | [RAG: Retrieval-Augmented Generation](phases\u002F11-llm-engineering\u002F06-rag\u002F) | Build | Python, TypeScript |\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| 14 | [Model Context Protocol (MCP)](phases\u002F11-llm-engineering\u002F14-model-context-protocol\u002F) | Build | Python |\n| 15 | [Prompt Caching & Context Caching](phases\u002F11-llm-engineering\u002F15-prompt-caching\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-12\">\n\u003Csummary>\u003Cb>Phase 12 — Multimodal AI\u003C\u002Fb> &nbsp;\u003Ccode>25 lessons\u003C\u002Fcode>&nbsp; \u003Cem>See, hear, read, and reason across modalities — from ViT patches to computer-use agents.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Vision Transformers and the Patch-Token Primitive](phases\u002F12-multimodal-ai\u002F01-vision-transformer-patch-tokens\u002F) | Learn | Python |\n| 02 | [CLIP and Contrastive Vision-Language Pretraining](phases\u002F12-multimodal-ai\u002F02-clip-contrastive-pretraining\u002F) | Build | Python |\n| 03 | [BLIP-2 Q-Former as Modality Bridge](phases\u002F12-multimodal-ai\u002F03-blip2-qformer-bridge\u002F) | Build | Python |\n| 04 | [Flamingo and Gated Cross-Attention](phases\u002F12-multimodal-ai\u002F04-flamingo-gated-cross-attention\u002F) | Learn | Python |\n| 05 | [LLaVA and Visual Instruction Tuning](phases\u002F12-multimodal-ai\u002F05-llava-visual-instruction-tuning\u002F) | Build | Python |\n| 06 | [Any-Resolution Vision — Patch-n'-Pack and NaFlex](phases\u002F12-multimodal-ai\u002F06-any-resolution-patch-n-pack\u002F) | Build | Python |\n| 07 | [Open-Weight VLM Recipes: What Actually Matters](phases\u002F12-multimodal-ai\u002F07-open-weight-vlm-recipes\u002F) | Learn | Python |\n| 08 | [LLaVA-OneVision: Single, Multi, Video](phases\u002F12-multimodal-ai\u002F08-llava-onevision-single-multi-video\u002F) | Build | Python |\n| 09 | [Qwen-VL Family and Dynamic-FPS Video](phases\u002F12-multimodal-ai\u002F09-qwen-vl-family-dynamic-fps\u002F) | Learn | Python |\n| 10 | [InternVL3 Native Multimodal Pretraining](phases\u002F12-multimodal-ai\u002F10-internvl3-native-multimodal\u002F) | Learn | Python |\n| 11 | [Chameleon Early-Fusion Token-Only](phases\u002F12-multimodal-ai\u002F11-chameleon-early-fusion-tokens\u002F) | Build | Python |\n| 12 | [Emu3 Next-Token Prediction for Generation](phases\u002F12-multimodal-ai\u002F12-emu3-next-token-for-generation\u002F) | Learn | Python |\n| 13 | [Transfusion Autoregressive + Diffusion](phases\u002F12-multimodal-ai\u002F13-transfusion-autoregressive-diffusion\u002F) | Build | Python |\n| 14 | [Show-o Discrete-Diffusion Unified](phases\u002F12-multimodal-ai\u002F14-show-o-discrete-diffusion-unified\u002F) | Learn | Python |\n| 15 | [Janus-Pro Decoupled Encoders](phases\u002F12-multimodal-ai\u002F15-janus-pro-decoupled-encoders\u002F) | Build | Python |\n| 16 | [MIO Any-to-Any Streaming](phases\u002F12-multimodal-ai\u002F16-mio-any-to-any-streaming\u002F) | Learn | Python |\n| 17 | [Video-Language Temporal Grounding](phases\u002F12-multimodal-ai\u002F17-video-language-temporal-grounding\u002F) | Build | Python |\n| 18 | [Long-Video at Million-Token Context](phases\u002F12-multimodal-ai\u002F18-long-video-million-token\u002F) | Build | Python |\n| 19 | [Audio-Language Models: Whisper to AF3](phases\u002F12-multimodal-ai\u002F19-audio-language-whisper-to-af3\u002F) | Build | Python |\n| 20 | [Omni Models: Thinker-Talker Streaming](phases\u002F12-multimodal-ai\u002F20-omni-models-thinker-talker\u002F) | Build | Python |\n| 21 | [Embodied VLAs: RT-2, OpenVLA, π0, GR00T](phases\u002F12-multimodal-ai\u002F21-embodied-vlas-openvla-pi0-groot\u002F) | Learn | Python |\n| 22 | [Document and Diagram Understanding](phases\u002F12-multimodal-ai\u002F22-document-diagram-understanding\u002F) | Build | Python |\n| 23 | [ColPali Vision-Native Document RAG](phases\u002F12-multimodal-ai\u002F23-colpali-vision-native-rag\u002F) | Build | Python |\n| 24 | [Multimodal RAG and Cross-Modal Retrieval](phases\u002F12-multimodal-ai\u002F24-multimodal-rag-cross-modal\u002F) | Build | Python |\n| 25 | [Multimodal Agents and Computer-Use (Capstone)](phases\u002F12-multimodal-ai\u002F25-multimodal-agents-computer-use\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-13\">\n\u003Csummary>\u003Cb>Phase 13 — Tools & Protocols\u003C\u002Fb> &nbsp;\u003Ccode>23 lessons\u003C\u002Fcode>&nbsp; \u003Cem>The interfaces between AI and the real world.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [The Tool Interface](phases\u002F13-tools-and-protocols\u002F01-the-tool-interface\u002F) | Learn | Python |\n| 02 | [Function Calling Deep Dive](phases\u002F13-tools-and-protocols\u002F02-function-calling-deep-dive\u002F) | Build | Python |\n| 03 | [Parallel and Streaming Tool Calls](phases\u002F13-tools-and-protocols\u002F03-parallel-and-streaming-tool-calls\u002F) | Build | Python |\n| 04 | [Structured Output](phases\u002F13-tools-and-protocols\u002F04-structured-output\u002F) | Build | Python |\n| 05 | [Tool Schema Design](phases\u002F13-tools-and-protocols\u002F05-tool-schema-design\u002F) | Learn | Python |\n| 06 | [MCP Fundamentals](phases\u002F13-tools-and-protocols\u002F06-mcp-fundamentals\u002F) | Learn | Python |\n| 07 | [Building an MCP Server](phases\u002F13-tools-and-protocols\u002F07-building-an-mcp-server\u002F) | Build | Python |\n| 08 | [Building an MCP Client](phases\u002F13-tools-and-protocols\u002F08-building-an-mcp-client\u002F) | Build | Python |\n| 09 | [MCP Transports](phases\u002F13-tools-and-protocols\u002F09-mcp-transports\u002F) | Learn | Python |\n| 10 | [MCP Resources and Prompts](phases\u002F13-tools-and-protocols\u002F10-mcp-resources-and-prompts\u002F) | Build | Python |\n| 11 | [MCP Sampling](phases\u002F13-tools-and-protocols\u002F11-mcp-sampling\u002F) | Build | Python |\n| 12 | [MCP Roots and Elicitation](phases\u002F13-tools-and-protocols\u002F12-mcp-roots-and-elicitation\u002F) | Build | Python |\n| 13 | [MCP Async Tasks](phases\u002F13-tools-and-protocols\u002F13-mcp-async-tasks\u002F) | Build | Python |\n| 14 | [MCP Apps](phases\u002F13-tools-and-protocols\u002F14-mcp-apps\u002F) | Build | Python |\n| 15 | [MCP Security I — Tool Poisoning](phases\u002F13-tools-and-protocols\u002F15-mcp-security-tool-poisoning\u002F) | Learn | Python |\n| 16 | [MCP Security II — OAuth 2.1](phases\u002F13-tools-and-protocols\u002F16-mcp-security-oauth-2-1\u002F) | Build | Python |\n| 17 | [MCP Gateways and Registries](phases\u002F13-tools-and-protocols\u002F17-mcp-gateways-and-registries\u002F) | Learn | Python |\n| 18 | [MCP Auth in Production — DCR + JWKS on iii](phases\u002F13-tools-and-protocols\u002F18-mcp-auth-production\u002F) | Build | Python |\n| 19 | [A2A Protocol](phases\u002F13-tools-and-protocols\u002F19-a2a-protocol\u002F) | Build | Python |\n| 20 | [OpenTelemetry GenAI](phases\u002F13-tools-and-protocols\u002F20-opentelemetry-genai\u002F) | Build | Python |\n| 21 | [LLM Routing Layer](phases\u002F13-tools-and-protocols\u002F21-llm-routing-layer\u002F) | Learn | Python |\n| 22 | [Skills and Agent SDKs](phases\u002F13-tools-and-protocols\u002F22-skills-and-agent-sdks\u002F) | Learn | Python |\n| 23 | [Capstone — Tool Ecosystem](phases\u002F13-tools-and-protocols\u002F23-capstone-tool-ecosystem\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-14\">\n\u003Csummary>\u003Cb>Phase 14 — Agent Engineering\u003C\u002Fb> &nbsp;\u003Ccode>42 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Build agents from first principles — loop, memory, planning, frameworks, benchmarks, production, workbench.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [The Agent Loop](phases\u002F14-agent-engineering\u002F01-the-agent-loop\u002F) | Build | Python |\n| 02 | [ReWOO and Plan-and-Execute](phases\u002F14-agent-engineering\u002F02-rewoo-plan-and-execute\u002F) | Build | Python |\n| 03 | [Reflexion and Verbal Reinforcement Learning](phases\u002F14-agent-engineering\u002F03-reflexion-verbal-rl\u002F) | Build | Python |\n| 04 | [Tree of Thoughts and LATS](phases\u002F14-agent-engineering\u002F04-tree-of-thoughts-lats\u002F) | Build | Python |\n| 05 | [Self-Refine and CRITIC](phases\u002F14-agent-engineering\u002F05-self-refine-and-critic\u002F) | Build | Python |\n| 06 | [Tool Use and Function Calling](phases\u002F14-agent-engineering\u002F06-tool-use-and-function-calling\u002F) | Build | Python |\n| 07 | [Memory — Virtual Context and MemGPT](phases\u002F14-agent-engineering\u002F07-memory-virtual-context-memgpt\u002F) | Build | Python |\n| 08 | [Memory Blocks and Sleep-Time Compute](phases\u002F14-agent-engineering\u002F08-memory-blocks-sleep-time-compute\u002F) | Build | Python |\n| 09 | [Hybrid Memory — Mem0 Vector + Graph + KV](phases\u002F14-agent-engineering\u002F09-hybrid-memory-mem0\u002F) | Build | Python |\n| 10 | [Skill Libraries and Lifelong Learning — Voyager](phases\u002F14-agent-engineering\u002F10-skill-libraries-voyager\u002F) | Build | Python |\n| 11 | [Planning with HTN and Evolutionary Search](phases\u002F14-agent-engineering\u002F11-planning-htn-and-evolutionary\u002F) | Build | Python |\n| 12 | [Anthropic's Workflow Patterns](phases\u002F14-agent-engineering\u002F12-anthropic-workflow-patterns\u002F) | Build | Python |\n| 13 | [LangGraph — Stateful Graphs and Durable Execution](phases\u002F14-agent-engineering\u002F13-langgraph-stateful-graphs\u002F) | Build | Python |\n| 14 | [AutoGen v0.4 — Actor Model](phases\u002F14-agent-engineering\u002F14-autogen-actor-model\u002F) | Build | Python |\n| 15 | [CrewAI — Role-Based Crews and Flows](phases\u002F14-agent-engineering\u002F15-crewai-role-based-crews\u002F) | Build | Python |\n| 16 | [OpenAI Agents SDK — Handoffs, Guardrails, Tracing](phases\u002F14-agent-engineering\u002F16-openai-agents-sdk\u002F) | Build | Python |\n| 17 | [Claude Agent SDK — Subagents and Session Store](phases\u002F14-agent-engineering\u002F17-claude-agent-sdk\u002F) | Build | Python |\n| 18 | [Agno and Mastra — Production Runtimes](phases\u002F14-agent-engineering\u002F18-agno-and-mastra-runtimes\u002F) | Learn | Python, TypeScript |\n| 19 | [Benchmarks — SWE-bench, GAIA, AgentBench](phases\u002F14-agent-engineering\u002F19-benchmarks-swebench-gaia\u002F) | Learn | Python |\n| 20 | [Benchmarks — WebArena and OSWorld](phases\u002F14-agent-engineering\u002F20-benchmarks-webarena-osworld\u002F) | Learn | Python |\n| 21 | [Computer Use — Claude, OpenAI CUA, Gemini](phases\u002F14-agent-engineering\u002F21-computer-use-agents\u002F) | Build | Python |\n| 22 | [Voice Agents — Pipecat and LiveKit](phases\u002F14-agent-engineering\u002F22-voice-agents-pipecat-livekit\u002F) | Build | Python |\n| 23 | [OpenTelemetry GenAI Semantic Conventions](phases\u002F14-agent-engineering\u002F23-otel-genai-conventions\u002F) | Build | Python |\n| 24 | [Agent Observability — Langfuse, Phoenix, Opik](phases\u002F14-agent-engineering\u002F24-agent-observability-platforms\u002F) | Learn | Python |\n| 25 | [Multi-Agent Debate and Collaboration](phases\u002F14-agent-engineering\u002F25-multi-agent-debate\u002F) | Build | Python |\n| 26 | [Failure Modes — Why Agents Break](phases\u002F14-agent-engineering\u002F26-failure-modes-agentic\u002F) | Build | Python |\n| 27 | [Prompt Injection and the PVE Defense](phases\u002F14-agent-engineering\u002F27-prompt-injection-defense\u002F) | Build | Python |\n| 28 | [Orchestration Patterns — Supervisor, Swarm, Hierarchical](phases\u002F14-agent-engineering\u002F28-orchestration-patterns\u002F) | Build | Python |\n| 29 | [Production Runtimes — Queue, Event, Cron](phases\u002F14-agent-engineering\u002F29-production-runtimes\u002F) | Learn | Python |\n| 30 | [Eval-Driven Agent Development](phases\u002F14-agent-engineering\u002F30-eval-driven-agent-development\u002F) | Build | Python |\n| 31 | [Agent Workbench: Why Capable Models Still Fail](phases\u002F14-agent-engineering\u002F31-agent-workbench-why-models-fail\u002F) | Learn | Python |\n| 32 | [The Minimal Agent Workbench](phases\u002F14-agent-engineering\u002F32-minimal-agent-workbench\u002F) | Build | Python |\n| 33 | [Agent Instructions as Executable Constraints](phases\u002F14-agent-engineering\u002F33-instructions-as-executable-constraints\u002F) | Build | Python |\n| 34 | [Repo Memory and Durable State](phases\u002F14-agent-engineering\u002F34-repo-memory-and-state\u002F) | Build | Python |\n| 35 | [Initialization Scripts for Agents](phases\u002F14-agent-engineering\u002F35-initialization-scripts\u002F) | Build | Python |\n| 36 | [Scope Contracts and Task Boundaries](phases\u002F14-agent-engineering\u002F36-scope-contracts\u002F) | Build | Python |\n| 37 | [Runtime Feedback Loops](phases\u002F14-agent-engineering\u002F37-runtime-feedback-loops\u002F) | Build | Python |\n| 38 | [Verification Gates](phases\u002F14-agent-engineering\u002F38-verification-gates\u002F) | Build | Python |\n| 39 | [Reviewer Agent: Separate Builder from Marker](phases\u002F14-agent-engineering\u002F39-reviewer-agent\u002F) | Build | Python |\n| 40 | [Multi-Session Handoff](phases\u002F14-agent-engineering\u002F40-multi-session-handoff\u002F) | Build | Python |\n| 41 | [The Workbench on a Real Repo](phases\u002F14-agent-engineering\u002F41-workbench-for-real-repos\u002F) | Build | Python |\n| 42 | [Capstone: Ship a Reusable Agent Workbench Pack](phases\u002F14-agent-engineering\u002F42-agent-workbench-capstone\u002F) | Build | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-15\">\n\u003Csummary>\u003Cb>Phase 15 — Autonomous Systems\u003C\u002Fb> &nbsp;\u003Ccode>22 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Long-horizon agents, self-improvement, and the 2026 safety stack.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [From Chatbots to Long-Horizon Agents (METR)](phases\u002F15-autonomous-systems\u002F01-long-horizon-agents\u002F) | Learn | Python |\n| 02 | [STaR, V-STaR, Quiet-STaR: Self-Taught Reasoning](phases\u002F15-autonomous-systems\u002F02-star-family-reasoning\u002F) | Learn | Python |\n| 03 | [AlphaEvolve: Evolutionary Coding Agents](phases\u002F15-autonomous-systems\u002F03-alphaevolve-evolutionary-coding\u002F) | Learn | Python |\n| 04 | [Darwin Gödel Machine: Self-Modifying Agents](phases\u002F15-autonomous-systems\u002F04-darwin-godel-machine\u002F) | Learn | Python |\n| 05 | [AI Scientist v2: Workshop-Level Research](phases\u002F15-autonomous-systems\u002F05-ai-scientist-v2\u002F) | Learn | Python |\n| 06 | [Automated Alignment Research (Anthropic AAR)](phases\u002F15-autonomous-systems\u002F06-automated-alignment-research\u002F) | Learn | Python |\n| 07 | [Recursive Self-Improvement: Capability vs Alignment](phases\u002F15-autonomous-systems\u002F07-recursive-self-improvement\u002F) | Learn | Python |\n| 08 | [Bounded Self-Improvement Designs](phases\u002F15-autonomous-systems\u002F08-bounded-self-improvement\u002F) | Learn | Python |\n| 09 | [Autonomous Coding Agent Landscape (SWE-bench, CodeAct)](phases\u002F15-autonomous-systems\u002F09-coding-agent-landscape\u002F) | Learn | Python |\n| 10 | [Claude Code Permission Modes and Auto Mode](phases\u002F15-autonomous-systems\u002F10-claude-code-permission-modes\u002F) | Learn | Python |\n| 11 | [Browser Agents and Indirect Prompt Injection](phases\u002F15-autonomous-systems\u002F11-browser-agents\u002F) | Learn | Python |\n| 12 | [Durable Execution for Long-Running Agents](phases\u002F15-autonomous-systems\u002F12-durable-execution\u002F) | Learn | Python |\n| 13 | [Action Budgets, Iteration Caps, Cost Governors](phases\u002F15-autonomous-systems\u002F13-cost-governors\u002F) | Learn | Python |\n| 14 | [Kill Switches, Circuit Breakers, Canary Tokens](phases\u002F15-autonomous-systems\u002F14-kill-switches-canaries\u002F) | Learn | Python |\n| 15 | [HITL: Propose-Then-Commit](phases\u002F15-autonomous-systems\u002F15-propose-then-commit\u002F) | Learn | Python |\n| 16 | [Checkpoints and Rollback](phases\u002F15-autonomous-systems\u002F16-checkpoints-rollback\u002F) | Learn | Python |\n| 17 | [Constitutional AI and Rule Overrides](phases\u002F15-autonomous-systems\u002F17-constitutional-ai\u002F) | Learn | Python |\n| 18 | [Llama Guard and Input\u002FOutput Classification](phases\u002F15-autonomous-systems\u002F18-llama-guard\u002F) | Learn | Python |\n| 19 | [Anthropic Responsible Scaling Policy v3.0](phases\u002F15-autonomous-systems\u002F19-anthropic-rsp\u002F) | Learn | Python |\n| 20 | [OpenAI Preparedness Framework and DeepMind FSF](phases\u002F15-autonomous-systems\u002F20-openai-preparedness-deepmind-fsf\u002F) | Learn | Python |\n| 21 | [METR Time Horizons and External Evaluation](phases\u002F15-autonomous-systems\u002F21-metr-external-evaluation\u002F) | Learn | Python |\n| 22 | [CAIS, CAISI, and Societal-Scale Risk](phases\u002F15-autonomous-systems\u002F22-cais-caisi-societal-risk\u002F) | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-16\">\n\u003Csummary>\u003Cb>Phase 16 — Multi-Agent & Swarms\u003C\u002Fb> &nbsp;\u003Ccode>25 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Coordination, emergence, and collective intelligence.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Why Multi-Agent](phases\u002F16-multi-agent-and-swarms\u002F01-why-multi-agent\u002F) | Learn | TypeScript |\n| 02 | [FIPA-ACL Heritage and Speech Acts](phases\u002F16-multi-agent-and-swarms\u002F02-fipa-acl-heritage\u002F) | Learn | Python |\n| 03 | [Communication Protocols](phases\u002F16-multi-agent-and-swarms\u002F03-communication-protocols\u002F) | Build | TypeScript |\n| 04 | [The Multi-Agent Primitive Model](phases\u002F16-multi-agent-and-swarms\u002F04-primitive-model\u002F) | Learn | Python |\n| 05 | [Supervisor \u002F Orchestrator-Worker Pattern](phases\u002F16-multi-agent-and-swarms\u002F05-supervisor-orchestrator-pattern\u002F) | Build | Python |\n| 06 | [Hierarchical Architecture and Decomposition Drift](phases\u002F16-multi-agent-and-swarms\u002F06-hierarchical-architecture\u002F) | Learn | Python |\n| 07 | [Society of Mind and Multi-Agent Debate](phases\u002F16-multi-agent-and-swarms\u002F07-society-of-mind-debate\u002F) | Build | Python |\n| 08 | [Role Specialization — Planner \u002F Critic \u002F Executor \u002F Verifier](phases\u002F16-multi-agent-and-swarms\u002F08-role-specialization\u002F) | Build | Python |\n| 09 | [Parallel Swarm and Networked Architectures](phases\u002F16-multi-agent-and-swarms\u002F09-parallel-swarm-networks\u002F) | Build | Python |\n| 10 | [Group Chat and Speaker Selection](phases\u002F16-multi-agent-and-swarms\u002F10-group-chat-speaker-selection\u002F) | Build | Python |\n| 11 | [Handoffs and Routines (Stateless Orchestration)](phases\u002F16-multi-agent-and-swarms\u002F11-handoffs-and-routines\u002F) | Build | Python |\n| 12 | [A2A — The Agent-to-Agent Protocol](phases\u002F16-multi-agent-and-swarms\u002F12-a2a-protocol\u002F) | Build | Python |\n| 13 | [Shared Memory and Blackboard Patterns](phases\u002F16-multi-agent-and-swarms\u002F13-shared-memory-blackboard\u002F) | Build | Python |\n| 14 | [Consensus and Byzantine Fault Tolerance](phases\u002F16-multi-agent-and-swarms\u002F14-consensus-and-bft\u002F) | Build | Python |\n| 15 | [Voting, Self-Consistency, and Debate Topology](phases\u002F16-multi-agent-and-swarms\u002F15-voting-debate-topology\u002F) | Build | Python |\n| 16 | [Negotiation and Bargaining](phases\u002F16-multi-agent-and-swarms\u002F16-negotiation-bargaining\u002F) | Build | Python |\n| 17 | [Generative Agents and Emergent Simulation](phases\u002F16-multi-agent-and-swarms\u002F17-generative-agents-simulation\u002F) | Build | Python |\n| 18 | [Theory of Mind and Emergent Coordination](phases\u002F16-multi-agent-and-swarms\u002F18-theory-of-mind-coordination\u002F) | Build | Python |\n| 19 | [Swarm Optimization (PSO, ACO)](phases\u002F16-multi-agent-and-swarms\u002F19-swarm-optimization-pso-aco\u002F) | Build | Python |\n| 20 | [MARL — MADDPG, QMIX, MAPPO](phases\u002F16-multi-agent-and-swarms\u002F20-marl-maddpg-qmix-mappo\u002F) | Learn | Python |\n| 21 | [Agent Economies, Token Incentives, Reputation](phases\u002F16-multi-agent-and-swarms\u002F21-agent-economies\u002F) | Learn | Python |\n| 22 | [Production Scaling — Queues, Checkpoints, Durability](phases\u002F16-multi-agent-and-swarms\u002F22-production-scaling-queues-checkpoints\u002F) | Build | Python |\n| 23 | [Failure Modes — MAST, Groupthink, Monoculture](phases\u002F16-multi-agent-and-swarms\u002F23-failure-modes-mast-groupthink\u002F) | Learn | Python |\n| 24 | [Evaluation and Coordination Benchmarks](phases\u002F16-multi-agent-and-swarms\u002F24-evaluation-coordination-benchmarks\u002F) | Learn | Python |\n| 25 | [Case Studies and 2026 State of the Art](phases\u002F16-multi-agent-and-swarms\u002F25-case-studies-2026-sota\u002F) | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-17\">\n\u003Csummary>\u003Cb>Phase 17 — Infrastructure & Production\u003C\u002Fb> &nbsp;\u003Ccode>28 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Ship AI to the real world.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | Managed LLM Platforms — Bedrock, Azure OpenAI, Vertex AI | Learn | Python |\n| 02 | Inference Platform Economics — Fireworks, Together, Baseten, Modal | Learn | Python |\n| 03 | GPU Autoscaling on Kubernetes — Karpenter, KAI Scheduler | Learn | Python |\n| 04 | vLLM Serving Internals — PagedAttention, Continuous Batching, Chunked Prefill | Learn | Python |\n| 05 | EAGLE-3 Speculative Decoding in Production | Learn | Python |\n| 06 | SGLang and RadixAttention for Prefix-Heavy Workloads | Learn | Python |\n| 07 | TensorRT-LLM on Blackwell with FP8 and NVFP4 | Learn | Python |\n| 08 | Inference Metrics — TTFT, TPOT, ITL, Goodput, P99 | Learn | Python |\n| 09 | Production Quantization — AWQ, GPTQ, GGUF, FP8, NVFP4 | Learn | Python |\n| 10 | Cold Start Mitigation for Serverless LLMs | Learn | Python |\n| 11 | Multi-Region LLM Serving and KV Cache Locality | Learn | Python |\n| 12 | Edge Inference — ANE, Hexagon, WebGPU, Jetson | Learn | Python |\n| 13 | LLM Observability Stack Selection | Learn | Python |\n| 14 | Prompt Caching and Semantic Caching Economics | Learn | Python |\n| 15 | Batch APIs — the 50% Discount as Industry Standard | Learn | Python |\n| 16 | Model Routing as a Cost-Reduction Primitive | Learn | Python |\n| 17 | Disaggregated Prefill\u002FDecode — NVIDIA Dynamo and llm-d | Learn | Python |\n| 18 | vLLM Production Stack with LMCache KV Offloading | Learn | Python |\n| 19 | AI Gateways — LiteLLM, Portkey, Kong, Bifrost | Learn | Python |\n| 20 | Shadow, Canary, and Progressive Deployment | Learn | Python |\n| 21 | A\u002FB Testing LLM Features — GrowthBook and Statsig | Learn | Python |\n| 22 | Load Testing LLM APIs — k6, LLMPerf, GenAI-Perf | Build | Python |\n| 23 | SRE for AI — Multi-Agent Incident Response | Learn | Python |\n| 24 | Chaos Engineering for LLM Production | Learn | Python |\n| 25 | Security — Secrets, PII Scrubbing, Audit Logs | Learn | Python |\n| 26 | Compliance — SOC 2, HIPAA, GDPR, EU AI Act, ISO 42001 | Learn | Python |\n| 27 | FinOps for LLMs — Unit Economics and Multi-Tenant Attribution | Learn | Python |\n| 28 | Self-Hosted Serving Selection — llama.cpp, Ollama, TGI, vLLM, SGLang | Learn | Python |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-18\">\n\u003Csummary>\u003Cb>Phase 18 — Ethics, Safety & Alignment\u003C\u002Fb> &nbsp;\u003Ccode>30 lessons\u003C\u002Fcode>&nbsp; \u003Cem>Build AI that helps humanity. Not optional.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Lesson | Type | Lang |\n|:---:|--------|:----:|------|\n| 01 | [Instruction-Following as Alignment Signal](phases\u002F18-ethics-safety-alignment\u002F01-instruction-following-alignment-signal\u002F) | Learn | Python |\n| 02 | [Reward Hacking & Goodhart's Law](phases\u002F18-ethics-safety-alignment\u002F02-reward-hacking-goodhart\u002F) | Learn | Python |\n| 03 | [Direct Preference Optimization Family](phases\u002F18-ethics-safety-alignment\u002F03-direct-preference-optimization-family\u002F) | Learn | Python |\n| 04 | [Sycophancy as RLHF Amplification](phases\u002F18-ethics-safety-alignment\u002F04-sycophancy-rlhf-amplification\u002F) | Learn | Python |\n| 05 | [Constitutional AI & RLAIF](phases\u002F18-ethics-safety-alignment\u002F05-constitutional-ai-rlaif\u002F) | Learn | Python |\n| 06 | [Mesa-Optimization & Deceptive Alignment](phases\u002F18-ethics-safety-alignment\u002F06-mesa-optimization-deceptive-alignment\u002F) | Learn | Python |\n| 07 | [Sleeper Agents — Persistent Deception](phases\u002F18-ethics-safety-alignment\u002F07-sleeper-agents-persistent-deception\u002F) | Learn | Python |\n| 08 | [In-Context Scheming in Frontier Models](phases\u002F18-ethics-safety-alignment\u002F08-in-context-scheming-frontier-models\u002F) | Learn | Python |\n| 09 | [Alignment Faking](phases\u002F18-ethics-safety-alignment\u002F09-alignment-faking\u002F) | Learn | Python |\n| 10 | [AI Control — Safety Despite Subversion](phases\u002F18-ethics-safety-alignment\u002F10-ai-control-subversion\u002F) | Learn | Python |\n| 11 | [Scalable Oversight & Weak-to-Strong](phases\u002F18-ethics-safety-alignment\u002F11-scalable-oversight-weak-to-strong\u002F) | Learn | Python |\n| 12 | [Red-Teaming: PAIR & Automated Attacks](phases\u002F18-ethics-safety-alignment\u002F12-red-teaming-pair-automated-attacks\u002F) | Build | Python |\n| 13 | [Many-Shot Jailbreaking](phases\u002F18-ethics-safety-alignment\u002F13-many-shot-jailbreaking\u002F) | Learn | Python |\n| 14 | [ASCII Art & Visual Jailbreaks](phases\u002F18-ethics-safety-alignment\u002F14-ascii-art-visual-jailbreaks\u002F) | Build | Python |\n| 15 | [Indirect Prompt Injection](phases\u002F18-ethics-safety-alignment\u002F15-indirect-prompt-injection\u002F) | Build | Python |\n| 16 | [Red-Team Tooling: Garak, Llama Guard, PyRIT](phases\u002F18-ethics-safety-alignment\u002F16-red-team-tooling-garak-llamaguard-pyrit\u002F) | Build | Python |\n| 17 | [WMDP & Dual-Use Capability Evaluation](phases\u002F18-ethics-safety-alignment\u002F17-wmdp-dual-use-evaluation\u002F) | Learn | Python |\n| 18 | [Frontier Safety Frameworks — RSP, PF, FSF](phases\u002F18-ethics-safety-alignment\u002F18-frontier-safety-frameworks-rsp-pf-fsf\u002F) | Learn | — |\n| 19 | [Model Welfare Research](phases\u002F18-ethics-safety-alignment\u002F19-model-welfare-research\u002F) | Learn | Python |\n| 20 | [Bias & Representational Harm](phases\u002F18-ethics-safety-alignment\u002F20-bias-representational-harm\u002F) | Build | Python |\n| 21 | [Fairness Criteria: Group, Individual, Counterfactual](phases\u002F18-ethics-safety-alignment\u002F21-fairness-criteria-group-individual-counterfactual\u002F) | Learn | Python |\n| 22 | [Differential Privacy for LLMs](phases\u002F18-ethics-safety-alignment\u002F22-differential-privacy-for-llms\u002F) | Build | Python |\n| 23 | [Watermarking: SynthID, Stable Signature, C2PA](phases\u002F18-ethics-safety-alignment\u002F23-watermarking-synthid-stable-signature-c2pa\u002F) | Build | Python |\n| 24 | [Regulatory Frameworks: EU, US, UK, Korea](phases\u002F18-ethics-safety-alignment\u002F24-regulatory-frameworks-eu-us-uk-korea\u002F) | Learn | — |\n| 25 | [EchoLeak & CVEs for AI](phases\u002F18-ethics-safety-alignment\u002F25-echoleak-cves-for-ai\u002F) | Learn | Python |\n| 26 | [Model, System & Dataset Cards](phases\u002F18-ethics-safety-alignment\u002F26-model-system-dataset-cards\u002F) | Build | Python |\n| 27 | [Data Provenance & Training-Data Governance](phases\u002F18-ethics-safety-alignment\u002F27-data-provenance-training-governance\u002F) | Learn | Python |\n| 28 | [Alignment Research Ecosystem: MATS, Redwood, Apollo, METR](phases\u002F18-ethics-safety-alignment\u002F28-alignment-research-ecosystem\u002F) | Learn | — |\n| 29 | [Moderation Systems: OpenAI, Perspective, Llama Guard](phases\u002F18-ethics-safety-alignment\u002F29-moderation-systems-openai-perspective-llamaguard\u002F) | Build | Python |\n| 30 | [Dual-Use Risk: Cyber, Bio, Chem, Nuclear](phases\u002F18-ethics-safety-alignment\u002F30-dual-use-risk-cyber-bio-chem-nuclear\u002F) | Learn | — |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails id=\"phase-19\">\n\u003Csummary>\u003Cb>Phase 19 — Capstone Projects\u003C\u002Fb> &nbsp;\u003Ccode>17 projects\u003C\u002Fcode>&nbsp; \u003Cem>2026 end-to-end shippable products, 20-40 hours each.\u003C\u002Fem>\u003C\u002Fsummary>\n\u003Cbr\u002F>\n\n| # | Project | Combines | Lang |\n|:---:|---------|----------|------|\n| 01 | [Terminal-Native Coding Agent](phases\u002F19-capstone-projects\u002F01-terminal-native-coding-agent\u002F) | P0 P5 P7 P10 P11 P13 P14 P15 P17 P18 | TypeScript, Python |\n| 02 | [RAG over Codebase (Cross-Repo Semantic Search)](phases\u002F19-capstone-projects\u002F02-rag-over-codebase\u002F) | P5 P7 P11 P13 P17 | Python, TypeScript |\n| 03 | [Real-Time Voice Assistant (ASR → LLM → TTS)](phases\u002F19-capstone-projects\u002F03-realtime-voice-assistant\u002F) | P6 P7 P11 P13 P14 P17 | Python, TypeScript |\n| 04 | [Multimodal Document QA (Vision-First)](phases\u002F19-capstone-projects\u002F04-multimodal-document-qa\u002F) | P4 P5 P7 P11 P12 P17 | Python, TypeScript |\n| 05 | [Autonomous Research Agent (AI-Scientist Class)](phases\u002F19-capstone-projects\u002F05-autonomous-research-agent\u002F) | P0 P2 P3 P7 P10 P14 P15 P16 P18 | Python |\n| 06 | [DevOps Troubleshooting Agent for Kubernetes](phases\u002F19-capstone-projects\u002F06-devops-troubleshooting-agent\u002F) | P11 P13 P14 P15 P17 P18 | Python, TypeScript |\n| 07 | [End-to-End Fine-Tuning Pipeline](phases\u002F19-capstone-projects\u002F07-end-to-end-fine-tuning-pipeline\u002F) | P2 P3 P7 P10 P11 P17 P18 | Python |\n| 08 | [Production RAG Chatbot (Regulated Vertical)](phases\u002F19-capstone-projects\u002F08-production-rag-chatbot\u002F) | P5 P7 P11 P12 P17 P18 | Python, TypeScript |\n| 09 | [Code Migration Agent (Repo-Level Upgrade)](phases\u002F19-capstone-projects\u002F09-code-migration-agent\u002F) | P5 P7 P11 P13 P14 P15 P17 | Python, TypeScript |\n| 10 | [Multi-Agent Software Engineering Team](phases\u002F19-capstone-projects\u002F10-multi-agent-software-team\u002F) | P11 P13 P14 P15 P16 P17 | Python, TypeScript |\n| 11 | [LLM Observability & Eval Dashboard](phases\u002F19-capstone-projects\u002F11-llm-observability-dashboard\u002F) | P11 P13 P17 P18 | TypeScript, Python |\n| 12 | [Video Understanding Pipeline (Scene → QA)](phases\u002F19-capstone-projects\u002F12-video-understanding-pipeline\u002F) | P4 P6 P7 P11 P12 P17 | Python, TypeScript |\n| 13 | [MCP Server with Registry and Governance](phases\u002F19-capstone-projects\u002F13-mcp-server-with-registry\u002F) | P11 P13 P14 P17 P18 | Python, TypeScript |\n| 14 | [Speculative-Decoding Inference Server](phases\u002F19-capstone-projects\u002F14-speculative-decoding-server\u002F) | P3 P7 P10 P17 | Python |\n| 15 | [Constitutional Safety Harness + Red-Team Range](phases\u002F19-capstone-projects\u002F15-constitutional-safety-harness\u002F) | P10 P11 P13 P14 P18 | Python |\n| 16 | [GitHub Issue-to-PR Autonomous Agent](phases\u002F19-capstone-projects\u002F16-github-issue-to-pr-agent\u002F) | P11 P13 P14 P15 P17 | Python, TypeScript |\n| 17 | [Personal AI Tutor (Adaptive, Multimodal)](phases\u002F19-capstone-projects\u002F17-personal-ai-tutor\u002F) | P5 P6 P11 P12 P14 P17 P18 | Python, TypeScript |\n\n\u003C\u002Fdetails>\n\n```\n░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒░░░▒▒▒\n```\n\n## The toolkit\n\nEvery lesson produces a reusable artifact. By the end 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 built during the course\n```\n\nInstall them with [SkillKit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fskillkit). Plug them into Claude, Cursor,\nCodex, OpenClaw, Hermes, or any MCP-compatible agent. Real tools, not homework.\n\n## Where to start\n\n| Background | Start at | Estimated time |\n|---|---|---|\n| New to programming and AI | Phase 0 — Setup | ~306 hours |\n| Know Python, new to ML | Phase 1 — Math Foundations | ~270 hours |\n| Know ML, new to deep learning | Phase 3 — Deep Learning Core | ~200 hours |\n|","该项目旨在通过从零开始构建AI系统，帮助学习者掌握人工智能工程的全流程。核心功能包括428个课程和20个阶段的学习内容，涵盖线性代数、计算机视觉、自然语言处理、强化学习等广泛领域，并且每节课都会产出可复用的技术成果，如提示词、技能模块或代理程序。技术特点上，项目强调从基础数学推导到实际编码实现的完整过程，支持Python、TypeScript、Rust等多种编程语言。适合希望深入理解AI底层机制并亲手实践的学生、工程师以及任何对AI技术感兴趣的人士使用。",2,"2026-06-06 03:49:29","high_star"]