Chapter 8 of 13 · 18 min

Software 3.0

Prompts become programs for a new computer.

Goal of this chapterAfter this chapter you will understand Karpathy’s three software eras: handwritten code, learned neural programs, and prompt-programmed LLM systems.
Watch this chapterAndrej Karpathy's key moments on software 3.0, back to back
5 moments · 4 min
1 / 5
“I call it software 2.0.”
Stanford lecture, 2024 · 4:21

The lesson

Karpathy describes three software eras with different ways of specifying behavior. In software 1.0, humans write explicit code. In software 2.0, behavior is represented by neural networks learned from data and optimization, so the programmer defines the setup and training signal more than the final logic itself123.

The key idea in software 2.0 is that for some hard problems, especially perception-like tasks, it works better to learn the program than to hand-author all the rules. Karpathy’s framing is that the dataset becomes a central programming artifact, because changing examples and labels changes what the system does45. That is why he pushes toward designing less by hand and leaving more to optimization when the problem has a measurable objective6.

Software 3.0 adds another layer: large language models can be programmed directly through prompts. Karpathy’s claim is not just that prompts are a handy interface, but that they function like programs for a new kind of computer, with English serving as the programming language in many cases789. This changes who can program and how quickly behavior can be shaped, because instruction, context, and examples can be written directly instead of compiled into code or weights.

But software 3.0 is not only about typing a prompt into a chat box. In the 2024 talks, Karpathy emphasizes that useful LLM systems need surrounding structure: context management, orchestration, and interfaces where humans supervise and correct outputs. The result is a stack where software 1.0, 2.0, and 3.0 often coexist: traditional code handles deterministic parts, learned models handle pattern recognition, and prompts steer general-purpose language models into tasks.

This shift also changes the engineer’s role. In Karpathy’s agentic coding discussion, he says his work is moving away from typing code toward delegating, reviewing, and managing multiple agents, which means the scarce skill becomes choosing goals, supervising outputs, and deciding what still requires human judgment1011. So the chapter’s big lesson is that each software era moves more implementation work from humans to machines, while raising the importance of problem framing, evaluation, and oversight.

5 principles from Andrej Karpathy

1

Treat the software era as part of the problem definition

Before building, ask whether the task is best expressed as explicit rules, learned behavior from data, or instructions to an LLM. Many real systems mix all three, so choosing the right layer can simplify the solution dramatically.

“I call it software 2.0.”
Stanford lecture, 2024
2

If the behavior is learned, improve the data not just the model

In software 2.0, changing the dataset changes the program. That means examples, labels, and curation are not support work around the model; they are a primary way of programming the system.

“…your data set is really the code.”
NIPS conference talk, 2017
3

Use prompts as programs, not as casual requests

A prompt can specify task, constraints, context, and examples, so it should be written deliberately. Better prompt design can materially change what an LLM does, just as changing code changes a traditional program.

“The hottest new programming language is English.”
Stanford lecture, 2024
4

Design less when optimization can search better than you

For difficult domains, handcrafting too much can be worse than setting up a good search space, objective, and data pipeline. The engineer’s leverage comes from shaping the system around optimization, not from writing every detail directly.

“The optimization really writes the code; we only identify a region where we should search.”
NIPS conference talk, 2017
5

Shift your work toward oversight where agents are strong

As coding agents improve, your advantage moves from manual production to goal-setting, review, and exception handling. Focus on the parts agents still miss, and let them handle repeatable execution where possible.

“The name of the game is how can you get more agents running for longer periods of time without your involvement doing stuff on your behalf?”
No Priors interview, 2023

In his own words

The quotes behind the lesson, word for word from the transcripts. Numbers match the lesson above.

1
“The optimization really writes the code; we only identify a region where we should search.”
NIPS conference talk, 2017
2
“…software 2.0 are basically neural networks…”
Conference keynote, March 2024
3
“I call it software 2.0.”
Stanford lecture, 2024
4
“…your data set is really the code.”
NIPS conference talk, 2017
5
“…code—that code is not written in C++. It's written in weights of a neural network.”
Full Stack Deep Learning talk, 2018
6
“…design less, and leave more to the optimization.”
NIPS conference talk, 2017
7
“…we're now programming computers in English…”
Conference keynote, March 2024
8
“The hottest new programming language is English.”
Stanford lecture, 2024
9
“Okay, so software 3.0 is prompts, huh? And so I—I see this as quite new, unique. It's a new kind of a computer, and, uh, so in my mind it's, uh, worth giving it a new designation of software 3.0. And basically your prompts are now programs that program the LLM. I would argue that software 3.0 is actually…”
Conference keynote, March 2024answer page →
10
“The name of the game is how can you get more agents running for longer periods of time without your involvement doing stuff on your behalf?”
No Priors interview, 2023
11
“Yeah, I kind of feel like I was just in this perpetual I still am often in this state of AI psychosis just like all the time um because there was a huge unlock in what you can achieve as a person as an individual, right? Because you were bottlenecked by, you know, your typing speed and so on. But now with these agents it really, I would say in December is when it really just something flipped where I kind of went from 80/20 of like, you know, uh to like 20/80 of writing code by myself versus just delegating to agents. And I don't even think it's 20/80 by now. I think it's a lot more than that. I don't think I've typed like a line of code probably since December basically.”
No Priors interview, 2023answer page →

Reflect

  1. Pick a task you do regularly. Which parts are best handled as software 1.0 rules, software 2.0 learned behavior, and software 3.0 prompting?
  2. Think of a system you have built or used. If its failures come from bad examples or labels, how would you redesign your workflow to treat the dataset as code?
  3. Where in your work are you still spending time on tasks that an agent could likely do, leaving you less time for supervision, evaluation, or higher-level planning?

Check your understanding

1. What most clearly distinguishes software 2.0 from software 1.0 in Karpathy’s framing?
2. Why does Karpathy describe prompts as programs in software 3.0?
3. As coding agents improve, what does Karpathy suggest becomes more important for humans?

Go deeper

Search every transcript
Open the full search page →