Topic guide · 17 recordings · 21 verbatim quotes

Andrej Karpathy on Software 2.0

Karpathy sees Software 2.0 as a new programming paradigm where behavior is learned by optimization from data, with neural network weights replacing much of hand-written code.

In short
  • Software 2.0 is software written in neural network weights instead of explicit code.
  • In this paradigm, optimization learns the program while humans define the objective, data, and search space.
  • The dataset becomes a major programming medium, so data curation and labeling shape system behavior.
  • Karpathy thinks the trend is to hand less design to humans and more to learning systems, especially on perception-heavy problems.
  • Applying Software 2.0 well requires new tooling and a strong data engine, not just better models.
Watch: Karpathy on software 2.0The key moments, back to back, in his own words
5 moments · 4 min
1 / 5
“…the labelers are kind of the programmers…”
Full Stack Deep Learning talk, 2018 · 4:21

Software 2.0 means the program is learned, not hand-written

Karpathy’s core claim is that a meaningful share of software is no longer best expressed as explicit logic written by engineers. In Software 1.0, programmers write instructions directly in languages like C++; in Software 2.0, the behavior is encoded in the weights of a neural network after training.123

What changes is not just the tool but the act of programming itself. Instead of specifying every rule, engineers specify examples, objectives, and a training setup, and then optimization discovers the implementation. Karpathy describes this as a new computing paradigm that changed how he thought about AI and programming.46

This is why he presents Software 2.0 as a distinct category, not just a faster way to write old-style software. He explicitly names it as its own paradigm and treats it as a shift in how computers are programmed.7

Why neural nets win: they absorb complexity humans struggle to code

Karpathy’s argument is strongest on problems like perception, where writing rules by hand becomes brittle or impossible. His view is that human ingenuity often loses to learned systems when the task depends on subtle patterns spread across large amounts of data. In those settings, the better strategy is often to design less and let optimization do more.8

He describes a broad historical movement in machine learning toward giving up more handcrafted structure: first hand-designed features gave way to learned weights, then more of the architecture and search process started shifting toward optimization as well. The practical lesson is that performance often improves when engineers stop hard-coding intermediate assumptions and train larger learned systems end to end.89

This is also why deep learning appealed to him early on. He saw it not as one more AI technique, but as the first approach that felt like it could write useful programs from examples, sometimes better than people could by direct coding.

Data becomes the new programming medium

Karpathy’s most practical insight is that in Software 2.0, the dataset is not just fuel for training. It becomes part of the program itself. If model behavior comes from optimization over examples, then changing the data changes the software.112

That is why he says labelers are effectively programmers. They are not writing C++, but they are determining what the system learns through collection, curation, labeling, and relabeling. The center of gravity shifts from algorithm design alone to the quality and structure of the data engine around the model.1211

This creates a very different engineering workflow. Instead of mostly editing source files, teams must find failures in deployment, gather better examples, improve labels, retrain, and redeploy. Karpathy’s framing makes Software 2.0 feel less like model tinkering and more like operating a continuous feedback system.1213

Andrej Karpathy, Full Stack Deep Learning talk, 2018
“…the labelers are kind of the programmers…”
Full Stack Deep Learning talk, 2018 · full transcript →

Tesla Autopilot is his concrete example of Software 2.0 in production

Karpathy repeatedly uses Tesla Autopilot to show what Software 2.0 looks like when it leaves the lab. He describes the system as being built on computer vision and machine learning from raw video, with large neural networks handling many perception tasks that would be difficult to maintain as hand-written rules.1415

This matters because autonomy is full of edge cases and ambiguous real-world situations. A product like Autopilot cannot be built well by exhaustively coding every condition, so more of the stack gets absorbed into learned systems over time. In his description, the direction of travel is clear: end-to-end neural networks steadily replace older heuristic components.39

He also emphasizes that this is heavy engineering, not just a model demo. Training and iterating on many networks is expensive and operationally demanding, which is one reason Software 2.0 needs specialized infrastructure, workflows, and tooling around it.1617

Andrej Karpathy, conference talk, 2018
“…everything that we built for the autopilot is basically based on computer vision, machine learning, on the raw video streams…”
conference talk, 2018 · full transcript →

Software 2.0 changes what engineering teams must build

If the program is learned, then traditional developer tools are no longer enough. Karpathy argues that this is a whole new way of building software and that the ecosystem still lacks mature tools for writing, inspecting, versioning, and improving learned code.1317

One immediate challenge is that even basic software concepts become less settled. He points to questions like how to think about identifiers for datasets, which hints at a deeper issue: teams need new abstractions for data, labels, training runs, and evaluation, not only files and functions.1813

The bigger point is that successful Software 2.0 organizations are not merely model users. They build the surrounding system: data collection, labeling pipelines, training infrastructure, evaluation loops, and deployment processes that let optimization keep rewriting the software safely.1316

Andrej Karpathy, NIPS conference talk, 2017
“…this is a whole new way of designing software and we need tooling for it.”
NIPS conference talk, 2017 · full transcript →

Software 2.0 is part of a larger progression to Software 3.0

