ai-engineering-from-scratch
Learn AI Engineering! Learn it. Build it. Ship it for others.
- 72.6k estrellas
- 12.8k forks
- 73 issues abiertos
- Lenguaje: Python
- Licencia: MIT
- actualizado
Instalación
git clone https://github.com/rohitg00/ai-engineering-from-scratch && cp ai-engineering-from-scratch/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Nota editorial
AI Engineering from Scratch is a structured, self-paced curriculum covering 503 lessons across 20 phases, spanning roughly 320 hours of study and hands-on work in Python, TypeScript, Rust, and Julia. The curriculum runs from linear algebra and backpropagation through transformers, generative AI, and LLM engineering, culminating in agent engineering, multi-agent swarms, and production infrastructure. Each lesson follows a fixed six-step loop: motto, problem statement, conceptual explanation, from-scratch implementation in raw math, reproduction using a production library such as PyTorch or scikit-learn, and a shipped artifact such as a prompt, skill, agent, or MCP server. The MCP server outputs connect directly to Claude and other assistants via the Model Context Protocol, and the curriculum dedicates a full phase (Phase 13) to tools and protocols including MCP. A standout structural detail is that every lesson folder ships a reusable output under an outputs directory alongside runnable code and narrative docs. The course targets developers and students who already use AI tools but lack the foundational understanding to work with them professionally.
Resumen de Subagents
Implement model internals, retrieval pipelines, and agent runtimes. Test them, inspect failures, and keep the code and evaluation results.
Start learning · Choose a path · Try a lab · Build a project · Browse the curriculum
Free, open source, MIT. Learn on the website, with a coding agent, or by running local code.
542 lessons. 20 phases. Python, TypeScript, Rust, Julia.
Read in your language
🇬🇧 English · 🇨🇳 简体中文 · 🇹🇼 繁體中文(台灣) · 🇯🇵 日本語 · 🇰🇷 한국어 · 🇵🇹 Português · 🇧🇷 Português (Brasil) · 🇪🇸 Español · 🇩🇪 Deutsch · 🇫🇷 Français · 🇮🇹 Italiano · 🇳🇱 Nederlands · 🇵🇱 Polski · 🇨🇿 Čeština · 🇷🇴 Română · 🇭🇺 Magyar · 🇬🇷 Ελληνικά · 🇸🇪 Svenska · 🇩🇰 Dansk · 🇳🇴 Norsk · 🇫🇮 Suomi · 🇷🇺 Русский · 🇺🇦 Українська · 🇹🇷 Türkçe · 🇮🇱 עברית · 🇸🇦 العربية · 🇮🇷 فارسی · 🇮🇳 हिन्दी · 🇧🇩 বাংলা · 🇵🇰 اردو · 🇹🇭 ไทย · 🇻🇳 Tiếng Việt · 🇮🇩 Bahasa Indonesia · 🇵🇭 Tagalog
Sponsors
Your support keeps every lesson free and open source. See all supporters · Become a sponsor
Learning paths
| Route | Starting lesson |
|---|---|
| Model foundations | Setup and tooling |
| LLM systems | Prompt engineering |
| Agents and delivery | The agent loop |
Compare career paths · Prerequisites and study time
Gradient descent
Twenty starting points follow gradient descent on a quadratic loss. The graph shows their positions and mean loss after each update.
Adjust the learning rate in the lesson · Compare GD, momentum, and Adam in code
Projects
Three projects with staged starters, reference implementations, and local graders. Run commands from the repository root after setup. Starters fail until you implement the stages.
01 · Retrieval Evaluation Lab · Python · Ranking metrics and regression checks
A candidate improves mean NDCG while one query ranks its most relevant evidence lower. Build a query-by-query comparison that reports the regression and can fail a release check.
Use Python 3.10+. Review RAG and model evaluation. Implement ranking validation, precision and recall, rank-sensitive metrics, then system comparison.
python3 scripts/project_test.py retrieval-evaluation-lab \
--init learning-artifacts/retrieval-evaluation-lab
python3 scripts/project_test.py retrieval-evaluation-lab \
--stage 1 --path learning-artifacts/retrieval-evaluation-lab --strict
python3 scripts/project_test.py retrieval-evaluation-lab \
--all --path learning-artifacts/retrieval-evaluation-lab --strictKeep: a reproducible comparison with per-query deltas and the judgments used to score them. Metrics describe those judgments; they do not establish answer correctness.
Start the project · Inspect the reference · Run on your own inputs
02 · Agent Trace Debugger · TypeScript · Trace parsing and timing
A supplied trace still takes 100 ms, but total token usage rises by 200 and one span starts failing. Separate overlapping child work from parent execution time, then produce a report that exposes the change.
Use Node.js 22.18+ and Python 3 for the grader. Implement JSONL parsing, parent validation, interval arithmetic, then an inspectable timeline.
python3 scripts/project_test.py agent-trace-debugger \
--init learning-artifacts/agent-trace-debugger
python3 scripts/project_test.py agent-trace-debugger \
--stage 1 --path learning-artifacts/agent-trace-debugger --strict
python3 scripts/project_test.py agent-trace-debugger \
--all --path learning-artifacts/agent-trace-debugger --strictLo que la gente pregunta sobre ai-engineering-from-scratch
¿Qué es rohitg00/ai-engineering-from-scratch?
rohitg00/ai-engineering-from-scratch es subagents para el ecosistema de Claude AI. Learn AI Engineering! Learn it. Build it. Ship it for others. Tiene 72.6k estrellas en GitHub y su última actualización registrada es del 2026-10-23.
¿Cómo se instala ai-engineering-from-scratch?
Puedes instalar ai-engineering-from-scratch clonando el repositorio (https://github.com/rohitg00/ai-engineering-from-scratch) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar rohitg00/ai-engineering-from-scratch?
Nuestro agente de seguridad ha analizado rohitg00/ai-engineering-from-scratch y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene rohitg00/ai-engineering-from-scratch?
rohitg00/ai-engineering-from-scratch es mantenido por rohitg00. La última actividad registrada en GitHub es del 2026-10-23, con 73 issues abiertos.
¿Hay alternativas a ai-engineering-from-scratch?
Sí. En ClaudeWave puedes explorar subagents similares en /categories/agents, ordenados por popularidad o actividad reciente.
¿Mantienes este repo? Muestra su Trust Score en tu README
La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.
[](https://claudewave.com/en/repo/rohitg00-ai-engineering-from-scratch)<a href="https://claudewave.com/en/repo/rohitg00-ai-engineering-from-scratch"><img src="https://claudewave.com/api/badge/rohitg00-ai-engineering-from-scratch" alt="ClaudeWave Trust Score for rohitg00/ai-engineering-from-scratch" width="320" height="64"></a>