Vibe Coding OS
Programming shifts from typing code to steering, reviewing, and orchestrating LLM workers.

The lesson
Karpathy frames a new programming stack around language models. In his view, software has moved from handwritten code to neural nets and now to prompt-driven systems, where natural language becomes a real programming interface rather than just documentation1234. That shift matters because it changes the programmer’s job: less of the value comes from manually typing syntax, and more comes from specifying intent clearly enough that the model can act on it24.
To use this stack well, start with the right mental model of the model itself. Karpathy describes an LLM as a compact artifact with learned weights and runtime code, and he emphasizes that it carries compressed knowledge that can be queried but is not the same as a live, grounded system567. That is why prompting is not magic command issuance: you are steering a probabilistic system with limited context and imperfect recall, so clear task setup and realistic expectations are part of the craft78.
A big part of that craft is context management. Karpathy treats the context window as scarce working memory, which means irrelevant history actively hurts performance and cost instead of helping89. In practice, when the old tokens are no longer useful for the next task, the better move is often to start a fresh thread, keep only the needed state, and rebuild context intentionally around the current objective108.
From there, vibe coding becomes orchestration. Karpathy describes his own workflow as a shift away from writing code directly and toward delegating work to coding agents, letting them run, and reviewing what comes back1112. In that setup, productivity depends less on typing speed and more on how well you can keep multiple agents productively occupied, choose stronger reasoning modes when needed, and give tools such as search when the task depends on fresh information or external computation131415.
But he does not present this as full autonomy today. Karpathy thinks agents are the project of the coming decade, with important missing pieces such as durable memory and more robust operation over longer horizons161718. So the operating system of vibe coding is not 'let the model do everything'; it is human-supervised delegation, context curation, tool selection, and review of agent outputs inside a broader loop that still depends on human judgment171318.
5 principles from Andrej Karpathy
Program with prompts, not just code
Treat natural language instructions as a real programming surface for LLM-based systems. Your job is to specify intent, constraints, and desired behavior clearly enough that the model can execute useful work.
“…we're now programming computers in English…”
Guard the context window
Assume context is limited and valuable. Keep only information that helps with the next step, and start new conversations when old history is no longer relevant.
“…think of the tokens in the context window as a precious resource…”
Use agents as workers you supervise
Delegate substantial tasks to coding agents, but stay responsible for task definition, review, and composition. The leverage comes from managing parallel work and deciding what to trust, rerun, or refine.
“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.”
Match the model and tools to the task
Do not expect one default chat mode to solve everything. Switch to reasoning-capable models for hard math, code, or reasoning, and use tools like search when the answer depends on fresh information.
“…these models that are thinking and trained with reinforcement learning…”
Expect a long transition, not instant autonomy
Build workflows around partial reliability rather than assuming agents are already complete replacements for employees. Human oversight remains central because long-running memory, robustness, and sustained autonomy are still incomplete.
“…this is more accurately described as the decade of agents…”
In his own words
The quotes behind the lesson, word for word from the transcripts. Numbers match the lesson above.
“…software 2.0 are basically neural networks…”
“…we're now programming computers in English…”
“The hottest new programming language is English.”
“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…”
“…a large language model is just two files…”
“…we kind of understand that they build and maintain some kind of a knowledge database…”
“…you're talking to a zip file…”
“…think of the tokens in the context window as a precious resource…”
“…don't overload it with irrelevant information…”
“…if it is the case that those tokens are not any more useful to your next query, I encourage you to do this…”
“I don't think I've typed like a line of code probably since December basically.”
“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.”
“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?”
“…these models that are thinking and trained with reinforcement learning…”
“Today, so in particular, we saw that this is very useful and gives additional accuracy in problems like math, code, and reasoning. So try without reasoning first, and if your model is not solving that kind of, kind of a problem, try to switch to a reasoning model and look for that in the user interface on top of that. Then we saw that we are rapidly giving the models a lot more tools. So as an example, we can give them an internet search. So if you're talking about some fresh information or knowledge that is probably not in the zip file, then you actually want to use an internet search tool. And not all of these apps have it.”
“…this is more accurately described as the decade of agents…”
“My reaction is we'll be working with these things for a decade. They're going to get better, and it's going to be wonderful. I was just reacting to the timelines of the implication. What do you think will take a decade to accomplish? What are the bottlenecks? Actually making it work. When you're talking about an agent, or what the labs have in mind and maybe what I have in mind as well, you should think of it almost like an employee or an intern that you would hire to work with you. For example, you work with some employees here. When would you prefer to have an agent like Claude or Codex do that work? Currently, of course they can't.”
“These models, when you boot them up and they have zero tokens in the window, they're always restarting from scratch where they were. So I don't know in that worldview what it looks like. Maybe making some analogies to humans—just because I think it's roughly concrete and interesting to think through—I feel like when I'm awake, I'm building up a context window of stuff that's happening during the day. But when I go to sleep, something magical happens where I don't think that context window stays around. There's some process of distillation into the weights of my brain. This happens during sleep and all this stuff. We don't have an equivalent of that in large language models. That's to me more adjacent to when you talk about continual learning and so on as absent.”
Reflect
- Pick one task you usually do by hand. How would you split it into: prompt specification, tool access, agent execution, and human review?
- Where are you currently wasting context window on background that does not help the next step? What would a cleaner context strategy look like?
- In your work, which tasks need a stronger reasoning model or external tools, and which are simple enough for a lightweight default model?
Check your understanding
Go deeper
Andrej Karpathy on Code Agents: The Loopy Era of AI2023 · 67 min · full transcript
Andrej Karpathy on Software 2.0 to 3.0: AI Changes Everything2024 · 121 min · full transcript
Andrej Karpathy on AI Engineering: Programming Is Changing Fast2024 · 69 min · full transcript
Andrej Karpathy on Using LLMs: Tools, Models, and Workflows2023 · 131 min · full transcript
Andrej Karpathy on Large Language Models: from pretraining to agents2024 · 60 min · full transcript
Andrej Karpathy on Agents and AI Progress: why it’s a decade2024 · 146 min · full transcript
- What did Andrej Karpathy say about software 3.0 and prompts?
- What did Andrej Karpathy say changed when coding agents became capable enough to delegate to them?
- Why does Andrej Karpathy say AI agents will take a decade to work like employees or interns?
- Why does Andrej Karpathy think current AI models lack continual learning?