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.
- 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.

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

“…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

“…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

“…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.”
“The code is now written in the weights of a neural network.”
“…this is a whole new way of designing software and we need tooling for it.”
Where to watch
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.
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.
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.
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.
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.
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
- How expensive is it to train Andrej Karpathy's Autopilot networks at Tesla?
- How small did Andrej Karpathy think powerful AI models could become?
- What did Andrej Karpathy say about Tesla as a robotics company?
- What did Andrej Karpathy say about software 3.0 and prompts?
- What did Andrej Karpathy say about why deep learning felt more compelling than traditional AI?
- Why did Andrej Karpathy leave OpenAI to work on education?
Sources
Every quote above, word for word from the transcripts. Numbers match the text.
“Software 1.0 is things like C++.”
“…code—that code is not written in C++. It's written in weights of a neural network.”
“The code is now written in the weights of a neural network.”
“The optimization really writes the code; we only identify a region where we should search.”
“I thought that was just a very new kind of way of thinking about programming…”
“I call it software 2.0.”
“…design less, and leave more to the optimization.”
“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…”
“…your data set is really the code.”
“…the labelers are kind of the programmers…”
“…this is a whole new way of designing software and we need tooling for it.”
“…everything that we built for the autopilot is basically based on computer vision, machine learning, on the raw video streams…”
“…software 2.0 are basically neural networks…”
“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.”
“…there's really nothing that helps you write the 2.0 code…”
“What are the IDs for data sets?”
“…we're now programming computers in English…”
“The hottest new programming language is English.”
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.