Karpathy now places Software 2.0 inside a broader arc. First came Software 1.0, where programmers wrote code directly; then Software 2.0, where neural networks learned code from data; and now Software 3.0, where people increasingly program large language models using natural language prompts.151920

That newer layer does not cancel Software 2.0. It builds on the same idea that the interface to computing is changing away from explicit low-level instruction writing. Prompts become programs in English, while learned weights remain the substrate underneath.19

For someone trying to apply Karpathy’s view today, the takeaway is to think in layers. Use classic code where logic is crisp, use learned systems where pattern recognition dominates, and expect the human interface to those learned systems to become increasingly high level and language based.1320

Karpathy on software 2.0, in his own words

“…code—that code is not written in C++. It's written in weights of a neural network.”
Full Stack Deep Learning talk, 2018
“The code is now written in the weights of a neural network.”
Conference keynote, 2019
“…this is a whole new way of designing software and we need tooling for it.”
NIPS conference talk, 2017

Where to watch

  1. Andrej Karpathy on Software 2.0: Data Is the Code2017 · 18 min · full transcriptThe clearest compact statement of Software 2.0 as learned code, with optimization and datasets replacing explicit programming.
  2. Andrej Karpathy on Software 2.0: Data Is the New Code2018 · 55 min · full transcriptBest for understanding the operational reality: data engines, labelers as programmers, and how deployment changes the workflow.
  3. Andrej Karpathy on Software 2.0: Scaling Autonomy at Tesla2019 · 33 min · full transcriptShows how Software 2.0 scales in autonomy and why more of the stack moves from heuristics into neural networks.
  4. Andrej Karpathy on Software 2.0 to 3.0: AI Changes Everything2024 · 121 min · full transcriptPlaces Software 2.0 in the bigger progression from hand-written code to neural nets to prompt-based systems.
  5. Andrej Karpathy on AI Engineering: Programming Is Changing Fast2024 · 69 min · full transcriptUseful if you want the programming-language view of the shift and how it connects to current AI engineering practice.
  6. Andrej Karpathy on PyTorch at Tesla2018 · 11 min · full transcriptGood for seeing a concrete production stack where computer vision and machine learning on raw video drive the product.

Questions people ask

Go deeper · free courseThe Andrej Karpathy Course13 chapters on everything Karpathy taught, with a certificate at the end.Start learning →

Sources

Every quote above, word for word from the transcripts. Numbers match the text.

1
“Software 1.0 is things like C++.”
Conference keynote, 2019
2
“…code—that code is not written in C++. It's written in weights of a neural network.”
Full Stack Deep Learning talk, 2018
3
“The code is now written in the weights of a neural network.”
Conference keynote, 2019
4
“The optimization really writes the code; we only identify a region where we should search.”
NIPS conference talk, 2017
6
“I thought that was just a very new kind of way of thinking about programming…”
Heroes of Deep Learning interview, 2019
7
“I call it software 2.0.”
Stanford lecture, 2024
8
“…design less, and leave more to the optimization.”
NIPS conference talk, 2017
9
“Let's forget about all that stuff that humans have designed with all their ingenuity, and let's try to just have a single kind of blob of compute…”
Conference keynote, 2019
11
“…your data set is really the code.”
NIPS conference talk, 2017
12
“…the labelers are kind of the programmers…”
Full Stack Deep Learning talk, 2018
13
“…this is a whole new way of designing software and we need tooling for it.”
NIPS conference talk, 2017
14
“…everything that we built for the autopilot is basically based on computer vision, machine learning, on the raw video streams…”
conference talk, 2018
15
“…software 2.0 are basically neural networks…”
Conference keynote, March 2024
16
“But all in all, if you're trying to train all of the neural networks for the autopilot, it is actually a fairly expensive task. In particular, today we would train 48 different networks that make 1,000 different predictions—just if you count the number of output tensors—and it takes 70,000 GPU hours to train to compile the autopilot. It leaves the neural network stack. So if you had a single node with 8 GPUs, you would be training for a year. So it's a lot of networks and a lot of predictions, and a lot of them must work and none of them can regress ever. And then you're not just training this once—you have to iterate on this.”
conference talk, 2018answer page →
17
“…there's really nothing that helps you write the 2.0 code…”
Conference keynote, 2019
18
“What are the IDs for data sets?”
NIPS conference talk, 2017
19
“…we're now programming computers in English…”
Conference keynote, March 2024
20
“The hottest new programming language is English.”
Stanford lecture, 2024

How this guide was made: drafted with AI from the full transcripts of the recordings cited, then checked: every quotation must match a transcript word for word and be the speaker's own words, and an independent review gates accuracy. Methodology and corrections.

All 17 recordings of Andrej Karpathy on Software 2.0

Andrej Karpathy on GPT From Scratch: How ChatGPT Works1:56:20

Andrej Karpathy on GPT From Scratch: How ChatGPT Works

2022 · 8.3M views

Karpathy builds a GPT-style Transformer from first principles, explains tokenization, attention, and how ChatGPT differs from pretraining and fine-tuning, in a 2022 keynote.

