Yellow marks are automatic key passages. They aren’t personal saved highlights. Select a timestamp to follow along with the video.
Software is entering a new era shaped by AI, and its change has been rapid, with three paradigms now coexisting: hand-written code (Software 1.0), neural network weights (Software 2.0), and English prompts programming LLMs (Software 3.0). LLMs are best understood as a new kind of computer and operating system, sold like a utility, with centralized compute, fallible yet superhuman "people spirits," and an emerging ecosystem of partially autonomous apps built around auditable GUIs and adjustable autonomy sliders. The talk ends by urging builders to make documentation and products legible to agents and to move the autonomy slider step by step, since this is a decade of building.
Software in the Era of AI
Software is entering a new era shaped by AI, and the audience includes many students, from bachelor's and master's students to PhD candidates, who are about to join the industry. This is an unusually interesting time to enter the field. The fundamental reason is that software is changing again. Karpathy has given a version of this talk before, but software keeps changing, so there is a large amount of new material to cover. Roughly speaking, software did not change at a fundamental level for about 70 years. In the last few years, it has changed twice, and quite rapidly. As a result, there is an enormous amount of software to write and rewrite.
A Map of Software
Consider software as a whole. A tool called Map of GitHub visualizes it and shows essentially all the software that has been written. Each piece is a set of instructions for a computer to carry out tasks in the digital space. Zooming in reveals individual repositories and the code they contain.
Software 2.0 and Neural Network Weights
A few years ago, Karpathy observed that software was changing and that a new type had emerged, which he called Software 2.0. In Software 1.0, people write code that instructs the computer directly. In Software 2.0, the program consists of the weights of a neural network. Developers do not write this code directly. Instead, they curate datasets and run an optimizer to create the network's parameters. At the time, neural networks were often seen as just another classifier, like a decision tree, so this new framing was considered more fitting. Today, Hugging Face serves as the GitHub equivalent for Software 2.0, and Model Atlas lets people visualize the code written there. The large central shape in that visualization shows the parameters of Flux, an image generator. Whenever someone tunes a model on top of Flux, it effectively creates a git commit in this space and produces a different image generator.
Neural Networks as Programmable Computers
Software 1.0 is computer code that programs a computer, while Software 2.0 is the weights that program neural networks. AlexNet, an image recognizer, is an example of a neural network. Until recently, the neural networks people knew were fixed-function computers that mapped inputs, such as images, to categories. Karpathy considers the key change to be that large language models made neural networks programmable, which is a fundamental shift. That shift justifies a new designation, Software 3.0. In this paradigm, prompts act as programs that program the LLM. Remarkably, these prompts are written in English, which makes English an unusual and very interesting programming language.
Three Ways to Approach the Same Task
Consider sentiment classification. One could write some Python to perform it, train a neural network, or prompt a large language model. A few-shot prompt can be changed to program the computer in a slightly different way. Software 1.0, 2.0, and 3.0 therefore coexist. GitHub increasingly contains code interspersed with English, so a growing category of new code is emerging. This is a new programming paradigm, and it is notable that its native language is English. When this idea struck Karpathy a few years ago, he tweeted about it. That tweet remains his pinned post, and it makes the point that people are now programming computers in English.
Autopilot and Software 2.0 Eating the Stack
At Tesla, the team worked on Autopilot to get the car to drive. A diagram showed inputs flowing through a software stack to produce steering and acceleration. At the time, Karpathy observed that Autopilot contained a large amount of C++ code, which was Software 1.0, along with neural networks doing image recognition. As Autopilot improved, the neural networks grew in capability and size, while C++ code was deleted and many capabilities migrated from 1.0 to 2.0. For example, stitching together information across images from different cameras and across time was handled by a neural network, which made it possible to delete a lot of code. In that sense, the Software 2.0 stack literally ate through the Autopilot software stack. In Karpathy's view, the same thing is happening again, as a new kind of software moves through the stack.
Fluency Across Three Paradigms
Anyone entering the industry should be fluent in all three paradigms, because each has its own strengths and weaknesses. Some functionality may suit Software 1.0, some 2.0, and some 3.0. Should a neural network be trained, should an LLM simply be prompted, or should the logic be explicit code? Developers have to make these decisions and may need to move fluidly between paradigms.
LLMs as Utilities
The talk turns to LLMs and how to think about this new computer and its ecosystem. Andrew once said that AI is the new electricity. In Karpathy's view, that captures something important: LLMs already have properties of utilities. LLM labs such as OpenAI, Gemini, and Anthropic spend capital expenditure to train models, which is similar to building out a grid. Operating expenses then serve that intelligence to everyone through APIs, usually with metered access billed per million tokens. People expect utility-like qualities from these APIs, including low latency, high uptime, and consistent quality.
Switching Providers and Intelligence Brownouts
In electricity, a transfer switch lets you move your supply between the grid, solar, a battery, or a generator. With LLMs, a service such as OpenRouter makes it easy to switch between different models. Because LLMs are software, they do not compete for physical space, so it is fine to have several providers and switch between them. Recently, many leading LLMs went down, and people were stuck and unable to work. Such an outage is effectively an intelligence brownout, similar to unreliable voltage in a grid. The planet becomes dumber as reliance on these models grows, and that dependence is already dramatic and will likely keep growing.
LLMs Also Resemble Fabs
LLMs also have some properties of fabs. The capital expenditure required to build an LLM is very large. It is far more than building a power station, since the investment is huge and the technology tree is advancing rapidly. The result is deep technology trees, with research and development secrets centralizing inside the LLM labs. The analogy is imperfect, because software is less defensible given how malleable it is. Other analogies also fit. A 4-nanometer process node might resemble a cluster with a certain maximum FLOPS. Using NVIDIA GPUs while doing only software resembles the fabless model. Building your own hardware and training on TPUs, as Google would, resembles the Intel model of owning your fab.
LLMs as Operating Systems
The most fitting analogy may be operating systems. LLMs are not simple commodities like electricity or water coming out of a tap. They are increasingly complex software ecosystems. That ecosystem is taking shape in a similar way to operating systems, with a few closed-source providers, such as Windows or macOS, and an open-source alternative, such as Linux. For LLMs, there are a few competing closed providers, and the Llama ecosystem may currently be a close approximation of something that could grow into a Linux-like equivalent. This is still very early, since current LLMs are simple. They are becoming much more complicated, though, because the picture now includes tool use and multimodality.
The LLM as a New Kind of Computer
When Karpathy worked through this realization, he sketched it out, and it seemed the LLM was a new kind of operating system. The LLM is a new kind of computer that works like a CPU. The context window works like memory. The LLM orchestrates memory and compute for problem solving using these capabilities. Viewed this way, it looks very much like an operating system.
Apps Across Different Models
Other analogies also hold. A developer can download VS Code and run it on Windows, Linux, or macOS in the same way that an LLM app such as Cursor can run on GPT, Claude, or Gemini models. The choice is simply a dropdown. It's just a drop down. So it's kind
LLMs as Cloud-Based Time-Sharing
Compute is still very expensive for this new kind of computer, which forces LLMs to be centralized in the cloud. Most people access them as clients over a network, and none of us gets full utilization of these machines. As a result, it makes sense to use time-sharing, where each user is one slot in a batch while the cloud computer runs. Computers of the 1960s worked the same way: operating systems lived in the cloud, everything was streamed around, and work was batched. The personal computing revolution has not happened yet, because it is not economical.
Early Signs of Personal Computing
Some people are trying anyway, and Mac minis turn out to be a good fit for some LLM workloads. For batch-one inference, the workload is almost entirely memory-bound, so this setup works. These may be early indications of personal computing, but it has not really arrived, and it is unclear what it will look like. Some readers may get the chance to invent what it becomes and how it should work. Talking to ChatGPT or another LLM directly in text also feels like talking to an operating system through a terminal. It is text, and it is direct access to the operating system.
The Missing General Interface
A general graphical interface for LLMs has not really been invented yet. Should ChatGPT have a GUI that is different from text bubbles? Some of the apps discussed later have GUIs, but no GUI spans all the tasks. LLMs also differ from operating systems and early computing in some unique ways. One property stands out as especially different this time: LLMs flip the usual direction of technology diffusion.
Reversed Technology Diffusion
New transformative technologies such as electricity, cryptography, computing, flight, the internet, and GPS have typically reached governments and corporations first, because they are new and expensive, and only later spread to consumers. LLMs run the other way. Early computers were mostly about ballistics and military use, but LLMs are mostly used for everyday tasks, such as figuring out how to boil an egg. This is certainly true of much personal use. It is fascinating that a new, almost magical computer is helping someone boil an egg rather than helping governments with exotic military ballistics or special technology. Governments and corporations are lagging behind everyday adoption. This backwards pattern shapes how we might want to use the technology and where the first apps appear.
A Summary So Far
So far, LLMs are best described as complicated operating systems. They resemble computing around the 1960s, and we are effectively redoing computing from the start. They are currently available through time-sharing, delivered like a utility. What is new and unprecedented is that they are not held by a few governments and corporations. They are in the hands of all of us, because we each have a computer and the software arrives as a download. ChatGPT was effectively beamed down to billions of computers almost instantly, overnight, which is remarkable. It is now our time to enter the industry and program these computers. This is crazy, and it is quite remarkable.
LLMs as People Spirits
Before programming LLMs, it helps to spend some time thinking about what these things are, especially their psychology. One useful way to think about LLMs is as people spirits: stochastic simulations of people.
How the Simulator Works and Its Memory
At the level of tokens, the simulator is an autoregressive transformer, which is a neural network. It generates text chunk by chunk, with an almost equal amount of compute spent on every chunk. The simulator is made of weights that are fit to the large body of text on the internet. Because it is trained on humans, it develops an emergent psychology that is humanlike. The first thing to notice is its encyclopedic knowledge and memory. LLMs can remember far more than any single individual human, because they have read so many things.
The Rain Man Analogy
The film Rain Man is worth watching for this comparison. Dustin Hoffman's character is an autistic savant with almost perfect memory. He can read a phone book and remember all the names and phone numbers. LLMs seem similar in this way: they can easily remember SHA hashes and many other kinds of things. They have superpowers in some respects.
Cognitive Deficits and Jagged Intelligence
LLMs also have what can be called cognitive deficits. They hallucinate quite a bit, make things up, and lack a good internal model of self-knowledge. This has gotten better but is not perfect. Their intelligence is jagged. They can be superhuman in some problem-solving domains, yet they make mistakes that almost no human would make. Famous examples include insisting that 9.11 is greater than 9.9 or that there are two Rs in strawberry. These rough edges can be tripped over, which is another unusual feature.
Anterograde Amnesia and Working Memory
LLMs also suffer from a kind of anterograde amnesia. Consider a coworker who joins an organization. Over time, they learn the organization and gain a huge amount of context. They go home, sleep, consolidate knowledge, and develop expertise. LLMs do not natively do this, and it has not really been solved in LLM research and development. So context windows are really like working memory, and you have to program that working memory quite directly, because LLMs do not get smarter by default. Many people get tripped up by analogies in this way.
Memento and 50 First Dates
In popular culture, the films Memento and 50 First Dates illustrate the problem. In both, the protagonists' weights are fixed, and their context windows are wiped every single morning. Going to work or maintaining relationships becomes very problematic under those conditions, and for LLMs this happens all the time.
Security Limitations
Security is another area of limitation. LLMs are quite gullible, susceptible to prompt injection risks, and they might leak your data, among many other security considerations. In short, you have to think through a superhuman thing that has a set of cognitive deficits and issues, all at once. These systems are extremely useful, so the question becomes how to program them, how to work around their deficits, and how to enjoy their superhuman powers.
Opportunities and Partial Autonomy Apps
The focus now shifts to opportunities: how these models can be used and what the biggest opportunities are. This is not a comprehensive list, just some interesting examples. The first is what can be called partial autonomy apps. Take coding as an example. You can go directly to ChatGPT and start copy-pasting code, bug reports, and other material back and forth. But why go directly to the operating system when a dedicated app makes much more sense? Many people use Cursor, and it is a much better tool than going straight to ChatGPT. Cursor is a good early example of an LLM app with properties that are useful across all LLM apps.
Shared Properties of LLM Apps
Cursor keeps a traditional interface that lets a human do all the work manually, as before. On top of that, it adds an LLM integration that lets the user work in bigger chunks. Some properties of LLM apps are shared and useful to point out. First, the LLMs handle much of the context management. Second, the app orchestrates multiple calls to LLMs. In Cursor, for example, embedding models index all the files, chat models handle conversation, and other models apply diffs to the code. All of this is orchestrated for the user.
Application-Specific GUIs
A property that is often underappreciated is the importance of application-specific GUIs. People do not want to talk to the operating system purely in text, because text is hard to read, interpret, and understand. Some actions also should not be taken natively in text. A diff shown as red and green changes makes it easy to see what is being added and subtracted. Accepting it with a keystroke, or rejecting it, is much easier than typing instructions. A GUI allows a human to audit the work of fallible systems and to go faster. This point comes back later.
The Autonomy Slider
Cursor also offers what can be called an autonomy slider. With tab completion, the user is mostly in charge. Selecting a chunk of code and pressing Command K changes just that chunk, and Command L changes the entire file. Command I lets the agent run on the whole repo, which is the fully autonomous, agentic version. The user is in charge of the slider and can tune how much autonomy to hand over based on the complexity of the task at hand.
Perplexity and Levels of Autonomy
Perplexity is another fairly successful LLM app, with features very similar to those in Cursor. It packages up a lot of information and orchestrates multiple LLMs. It has a GUI that allows the user to audit some of its work. For example, it cites sources, which can be inspected. It also has an autonomy slider. A user can run a quick search, do research, or run deep research and come back about ten minutes later. These are all varying levels of autonomy handed over to the tool.
Software Becoming Partially Autonomous
The question that follows is how much software will become partially autonomous. It feels likely that a lot of software will take on this form, with users choosing how much autonomy to give up for each task. I'm
Making Products Partially Autonomous
A great deal of software will become partially autonomous, and for anyone who maintains products and services, the question is what that looks like. Several questions follow. Can an LLM see everything a human can see? Can it act in all the ways a human can act? Can humans supervise the activity and stay in the loop? These systems are fallible and not yet perfect, so supervision matters. Even the shape of a diff needs rethinking: what does a diff look like in Photoshop, for example? Traditional software also has countless switches and settings designed for humans. All of that has to change and become accessible to LLMs.
Speeding Up the Generation–Verification Loop
Working with AI is now a cooperation in which the AI usually does the generation and humans do the verification. It is in everyone's interest to make this loop go as fast as possible, so that a lot of work gets done. There are two major ways to do that. The first is to speed up verification a great deal. GUIs are extremely important here, because a GUI draws on the computer vision in the human brain. Reading text is effortful and not fun, but looking at things is fun and acts like a highway to the brain. Visual representations are therefore very useful for auditing systems.
Keeping the AI on the Leash
The second way is to keep the AI on a leash. Many people are getting far too excited about AI agents. A diff of 10,000 lines of code is not useful, because the human is still the bottleneck. Even though those lines appear instantly, someone has to make sure the change introduces no bugs, does the correct thing and has no security issues. It is in our interest to make the flow between generation and verification very fast, while somehow restraining an AI that tends to be overreactive. That is how AI-assisted coding feels in practice. Vibe coding everything is nice and great, but when the aim is to get real work done, an overreactive agent doing all this is not so great. (The slide for this point is admittedly not very good.)
Working in Small Increments with Concrete Prompts
Like many people, I am still developing ways of using these agents in an AI-assisted coding workflow. I am always scared of getting overly large diffs. I work in small incremental chunks on a single concrete thing, to make sure everything is good and to spin the loop very fast. Many others are probably developing similar ways of working with LLMs, and a number of blog posts try to set out best practices. One I read recently and found quite good covers techniques for keeping the AI on the leash. If a prompt is vague, the AI may not do what was wanted, verification fails, and another request has to be made. Once verification fails, the loop starts spinning. It makes much more sense to spend a bit more time being concrete in the prompt, which raises the probability of successful verification so work can move forward. Many people will likely end up finding techniques like this.
Education: Two Apps and an Auditable Course
My own current interest is what education looks like now that AI and LLMs exist, and much of my thinking goes into how to keep the AI on the leash. Going to a chat and saying "Hey, teach me physics" probably does not work, because the AI gets lost in the woods. Instead, I see this as two separate apps: one for a teacher that creates courses, and one that takes courses and serves them to students. In both cases there is now an intermediate artifact, the course, that is auditable. It can be checked for quality and consistency, and the AI is kept on the leash with respect to a certain syllabus and a certain progression of projects. This approach has a much higher likelihood of working, and the AI does not get lost in the woods.
Lessons from Tesla Autopilot
Partial autonomy is familiar territory for me, since I worked on it for about five years at Tesla. Autopilot is a partial autonomy product that shares many of these features. The instrument panel is the GUI of the autopilot, showing what the neural network sees. There is also an autonomy slider: over the course of my tenure there, more and more autonomous tasks were done for the user.
The first time I rode in a self-driving vehicle was in 2013. A friend who worked at Waymo offered a drive around Palo Alto, and I took a picture with Google Glass, which was all the rage at the time, though many people are now too young to know what it is. We drove about 30 minutes around Palo Alto, on highways and streets. The drive was perfect, with zero interventions. That was 12 years ago. At the time, such a perfect demo made self-driving feel imminent, because it just worked and was incredible.
The Decade of Agents
Twelve years later, work on autonomy and driving agents continues, and the problem is not really solved. Waymos go around looking driverless, but there is still a lot of teleoperation and a lot of human in the loop. Success has not yet been declared. It will most likely succeed at this point, but it has taken a very long time. Software is tricky in the same way that driving is tricky. That makes the claim "2025 is the year of agents" concerning. In my view, this is the decade of agents, and it will take quite some time. Humans need to stay in the loop, and the work needs to be done carefully. This is software, and it deserves to be taken seriously.
The Iron Man Suit: Augmentation vs. Agent
Another favorite analogy is the Iron Man suit. Iron Man is correct in a number of ways about technology and how it will play out. The suit is both an augmentation that Tony Stark drives and an agent: in some of the movies it is quite autonomous, flying around and finding Tony. That is the autonomy slider: products can be augmentations or agents, and ideally a bit of both. At this stage, with fallible LLMs, the aim should be less Iron Man robots and more Iron Man suits; less flashy demos of autonomous agents and more partial autonomy products. These products have custom GUIs and UI/UX, designed so that the human's generation–verification loop is very fast, without losing sight of the fact that it is in principle possible to automate this work. Every product should have an autonomy slider, and its builders should think about how to slide it and make the product more autonomous over time. There are lots of opportunities in this kind of product.
Vibe Coding: Everyone Is a Programmer
One other dimension is very unique. Not only is there a new type of programming language that allows for autonomy in software, but it is programmed in English, a natural interface. Suddenly everyone is a programmer, because everyone speaks a natural language like English. That is extremely bullish, very interesting and completely unprecedented. It used to be that five to ten years of study were needed to do something in software. That is no longer the case.
The term "vibe coding" came from a tweet that is now a major meme. After about 15 years on Twitter, I still have no clue which tweet will go viral and which will fizzle with no one caring, and I expected this one to be the latter. It was just a shower of thoughts. It struck a chord, though, and gave a name to something everyone was feeling but could not quite put into words. There is now a Wikipedia page and everything, which feels like a major contribution of sorts.
Tom Wolf from Hugging Face shared a beautiful video of kids vibe coding. I find it wholesome, and it is hard to watch it and feel bad about the future. The future is great. Vibe coding will likely end up as a gateway drug to software development, and I am not a doomer about the future of this generation.
Vibe Coding Personal Projects
Vibe coding is also fun to try. It is great for building something super custom that does not appear to exist, when you just want to wing it on a Saturday. I built a super basic iOS app even though I cannot actually program in Swift. It was really dumb, but it took about a day of work and was running on my phone later that day. I was shocked and amazed, since I did not have to read through Swift for five days or so to get started.
I also vibe coded an app called MenuGen, which is live and can be tried at menu.app. The problem: showing up at a restaurant, reading through the menu, and having no idea what any of the items are, and needing pictures. Since no such app existed, I decided to vibe code it. You go to the site, take a picture of a menu, and MenuGen generates images for the dishes. Everyone gets $5 in credits for free on sign-up, and this has become a major cost center in my life, so it is currently a negative-revenue app. I have lost a huge amount of money on MenuGen. The fascinating thing about MenuGen, though, is that the code
From Demo to Production Was the Hard Part
Writing the code for Menu Genen, a vibe-coded app, was the easy part. The hard part came when the app had to become real, with authentication, payments, a domain name, and deployment. That work took about a week, and none of it was coding. It consisted of DevOps tasks done by clicking through browser interfaces, which was slow and tedious. The app's core demo ran on a laptop within a few hours, but making it production-ready took a full week.
Integration Docs Written for Humans
Setup was especially frustrating when adding a feature like Google login with Clerk. The documentation consisted of long lists of instructions telling the developer to visit a URL, open a dropdown, select an option, and click a specific button. The docs were effectively describing actions a computer could take on its own. Why should a person carry out those steps manually? This experience points to a question: can software be built for agents so that people no longer have to do this work?
A New Kind of Digital Consumer
A new category of consumer and manipulator of digital information is emerging. Until now, information was consumed by humans through graphical interfaces or by computers through APIs. Agents are now a third group. They are computers, but they behave in human-like ways, and they need to interact with existing software infrastructure. The open question is whether that infrastructure can be built for them.
Speaking Directly to LLMs
Websites already have ways of guiding machines. A robots.txt file on a domain tells web crawlers how to behave. A similar llms.txt file can offer a simple Markdown description of what a domain is about, and that file is easy for an LLM to read. If an LLM has to fetch a page's HTML and parse it, the process is error-prone and often fails. Speaking to the LLM directly is a far more reliable approach.
Documentation Is Still Written for People
Most documentation is still written for people and relies on lists, bold text, and images, which an LLM cannot access directly. Some services are beginning to change this. Vercel and Stripe are early movers that now publish their documentation in Markdown, a format LLMs understand easily. Several other services have started doing the same.
A Practical Example with Manim
A personal example illustrates the point. 3Blue1Brown created Manim, a library for producing animated math videos. Rather than reading its extensive documentation, the author copied the entire documentation into an LLM and described the desired animation. The LLM produced exactly what was wanted, working out of the box. If documentation can be made legible to LLMs, it could unlock a large amount of new use cases, and this kind of change should happen more often.
Rewriting Docs for Agent Actions
Converting documentation to Markdown is the easy step. The harder change is rewriting the content itself, because instructions that say to click something are a problem. An LLM cannot natively perform a click. Vercel, for example, is replacing every instance of click with an equivalent curl command that an LLM agent can run on the user's behalf. The Model Context Protocol from Anthropic is another way to communicate directly with agents, which are the new consumers and manipulators of digital information.
Tools That Make Repositories LLM-Friendly
A growing set of small tools helps ingest data in LLM-friendly formats. A GitHub repository, such as the nanoGPT repo, is designed for human viewing, so it cannot be fed to an LLM for questions in its normal form. Changing the URL from github.com to gitingest.com concatenates the repository's files into one large text file with a directory structure. That text can be pasted directly into an LLM. DeepWiki goes further. Using Devin, it analyzes a GitHub repository and generates a full set of documentation pages for it, which is even more useful for pasting into an LLM. The author admires any tool that makes content accessible to an LLM just by changing a URL.
Meeting LLMs Halfway
LLMs will soon be able to browse websites and click through interfaces, and in fact they can do this today. Still, that approach is comparatively expensive and difficult. Making information easier for LLMs to access is a practical middle ground. Many software products, however, will remain a long tail that never adapts, because they are not live, widely used infrastructure. Those cases will still need these tools. For most everything else, meeting in the middle is worthwhile, so it makes sense to be optimistic about both approaches.
Summary: A Time to Build
This is an exceptional time to enter the software industry. A large amount of code needs to be rewritten, and professionals and hobbyist coders will write a great deal of it. LLMs work somewhat like utilities or fabs, and especially like operating systems, but the field is still very early, comparable to operating systems in the 1960s. Many analogies carry over. LLMs are fallible, people-like spirits that people must learn to work with, and doing that well requires adjusting infrastructure to support them. Building LLM apps involves learning effective ways of working with these models, using tools that make this possible, and iterating very quickly to create partially functional products. A lot of code will also need to be written directly for agents.
The Iron Man Suit Analogy Revisited
Returning to the Iron Man suit analogy, the next decade will likely see the slider move from left to right, with AI taking on more autonomy. It will be interesting to see what that looks like, and it is exciting to build it together.
Turn your watchlist into a reading routine
Bring your YouTube videos together, read summaries with key passages marked, and explore the full transcript. Save your own highlights with Pro.
Start with 5 free batteries. Each covers up to 30 minutes of a new summary.
New summaries depend on video availability and demand; processing may take time or require retry.