Agents and Tool Use
Why capable AI workers are a decade-long project.

“…this is more accurately described as the decade of agents…”Dwarkesh Patel interview, September 2024 · 0:49
The lesson
Karpathy treats agents as the main project of the next decade, not as something that will fully arrive in the next year. His benchmark is demanding: a real agent should behave more like an employee or intern you can work with over time, not just a chatbot that answers one prompt and stops1. That framing matters because it shifts the question from “can the model do a demo?” to “can it reliably carry work forward with minimal supervision?”
A big reason this will take time is that today’s models are still fundamentally session-based. They begin each interaction without durable carryover, so any useful working state has to be rebuilt in the context window, which Karpathy describes as a scarce resource that should not be filled with irrelevant material345. He points out that models still lack a good equivalent of long-term memory consolidation or continual learning, which makes sustained agent behavior much harder6.
Karpathy also thinks capable agents need more than language alone. In his practical workflow, models become much more useful when they can call tools such as search for fresh information and stronger reasoning modes for hard math, code, and reasoning tasks78. This fits his broader view of software 3.0: prompts are a new kind of program, written in English for a new kind of computer, but useful applications still depend on context management, orchestration, and human supervision rather than raw model output alone910.
Coding is the clearest near-term example of this shift. Karpathy says his own work has moved from directly typing code toward delegating to agents, reviewing their work, and trying to keep more agents productively running in parallel111213. The skill is no longer just producing tokens by hand; it is choosing tasks, setting up loops, checking outputs, and focusing your own time on the parts agents still cannot handle well.
Even so, Karpathy does not think current agents are yet robust general workers. He argues they rely heavily on knowledge compressed from existing data and are weaker when they have to move off the internet’s familiar patterns, which is why he is interested in separating a stronger problem-solving core from memorized knowledge1415. His deeper picture is that pre-training is a practical bootstrap for intelligence, but not the full recipe for durable, multimodal, continually learning agents that can operate independently in the world1617.
5 principles from Andrej Karpathy
Judge agents by whether you would trust them with real work
Do not confuse an impressive demo with an agent you can depend on. Use the employee-or-intern test: can it take a task, make progress over time, and reduce your involvement rather than constantly needing rescue?
“…this is more accurately described as the decade of agents…”
Treat context and memory as core bottlenecks
Today’s systems do not naturally carry stable working state from one session to the next, so you must manage context carefully. Keep inputs relevant, reset when topics change, and recognize that durable memory and continual learning are still unfinished pieces.
“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.”
Use tools when the task exceeds the model alone
If the task depends on fresh facts, calculation, or difficult reasoning, give the model search, code execution, or a stronger reasoning mode. Good agent design is not just better prompting; it is choosing the right external support for the job.
“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.”
Shift from doing the work to orchestrating the work
In agentic coding, your leverage comes from delegation, parallelism, review, and composition. Spend less time manually producing every step and more time deciding what should be delegated and what still requires your judgment.
“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?”
Protect your time for what agents still cannot do
As agents improve, routine parts of the workflow will be automated first. Your advantage moves toward selecting goals, spotting failures, and handling cases that fall outside the model’s current capabilities.
“The things that agents can do, they can probably do better than you or, like, very soon.”
In his own words
The quotes behind the lesson, word for word from the transcripts. Numbers match the lesson above.
“…this is more accurately described as the decade of agents…”
“…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, 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.”
“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.”
“…these models that are thinking and trained with reinforcement learning…”
“…we're now programming computers in 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…”
“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?”
“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.”
“…you're talking to a zip file…”
“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 call pre-training this crappy evolution.”
“…we're not building animals. We're building ghosts or spirits…”
Reflect
- Pick one recurring task in your work. Which parts could an agent handle today, and which parts still require your judgment because the agent would fail or drift?
- How are you currently managing model context? Where might irrelevant history, missing tools, or lack of persistent memory be lowering quality?
- If your role shifted from direct execution to delegation and review, what new skills would matter most for you?
Check your understanding
Go deeper
Andrej Karpathy on Agents and AI Progress: why it’s a decade2024 · 146 min · full transcript
Andrej Karpathy on Code Agents: The Loopy Era of AI2023 · 67 min · full transcript
Andrej Karpathy on Using LLMs: Tools, Models, and Workflows2023 · 131 min · full transcript
Andrej Karpathy on Software 2.0 to 3.0: AI Changes Everything2024 · 121 min · full transcript
Andrej Karpathy on AI and Robotics: Models, Agents, and Education2024 · 44 min · full transcript
- 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?
- What did Andrej Karpathy say changed when coding agents became capable enough to delegate to them?
- How does Andrej Karpathy decide when to use reasoning models, search, or tools with LLMs?