Tool, colleague or expensive intern – what is an AI agent?
Carl-Axel Dahlin · 2026-12-01
An AI agent is a language model that uses tools in a loop to reach a goal. It picks the next step, carries it out with a tool, reads the result and keeps going until the task is done or it gets stuck. The tools can be a search, an API, a spreadsheet or a web browser. The definition comes from Simon Willison in September 2025, and Anthropic uses the same wording.
This text is written for readers who already know the basics. It explains where the definition comes from and then goes through three questions where the experts disagree. We show both sides and say where we stand and why.
Why has an AI agent been so hard to define?
The word is older than language models. Back in 1994 the researcher Michael Wooldridge wrote that the concept defied attempts at a single definition everyone accepts. Simon Willison highlighted the quote in October 2024.
In December 2024 Willison complained that everyone who used the word seemed to assume everyone else shared their definition. The same month Anthropic published Building effective agents. It split the field in two:
- Workflows, where language models and tools are run through code paths decided in advance.
- Agents, where the model itself directs its steps and which tools it uses.
Willison accepted the split straight away. During 2025 the technical voices settled on the same short formula. Harrison Chase of LangChain wrote in July 2025 that tools in a loop is the simplest form of an agent. Willison wrote "An LLM agent runs tools in a loop to achieve a goal" on 18 September 2025. Anthropic used almost the same words in a piece on context on 29 September.
Since then the question has moved. It is less about what an agent is and more about how much it should decide, how long it can manage on its own and what it costs to make it work. Those are the three questions below.
Is the agent a tool or a colleague?
One side describes the agent as a system. Willison, Anthropic and LangChain talk about a model, tools and a loop. The question then becomes how much of the control the model owns. LangChain put it this way in 2026: how agentic a system is depends on how much of the control flow the model owns. Most systems in production sit somewhere between a fixed workflow and a fully free agent.
The other side describes the agent as a colleague. OpenAI's guide says agents are systems that "independently accomplish tasks on your behalf". The Nordic consultancy Iver wrote in January 2026 that the language model is the brain and the agent is "a digital employee that actually gets the work done". Henrik Kniberg of Abundly described agents in 2025 as language models with a mission, autonomy and tools, and advised treating them more like an intern than a script.
Both pictures have a point. The colleague picture helps when you train an agent. Abundly's Hans Brattberg describes a trust ladder in April 2026, where the agent gets more responsibility one step at a time. But the colleague picture also makes it easy to sell anything as an agent. Gartner calls this "agent washing" and estimated in June 2025 that only about 130 of several thousand vendors selling agents have something that deserves the name.
We are closer to the first side. When we build, we first ask which steps can be fixed rules, and let the model decide only where the rules run out. In our video workflow for a client, the agent uploads files, gives the editing tool instructions and says when a draft is ready. Everything that can be written as a rule is written as a rule. The agent handles the exceptions. When something gets too technical it hands over to our infrastructure agent, and when there is a choice to make it asks a person.
How big a task can you hand over to an agent?
One side points to how fast the length is growing. The research organisation METR measures how long the tasks are that an agent can complete, counted in how long the task takes a human expert. In March 2025 METR showed that the length had doubled roughly every seven months since 2019. In March 2026 Anthropic described runs that went on for up to four hours.
The other side points to how often the agent succeeds. Andrej Karpathy said in October 2025 that this is the decade of agents rather than the year of agents. He thought the industry was pretending the results were amazing when they were not. Researchers at Carnegie Mellon built a simulated company with ordinary office tasks. The best agent completed 30 percent of the tasks on its own (September 2025).
METR's own numbers show why both sides are right. METR gives two numbers per model. One is how long the tasks are that the model completes half the time. The other is how long the tasks are that it completes four times out of five. From METR's data file (Time Horizon 1.1):
- Claude 3.7 Sonnet (February 2025): about 60 minutes half the time, 12 minutes four times out of five.
- Claude Opus 4.6 (February 2026): about 12 hours half the time, 70 minutes four times out of five.
- Claude Mythos Preview (April 2026): about 17 hours half the time, 3 hours four times out of five.
METR itself writes that measurements above 16 hours are unreliable with its current tasks. The tasks are also mostly software and similar work, where it is easy to check whether the answer is right.
For a company the second number is the one that counts. A task done every day has to succeed almost every time. So we build for the short numbers. We split the work into steps the agent handles reliably, put checks between the steps and let a person take what the agent cannot.
There is also a study of perceived speed. In July 2025 METR had 16 experienced developers work with and without AI tools. With AI the work took 19 percent longer, but the developers believed they had been faster. In February 2026 METR tried to measure again and wrote that the new numbers were too uncertain to say anything. Above all, the study shows that the feeling of speed is a poor measure.
Does an agent make things cheaper?
One side expects agents to replace staff. The most cited Swedish example is Klarna. In February 2024 Klarna wrote that its AI assistant handled two thirds of customer service chats in its first month, work equivalent to 700 full-time agents.
The other side says the cost moves rather than disappears. In May 2025 Klarna's CEO Sebastian Siemiatkowski told Bloomberg, as reported by the Swedish outlet EFN, that when cost had been the main measure, the result in the end was lower quality. He promised there would always be a human to talk to. The same month he told the journalist Alex Kantrowitz that the agent was still handling about 1.3 million errands a month. So Klarna kept the agent and added people for the hard cases.
Our own numbers say the same thing on a small scale. Leonie is an agent that produces content ideas for a client every morning. The basic setup took a day. Then it took seven weeks of adjustments before she worked the way she does today. By week seven she saved four hours a week, and in the first weeks we spent about twice that time building. In the video workflow, 70 to 80 percent of the time from recording to finished draft disappeared. There, about a tenth of the work was AI and the rest was getting files, status and APIs to work together. The return was poor the first time, mostly because of everything we had to learn.
In June 2025 Gartner estimated that over 40 percent of agent projects will be cancelled before the end of 2027, because of cost, unclear value or weak risk control. That is a forecast, not an outcome. But it points to the same thing as our numbers: the model is the cheap part. Most of the cost lies in training the agent and connecting it to everything else.
What makes an agent unsafe?
In June 2025 Simon Willison described three properties that together make an agent vulnerable. It has access to private data. It reads content that an outsider may have written, such as a web page or an email. And it can send information out. If an agent has all three, a text on a web page can trick it into sending out private data. Willison calls the combination "the lethal trifecta".
In May 2026 Abundly gave advice that follows from this: use hard guardrails such as lists of allowed recipients and approvals, instead of relying on the model to remember its instructions. We build the same way. A guardrail in code applies every time. An instruction to the model applies most of the time.
What does this mean for a company with 20 to 200 employees?
Three things follow:
- Choose tasks by the short number. An agent fits where it can succeed almost every time, or where a failure is cheap and shows up right away.
- Give the model as little to decide as the task allows. What can be a rule should be a rule.
- Expect weeks of adjustment. The first agent is also a way to learn how to build the next one.
To see which agents we build and how they work, read more about AI agents at Gradient Vibe.
Frequently asked questions
What is the difference between an AI agent and a chatbot?
A chatbot answers what you write. An agent takes a goal and carries out several steps on its own with tools, such as searching, reading files or calling other systems. Many chatbots now have agent features, so the line is whether the model itself chooses and carries out the steps.
What is the difference between an AI agent and a workflow?
In a workflow, code decides the order of the steps and the model does parts of them. In an agent, the model decides which step comes next. Anthropic drew that line in December 2024. Most systems used in companies are a mix of the two.
How long does it take to build an AI agent?
A first version can be ready in a day. Getting it to work day to day takes longer. Our agent Leonie needed seven weeks of adjustments before she did what she does today.
How long are the tasks an AI agent can handle?
According to METR, the best model measured in April 2026 completed tasks that take an expert about 17 hours, half the time. Four times out of five it completed tasks of about three hours. The figures mainly apply to software work.
Do AI agents replace employees?
They take over parts of the work. In 2025 Klarna's agent handled about 1.3 million errands a month, but Klarna also hired people for the harder cases. In our own projects the agents free up time and move work towards reviewing and steering.
Are AI agents safe?
It depends on what they can reach. The biggest risk comes when an agent can reach private data, reads outside content and can send information out. Hard guardrails in code reduce the risk more than instructions to the model.
Sources
- Simon Willison, "I think 'agent' may finally have a widely enough agreed upon definition to be useful jargon now", 18 September 2025.
- Anthropic, "Building effective agents", 19 December 2024.
- Anthropic, "Harness design for long-running application development", 24 March 2026.
- Harrison Chase, LangChain, "Deep Agents", 30 July 2025.
- LangChain, "What is an agent?", 2026.
- OpenAI, "A practical guide to building agents", 2025.
- Iver, "What are AI agents? Everything you need to know", January 2026.
- Abundly: Henrik Kniberg, "AI Agents in Practice" (April 2025); Hans Brattberg, "The Trust Ladder" (April 2026); "AI Agents in Practice – Beyond the Prototype" (May 2026).
- METR, "Measuring AI Ability to Complete Long Tasks", March 2025, and time horizons (Time Horizon 1.1), last updated 8 September 2026.
- METR, study of experienced developers, 10 July 2025, and follow-up 24 February 2026.
- Carnegie Mellon, "TheAgentCompany", version 3, September 2025.
- Andrej Karpathy on Dwarkesh Patel's podcast, 17 October 2025.
- Gartner, press release 25 June 2025, as reported by Reuters.
- Klarna, press release 27 February 2024; EFN 8 May 2025; CMSWire 20 May 2025.
- Simon Willison, "The lethal trifecta for AI agents", 16 June 2025.