Andrej Karpathy on Agents
Karpathy sees agents as the main AI project of the next decade: already powerful in narrow workflows, but still too brittle to be dependable coworkers.
- Agents are the defining AI project of the next decade, not something that will be fully solved in a year.
- Today’s models are useful but not yet reliable enough to act like real employees or interns without close supervision.
- The biggest missing pieces include durable memory, continual learning, robust computer use, and stronger general problem-solving off familiar patterns.
- In coding and other digital work, agents already change the human role from doing every step to delegating, reviewing, and orchestrating.
- Using agents well requires treating context as scarce, choosing stronger reasoning modes when needed, and giving tools like search or code execution for tasks the base model cannot do alone.

“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.”Dwarkesh Patel interview, September 2024 · 22:50
Agents are the next decade of AI
Karpathy’s core view is that agents are the central frontier after the current wave of chat assistants. He explicitly frames the period ahead as a long buildout, not an immediate finish line, which is why he talks about a decade of agents rather than a single breakout year12.
He uses a high bar for the word agent. In his framing, the target is not a flashy demo but a system you would trust like an employee or intern to do meaningful work on your behalf, and current systems are not there yet2.
This matters because it separates excitement from reliability. Agents can already impress, but Karpathy’s emphasis is that the hard part is making them actually work consistently in real settings over long stretches of time2.
Why current agents still fall short
Karpathy points to a basic reset problem in today’s language models: each session begins fresh, without a built-in mechanism for accumulating experience into lasting capability. He contrasts the temporary context window with the kind of consolidation humans seem to get over time, and says models do not yet have an equivalent process for turning experience into durable improvement3.
He also thinks current systems rely too much on stored knowledge and not enough on a deeper problem-solving core. One consequence is that agents often struggle when they need to go beyond patterns that already exist in their training data and operate off the usual internet-shaped path4.
This is why being knowledgeable is not the same as being robust. For Karpathy, stronger agents need more than recall: they need durable memory, better adaptation, and more general cognitive strategies that keep working when the task is novel or messy43.