Andrej Karpathy on Neural Networks: Building Micrograd2:25:52

Andrej Karpathy on Neural Networks: Building Micrograd

2021 · 4.5M views

Karpathy builds micrograd from scratch to explain neural network training, backpropagation, derivatives, and debugging in an educational talk in 2021.

Andrej Karpathy on Large Language Models: from pretraining to agents59:48

Andrej Karpathy on Large Language Models: from pretraining to agents

2024 · Interview · 4.4M views

Karpathy explains how LLMs work, how they’re trained and fine-tuned, and where tools, multimodality, and agents are headed in 2024.

Andrej Karpathy on Software 2.0 to 3.0: AI Changes Everything2:01:04

Andrej Karpathy on Software 2.0 to 3.0: AI Changes Everything

2024 · 2.8M views

Karpathy argues software is shifting from code to neural nets to prompts, and explains what that means for LLM apps and AI tooling.

Andrej Karpathy on Character-Level Language Modeling: Building makemore1:57:45

Andrej Karpathy on Character-Level Language Modeling: Building makemore

2020 · Interview · 1.3M views

Karpathy builds a character-level language model from scratch, from bigrams and sampling to loss, smoothing, and a neural-net version, in makemore (2020).

Andrej Karpathy on Tokenization: Building GPT's Tokenizer2:13:35

Andrej Karpathy on Tokenization: Building GPT's Tokenizer

2019 · 1.3M views

Karpathy explains how LLM tokenizers work, why they cause odd behavior, and how GPT-2/GPT-4 tokenization differs in a tutorial presentation.

Andrej Karpathy on GPT-2 Reproduction: Rebuilding 124M From Scratch4:01:26

Andrej Karpathy on GPT-2 Reproduction: Rebuilding 124M From Scratch

2022 · 1.2M views

Karpathy rebuilds GPT-2 124M from scratch, explaining the architecture, training setup, and speedups like Torch Compile and Flash Attention at an OpenAI talk in 2022.

Andrej Karpathy on Code Agents: The Loopy Era of AI1:06:32

Andrej Karpathy on Code Agents: The Loopy Era of AI

2023 · 1.1M views

Karpathy explains how coding, research, and home software are becoming agent-driven, from auto research to Dobby-style automation, on No Priors in 2023.

Andrej Karpathy on MLPs for Language Modeling: makemore1:15:40

Andrej Karpathy on MLPs for Language Modeling: makemore

2020 · 617K views

Karpathy builds makemore with an MLP, showing embeddings, cross-entropy, minibatches, and sampling from a character model.

Andrej Karpathy on PyTorch at Tesla11:11

Andrej Karpathy on PyTorch at Tesla

2018 · 559K views

Karpathy explains how Tesla uses PyTorch to train autonomy networks, manage data pipelines, and deploy models to the fleet at an industry talk in 2018.

Andrej Karpathy on Backpropagation: Computational Graphs and Gradients1:19:39

Andrej Karpathy on Backpropagation: Computational Graphs and Gradients

2016 · 333K views

Karpathy explains backpropagation through computational graphs, chain rule, Jacobians, and neural net layers in CS231n Lecture 4 from 2016.

Andrej Karpathy on AI and Robotics: Models, Agents, and Education44:17

Andrej Karpathy on AI and Robotics: Models, Agents, and Education

2024 · Interview · 244K views

Karpathy discusses self-driving, humanoid robots, LLMs, synthetic data, and education in a No Priors interview from Feb. 2024.

Andrej Karpathy on Software 2.0: Data Is the Code17:55

Andrej Karpathy on Software 2.0: Data Is the Code

2017 · 73K views

Karpathy explains Software 2.0 and how Tesla uses data, labeling, and optimization to build self-driving systems at NIPS, 2017.

Andrej Karpathy on AI Engineering: Programming Is Changing Fast1:08:31

Andrej Karpathy on AI Engineering: Programming Is Changing Fast

2024 · 6K views

Karpathy explains software 1.0, 2.0, and 3.0, prompt engineering, and why LLMs are changing programming, in a Stanford lecture from 2024.

Andrej Karpathy on Software 2.0: Data Is the New Code54:41

Andrej Karpathy on Software 2.0: Data Is the New Code

2018 · 5K views

Karpathy argues Tesla’s autonomy stack is “Software 2.0,” where data and labeling define behavior as much as code, at Full Stack Deep Learning in 2018.

Andrej Karpathy on Software 2.0: Scaling Autonomy at Tesla32:34

Andrej Karpathy on Software 2.0: Scaling Autonomy at Tesla

2019 · 586 views

Karpathy explains Software 2.0, why data and compute replace hand-coded rules, and how Tesla builds autonomy at scale in this 2019 keynote.

Andrej Karpathy on Deep Learning: From ImageNet to AGI15:11

Andrej Karpathy on Deep Learning: From ImageNet to AGI

2019 · 202K views

Karpathy explains why deep learning felt like a new programming paradigm, how he benchmarked human ImageNet performance, and what he learned about AGI.

Search every transcript
Open the full search page →