EveryDev.ai
Sign inSubscribe
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • News
  • Podcasts
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
Create
    Home
    Tools

    2,508+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    • Arena
    Categories
    • Agents1666
    • Coding1214
    • Infrastructure542
    • Marketing451
    • Design437
    • Projects396
    • Research371
    • Analytics339
    • Testing233
    • MCP227
    • Data213
    • Security200
    • Integration170
    • Learning155
    • Communication148
    • Prompts144
    • Extensions137
    • Commerce125
    • Voice122
    • DevOps99
    • Web78
    • Finance21
    1. Home
    2. Tools
    3. AI Engineering from Scratch
    A

    AI Engineering from Scratch

    AI Courses
    Featured

    A free, open-source curriculum of 435 lessons across 20 phases that teaches AI engineering from raw math to autonomous agents, with every algorithm built from scratch before any framework is introduced.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT license. Clone, fork, and run on your own machine.

    Engagement

    Available On

    Linux
    Web
    API
    JetBrains
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI CoursesAgent FrameworksMCP Tools

    Alternatives

    AgentSwarmsLearn Claude CodeMachine Learning Zoomcamp
    Developer
    Rohit GhumareLondon, UKEst. 2026

    Listed May 2026

    About AI Engineering from Scratch

    AI Engineering from Scratch is a free, MIT-licensed curriculum hosted on GitHub by Rohit Ghumare and contributors. It spans 435 lessons across 20 phases and approximately 320 hours of study, covering everything from linear algebra to multi-agent swarms. Every lesson ships a reusable artifact — a prompt, a skill, an agent, or an MCP server — that learners can install directly into their AI coding tools.

    What It Is

    AI Engineering from Scratch is a structured, self-paced reference curriculum for learning how AI systems actually work, not just how to call their APIs. The curriculum is organized as a linear stack: math foundations at the bottom, capstone projects at the top. Four programming languages are used throughout — Python, TypeScript, Rust, and Julia — chosen per concept rather than per preference. The core design principle is a "Build It / Use It" split: every algorithm is implemented from raw math first, then the same thing is run through a production library (PyTorch, sklearn, etc.) so learners understand what the framework is doing under the hood.

    Curriculum Structure

    The 20 phases progress from environment setup through math, classical ML, deep learning, computer vision, NLP, speech, transformers, generative AI, reinforcement learning, LLMs from scratch, LLM engineering, multimodal AI, tools and protocols, agent engineering, autonomous systems, multi-agent swarms, infrastructure and production, ethics and alignment, and capstone projects. Each phase contains between 12 and 42 lessons. Notable phases include:

    • Phase 10 — LLMs from Scratch: builds a tokenizer, trains a mini GPT (124M), covers distributed training, RLHF, DPO, quantization, and architecture walkthroughs of models like DeepSeek-V3.
    • Phase 13 — Tools & Protocols: covers the Model Context Protocol (MCP) end-to-end, including building MCP servers and clients, transports, security (OAuth 2.1, tool poisoning), and the A2A protocol.
    • Phase 14 — Agent Engineering: 42 lessons covering the agent loop, memory systems (MemGPT, Mem0), planning, LangGraph, AutoGen, CrewAI, OpenAI Agents SDK, computer use, voice agents, observability, and a reusable Agent Workbench pack.
    • Phase 19 — Capstone Projects: 17 end-to-end shippable products estimated at 20–40 hours each, including a terminal-native coding agent, a multi-agent software engineering team, and a constitutional safety harness.

    Reusable Artifacts and Tooling

    Each lesson produces a concrete output stored under phases/<NN>/<lesson>/outputs/. The repository ships 378 skills and 99 prompts. These can be installed into Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads a SKILL.md or AGENTS.md directory using npx skills add rohitg00/ai-engineering-from-scratch or the included scripts/install_skills.py. The Phase 14 capstone also ships a scaffoldable Agent Workbench pack (scaffold_workbench.py) that wires up AGENTS.md, task boards, and init/verify/handoff scripts into any target repository. A build_catalog.py script generates a filesystem-derived catalog.json of the entire curriculum, and a GitHub Action enforces that the committed catalog stays in sync with the actual lesson files on every PR.

    Audience and Entry Points

    The curriculum is designed for learners at multiple levels. The README provides explicit entry-point guidance: those new to programming start at Phase 0 (~306 hours total); those who know Python but not ML start at Phase 1 (~270 hours); those who know deep learning and want LLMs and agents start at Phase 10 (~100 hours); senior engineers who only want agent engineering start at Phase 14 (~60 hours). A built-in /find-your-level skill runs a ten-question placement quiz and maps the learner to a starting phase with hour estimates.

    Current Status

    The project was created on 2026-03-18 and last pushed on 2026-05-26, indicating active development. The website reports all 430 lessons as finished across all 20 phases. The repository had accumulated over 20,000 GitHub stars and more than 3,400 forks as of the data collected. The curriculum is described as maintained on sponsorship alone, with a published sponsor tier structure in SPONSORS.md and current sponsors listed as CodeRabbit and iii.

    AI Engineering from Scratch - 1

    Community Discussions

    Be the first to start a conversation about AI Engineering from Scratch

    Share your experience with AI Engineering from Scratch, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Free

    Fully free and open source under the MIT license. Clone, fork, and run on your own machine.

    • 435 lessons across 20 phases
    • Full source code on GitHub
    • 378 agent skills and 99 prompt templates
    • Runnable code in Python, TypeScript, Rust, and Julia
    • Agent Workbench scaffold scripts

    Capabilities

    Key Features

    • 435 lessons across 20 phases covering math to autonomous agents
    • Build It / Use It lesson structure: raw math first, then production frameworks
    • Four programming languages: Python, TypeScript, Rust, Julia
    • Every lesson ships a reusable artifact: prompt, skill, agent, or MCP server
    • 378 installable agent skills and 99 prompt templates
    • npx skills add one-command skill installation for Claude, Cursor, Codex, and more
    • Built-in /find-your-level placement quiz skill
    • Built-in /check-understanding per-phase quiz skill
    • Scaffoldable Agent Workbench pack for any repository
    • build_catalog.py generates filesystem-derived curriculum catalog
    • GitHub Action enforces catalog freshness on every PR
    • lesson_run.py syntax-checks all Python code across the curriculum
    • audit_lessons.py invariant checker for contributors
    • 17 capstone projects (20–40 hours each)
    • Full MCP curriculum: servers, clients, transports, security, registries
    • Agent engineering phase covering LangGraph, AutoGen, CrewAI, OpenAI Agents SDK
    • Ethics, safety, and alignment phase with red-teaming and regulatory frameworks
    • Free, open source, MIT licensed, runs on your own laptop

    Integrations

    Claude
    Cursor
    Codex
    OpenClaw
    Hermes
    PyTorch
    JAX
    LangGraph
    AutoGen
    CrewAI
    OpenAI Agents SDK
    Langfuse
    Phoenix
    Opik
    vLLM
    Docker
    Jupyter Notebooks
    GitHub Actions
    skills.sh
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate AI Engineering from Scratch and help others make informed decisions.

    Developer

    Rohit Ghumare

    Rohit Ghumare builds and maintains AI Engineering from Scratch, a free, MIT-licensed curriculum of 435 lessons covering the full stack from math foundations to autonomous agent systems. The project runs on GitHub and is maintained by Rohit and an open-source contributor community. It ships reusable agent skills, MCP servers, and prompt templates that integrate directly into tools like Claude, Cursor, and Codex.

    Founded 2026
    London, UK
    1 employees

    Used by

    CodeRabbit (Partner/Sponsor)
    iii (Partner/Sponsor)
    Read more about Rohit Ghumare
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    AgentSwarms icon

    AgentSwarms

    An interactive, education-first platform for learning Agentic AI by building real agents, swarms, and tool-use patterns through guided lessons and a live playground.

    Learn Claude Code icon

    Learn Claude Code

    An open-source, 12-session educational repository that teaches harness engineering for real AI agents by reverse-engineering Claude Code's architecture from scratch.

    Machine Learning Zoomcamp icon

    Machine Learning Zoomcamp

    A free online bootcamp covering machine learning engineering with practical projects, from regression to deep learning and deployment.

    Browse all tools

    Related Topics

    AI Courses

    Structured courses, workshops, and comprehensive training programs for AI, machine learning, and development.

    61 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    350 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    56 tools
    Browse all topics
    Back to all tools
    Discussions