GenAI Systems Lab Open interactive version →
AI Engineering

Andrej Karpathy: Building Intuition Through Code

Karpathy's approach: build tiny versions of everything from scratch. Why his pedagogy produces the best AI intuition, and which of his resources are non-negotiable.

Who He Is

Andrej Karpathy co-founded OpenAI, led Tesla Autopilot, and in May 2026 joined Anthropic's pre-training team. He coined 'vibe coding' — a term Collins English Dictionary named Word of the Year 2025. But his most durable contribution is pedagogical: a body of work that teaches AI through code you build yourself.

Core Thesis

Build the simplest possible version of everything from scratch. If you can't implement it, you don't understand it.

Key Themes

Essential Reading / Watching

ResourceFormatWhy It Matters
Neural Networks: Zero to HeroYouTube seriesBuild GPT-2 from scratch in Python. The best practical transformer education that exists.
nanogptGitHub repo~300 lines of GPT-2. Read it before reading any framework code.
minbpeGitHub repoBPE tokenizer from scratch. You'll never be confused about tokenization again.
The spelled-out intro to transformersBlog + codeAttention mechanism explained with real matrix math before any abstraction.
Vibe Coding (karpathy.ai)Blog postThe original coinage and thesis: natural language as the new programming interface.

What to Question

Karpathy's pedagogy optimises for intuition over breadth. The 'build from scratch' method is powerful for fundamentals but doesn't address systems thinking — how components interact in production, how failures cascade, how to evaluate at scale. His work is the foundation, not the ceiling.

Try it interactively

GenAI Systems Lab is a free platform for AI engineers — configure real failure modes, break things, and build the judgment that gets you hired.

Open GenAI Systems Lab →