“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.”Dwarkesh Patel interview, September 2024 · full transcript →
Agents already work best in loops, not as unsupervised replacements
Even though he is cautious about full autonomy, Karpathy is very bullish on agentic workflows today, especially in software. He describes a major shift in his own coding process away from typing every line himself and toward delegating work to agents, reviewing output, and composing larger actions5.
That changes the human job from direct execution to orchestration. His practical question becomes how to keep more agents productively running for longer without constant intervention, which captures his view that the immediate unlock is not one perfect agent but many useful loops managed well7.
He is also clear that, in the tasks agents can already handle, they are improving fast and may outperform people sooner than many expect. But this does not mean they are ready to replace a general worker across all tasks; it means parts of work are becoming highly automatable first82.
Good agents depend on tools, context, and careful setup
Karpathy’s broader model of using LLMs explains how he thinks agent systems should be built. The model is not a perfect oracle; it is a probabilistic system with limited working memory, so the context window has to be managed carefully and not filled with irrelevant history91011.
That is why he recommends resetting or branching when old context no longer helps the next task. In agentic systems, this translates into careful state management, compact task framing, and avoiding prompt bloat that confuses the model or wastes tokens1210.
He also stresses matching the system to the job. Hard reasoning, math, and code often benefit from stronger reasoning models, while fresh facts require tools like search, and computational steps may require external execution rather than pure language generation1314.
Agents fit a larger shift in how software is built
Karpathy places agents inside a broader transition from handwritten code toward neural networks and then toward natural-language control. His claim is that prompts now function like programs for a new kind of computer, which makes agent design part of a larger software paradigm shift rather than a small feature addition15.
In that world, building applications increasingly means combining model behavior, orchestration, context handling, and human supervision. Agents are the natural extension of this shift because they let software pursue goals over multiple steps instead of just returning one response1715.
This also explains his excitement about code agents in particular. Software is the easiest place for agents to get traction because the environment is digital, measurable, and loop-friendly, so delegation can happen earlier there than in the physical world7.
Karpathy is optimistic, but wants agents to empower people
Karpathy is not anti-agent; he is highly optimistic about working with them for years to come. His caution is about timelines and reliability, not about whether the direction is real or valuable2.
At the same time, he consistently leans toward human empowerment over simply pushing people out of the loop. That makes his ideal agent future less about replacing everyone immediately and more about expanding what an individual can do with strong machine collaborators18.
This is why his stance can sound both bullish and restrained. Agents are already a huge unlock, but the long-term goal is trustworthy partnership, not just occasional impressive demos1182.
Karpathy on agents, in his own words
“The things that agents can do, they can probably do better than you or, like, very soon.”
“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.”
“I think that's probably holding back the neural networks overall because it's getting them to rely on the knowledge a little too much sometimes. For example, I feel agents, one thing they're not very good at, is going off the data manifold of what exists on the internet. If they had less knowledge or less memory, maybe they would be better. What I think we have to do going forward—and this would be part of the research paradigms—is figure out ways to remove some of the knowledge and to keep what I call this cognitive core. It's this intelligent entity that is stripped from knowledge but contains the algorithms and contains the magic of intelligence and problem-solving and the strategies of it and all this stuff. There's so much interesting stuff there.”
Where to watch
Andrej Karpathy on Agents and AI Progress: why it’s a decade2024 · 146 min · full transcriptBest single source for why he thinks agents define the next decade and what is still missing before they become dependable coworkers.
Andrej Karpathy on Code Agents: The Loopy Era of AI2023 · 67 min · full transcriptShows what agentic work already looks like in practice, especially in coding, delegation, and running multiple loops.
Andrej Karpathy on Using LLMs: Tools, Models, and Workflows2023 · 131 min · full transcriptBest practical guide to the constraints that matter for agents today: context limits, model choice, and when to use tools.
Andrej Karpathy on Software 2.0 to 3.0: AI Changes Everything2024 · 121 min · full transcriptPuts agents into his bigger picture of software 3.0, where prompts and orchestration become a new programming layer.
Andrej Karpathy on AI and Robotics: Models, Agents, and Education2024 · 44 min · full transcriptUseful for his productization lens: impressive demos can come early, but reliable deployment takes much longer.
Questions people ask
- How does Andrej Karpathy decide when to use reasoning models, search, or tools with LLMs?
- What did Andrej Karpathy say about education after AGI?
- What did Andrej Karpathy say about software 3.0 and prompts?
- What does Andrej Karpathy mean by the 'cognitive core' in LLMs?
- Why did Andrej Karpathy leave OpenAI to work on education?
- Why does Andrej Karpathy think current AI models lack continual learning?
Sources
Every quote above, word for word from the transcripts. Numbers match the text.
“…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.”
“I think that's probably holding back the neural networks overall because it's getting them to rely on the knowledge a little too much sometimes. For example, I feel agents, one thing they're not very good at, is going off the data manifold of what exists on the internet. If they had less knowledge or less memory, maybe they would be better. What I think we have to do going forward—and this would be part of the research paradigms—is figure out ways to remove some of the knowledge and to keep what I call this cognitive core. It's this intelligent entity that is stripped from knowledge but contains the algorithms and contains the magic of intelligence and problem-solving and the strategies of it and all this stuff. There's so much interesting stuff there.”
“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?”
“The things that agents can do, they can probably do better than you or, like, very soon.”
“…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…”
“…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.”
“…we're now programming computers in English…”
“…software 2.0 are basically neural networks…”
“And, uh, so it's kind of just like a space that I've been very passionate about for a long time. And then the other thing is, I think one macro picture that's kind of driving me is I think there's a lot of activity in AI. And, um, I think most of it is to kind of like replace or displace people. I would say is in the, of like sliding away the people. But I'm always, uh, more interested in anything that kind of empowers people. And I feel like I'm kind of on a high level like team human. And I'm interested in things that AI can do to empower people. And I don't want the future where people are kind of, um, on the side of automation. I want people to be very in an empowered state. And I want them to be amazing, even much more amazing than today. And then other aspects that I find very interesting is like how far can a person go if they have the perfect tutor for all the subjects. And I think people…”
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.

