What is an AI agent? How agents differ from LLMs, the main types, and who builds them
In 2026, people in the United States searched Google for “AI agent” more than twice as often as for “chatbot”. Two years earlier the term barely registered. Many people who use ChatGPT every day could not say what makes an agent different. This guide explains the difference from an LLM, how an agent works, which types exist, what companies use them for, who builds them in the US, Europe and China, and what can go wrong.
The same request, two results
An LLM tells you how to chase late invoices. An agent drafts the reminders and asks before it sends them.To find overdue invoices, open your accounting software and filter by due date. Then write a short, friendly email to each customer with the invoice number, the amount and a new payment date…
Definition: an AI agent is a program that gives a large language model (LLM) tools, such as search, files, email or a web browser, and lets it work in a loop: it plans a step, carries it out, reads the result and decides what to do next, until the job is done or it needs a person. An LLM on its own only writes a reply.
In one line: an agent is an LLM with tools, a goal and a loop.
AI agent vs LLM: what is the difference?
The LLM is the part that reads and writes. The agent is the LLM plus the tools it is allowed to use plus a loop that keeps it working until the task is finished. Give both the same job and the difference shows at once: the LLM describes the work, the agent does it.
| LLM | Chatbot | AI agent | |
|---|---|---|---|
| What it is | A model that predicts the next words of a text | An app where you chat with an LLM | A program that lets an LLM use tools in a loop |
| What it can reach | Only the text you give it | Your messages, often a web search | Whatever tools it is given: files, email, a browser, business software |
| Who decides the next step | You, with every prompt | You, with every message | The agent, until the goal is reached |
| When it stops | After one reply | After each answer | When the job is done or it needs you |
| Example | GPT, Claude, Gemini, Mistral, DeepSeek models | A plain conversation in ChatGPT or Vibe | ChatGPT Work, Claude Code, OpenClaw |
Is an LLM the same as an AI agent? No. Every agent has an LLM inside, but most uses of an LLM are not agents. The same model can answer questions in a chat window or run inside an agent. What changes is what it is allowed to touch and who decides when it stops. If you want to know what happens inside the model itself, we explain it in What is an LLM?
Where the line is. Anthropic, the company behind Claude, separates two kinds of systems in its guide Building effective agents from December 2024. In a workflow, LLMs and tools follow steps that a developer fixed in code. In an agent, the LLM directs its own process and decides which tools to use. The developer Simon Willison summed it up in September 2025: “An LLM agent runs tools in a loop to achieve a goal.”
How do AI agents work?
An agent repeats four moves until the job is done: plan the next step, use a tool, read what came back, decide what to do next. The LLM does the thinking. The program around it carries out the tool calls and feeds the results back in.
- PlanFind invoices that are past their due date
- ToolOpen the invoice list: 47 open invoices
- Read3 of them are past their due date
- ToolRead the 3 contracts for the payment terms
- ToolDraft one email per customer in the company’s tone
- StopAsk a person before anything is sent
The parts of an agent:
- The model. The LLM that reads, plans and writes. It never touches a file itself. It asks the program to do it.
- Instructions. What the agent is for and what it must not do, written by whoever sets it up.
- Tools. Functions the agent may call: search the web, read a file, look something up in the accounting system, draft an email. Each tool comes with a short description, and the model picks the one that fits the next step.
- Memory. The record of the current run, so the agent knows what it has already done, and sometimes notes it keeps for the next run.
- The harness. The program around the model that runs the loop, calls the tools, sets the limits and keeps the log. When developers talk about an “agent harness”, they mean this part. Two agents with the same model can behave very differently because their harnesses differ.
What is MCP? The Model Context Protocol is an open standard for connecting AI tools to the systems where data lives. Anthropic published it in November 2024. Since December 2025 it belongs to the Agentic AI Foundation under the Linux Foundation, together with Block’s agent goose and OpenAI’s AGENTS.md. At the foundation’s launch more than 10,000 MCP servers had been published. For a company this means that one connector to its document system can serve several agents.
AI agent vs chatbot, assistant, workflow and RPA
The difference is who decides the next step. With a chatbot or an assistant it is you. With a workflow or an RPA bot it is a script someone wrote in advance. With an agent it is the model.
- Chatbot. Answers messages. It talks, and you act on what it says.
- AI assistant. Helps while you do the work, for example by suggesting a reply in your inbox or a formula in a spreadsheet. You stay in charge of every step.
- Workflow or automation. A fixed sequence such as “when an invoice arrives, save it in this folder and tell accounting”. It does the same steps every time.
- RPA (robotic process automation). Software robots that click through screens in the order someone recorded. Fast and reliable until a screen changes.
- AI agent. Decides the steps itself and can find another way when something unexpected happens. That flexibility also makes it harder to predict.
Anthropic’s guide recommends the simplest solution that works and adding complexity only when needed. A fixed workflow is the better choice for a task that runs the same way every time. An agent pays off where every case is a little different.
Agentic AI vs generative AI. Generative AI creates text, images or code. Agentic AI uses the same models to act: it turns what the model writes into tool calls. Agentic AI vs AI agents is mostly a question of wording. “Agentic AI” usually means the field or a system of several agents, “AI agent” one program.
Agent washing. Not everything sold as an agent is one. The research firm Gartner calls the relabelling of chatbots, assistants and RPA tools without real agent capabilities “agent washing” and estimated in June 2025 that only about 130 of the thousands of agentic AI vendors are real.
Is ChatGPT an AI agent?
A normal ChatGPT conversation is an app talking to an LLM, so it is a chatbot with a few tools. The agent modes inside ChatGPT are agents. OpenAI launched the first one, ChatGPT agent, on 17 July 2025. It worked on its own virtual computer, combined the website clicking of OpenAI’s earlier Operator with the research skills of deep research, and asked for permission before actions with real consequences, such as a purchase. On 9 July 2026 OpenAI introduced ChatGPT Work, which it describes as an agent that can take action across your apps and files and stay with a project for hours. OpenAI’s help pages now send users of ChatGPT agent to ChatGPT Work.
The same split applies to the others. Claude is a family of LLMs. Claude Code, which Anthropic released as a preview in February 2025 and to everyone in May 2025, is an agent that works in a developer’s code. Microsoft’s Copilot Studio is a platform for building custom agents.
Types of AI agents
Textbooks sort agents by how they decide. In practice people sort them by what they work on.
The five classic types. Simple reflex agents react only to what they see now. Model-based reflex agents keep a picture of the world. Goal-based agents choose actions that reach a goal. Utility-based agents choose the best of several ways to get there. Learning agents get better from feedback. A thermostat is a simple reflex agent. An LLM agent is goal-based and works with what it learns during the run.
The types people meet in 2026:
How big can a multi-agent system get? Moonshot AI, a Chinese company, launched Agent Swarm with its Kimi K2.5 model in January 2026. According to Moonshot, one task can be split across up to 100 helper agents working at the same time.
What are AI agents used for?
Mostly for work with many steps across several systems and a clear end: answering customers, writing and fixing code, working through documents and research. Coding is where companies are furthest along. In McKinsey’s survey published in August 2026, about two in ten organisations said they were scaling coding agents, and 31% of the large ones.
Customer service. In February 2024 the payment company Klarna reported that its AI assistant had handled 2.3 million conversations in its first month, two thirds of its customer service chats, and was doing the work of 700 full-time agents. Customers could still choose a human. In May 2025 Klarna’s chief executive Sebastian Siemiatkowski told Bloomberg that customers must always be able to reach a person if they want to, and the company started recruiting human support staff again. He said that investing in the quality of human support is “the way of the future” for Klarna.
Legal work. Agents review contracts, check documents in due diligence, draft first versions and research case law with sources. Legora, founded in Stockholm, says more than 140,000 legal professionals at more than 2,600 law firms and in-house legal teams use its platform.
Accounting and finance. Matching payments to invoices, chasing late payers, checking expense reports against the company’s rules, preparing the monthly reconciliation. The work is repetitive, rule-based and spread across several systems, which suits an agent.
Software. Coding agents write code, run the tests and fix what fails. In the same McKinsey survey, 32% of respondents said their organisation had decided against buying at least one piece of software because it could build it with agentic coding tools.
Sales, research and internal help. Researching a prospect before a call, keeping the customer database up to date, answering staff questions from the handbook, preparing a briefing from twenty reports.
What agents are still bad at. Long tasks with a vague goal, tasks where one mistake is expensive, and decisions about people. Gartner described most agentic AI projects in 2025 as early experiments driven by hype and often misapplied.
AI agent companies in the US, Europe and China
The US has the largest providers. Europe has strong specialists for customer service, law and automation. Chinese companies build agents into phones and into apps for shopping and payment.
| Company | Based in | Its agent |
|---|---|---|
| United States | ||
| OpenAI | San Francisco | ChatGPT Work acts across your apps and files; Codex writes code |
| Anthropic | San Francisco | Claude Code works in a developer’s code base, generally available since May 2025 |
| Salesforce | San Francisco | Agentforce, agents for service, sales, marketing and commerce, announced in September 2024 |
| Microsoft | Redmond | Copilot Studio, for building custom agents without code |
| Sierra | San Francisco | Customer service agents, founded by Bret Taylor and Clay Bavor |
| Cognition | United States | Devin, an agent that plans, writes, tests and ships code, introduced in March 2024 |
| Cursor | United States | Coding agent; part of SpaceX since August 2026 |
| Europe | ||
| Mistral AI | Paris, France | Agents API since May 2025, with web search, code, documents and MCP tools |
| H Company | Paris, France | Agents that click and type in any software |
| Parloa | Berlin, Germany | AI agents for customer service, many of them on the phone |
| Legora | Founded in Stockholm | An agentic platform for legal work |
| n8n | Berlin, Germany | Workflows and agents with checkpoints where a person approves |
| OpenClaw | Created in Austria | Open-source personal agent that works through chat apps, now run by an independent foundation in the US |
| China | ||
| Moonshot AI | Beijing | Kimi Agent Swarm, up to 100 helper agents at once, a preview since January 2026 |
| Zhipu (Z.ai) | Beijing | AutoGLM operates a smartphone by voice command, since October 2024 |
| Alibaba | Hangzhou | The Qwen app orders food and books travel inside the chat, since January 2026 |
| ByteDance | Beijing | Doubao phone assistant reads the screen and acts across apps, first shown on a ZTE test phone in December 2025 |
| Manus | Singapore | General-purpose agent, founded in China; Meta announced its purchase in December 2025 |
Company pages, press releases and news reports, November 2026. No valuations: they change every few months and sources disagree.
Big companies are buying agent makers. Meta announced in December 2025 that it would buy Manus, a company founded in China in 2022 that later moved to Singapore. The terms were not disclosed. Cursor has been part of SpaceX since August 2026. In February 2026 OpenAI hired Peter Steinberger, the Austrian developer behind OpenClaw, to work on personal agents. OpenClaw stayed open source and is now run by an independent foundation.
Is there a European AI agent like ChatGPT? Mistral AI from Paris builds both the models and the agents, with its Vibe app (formerly Le Chat) and an Agents API for companies. H Company, also in Paris, focuses on agents that operate software the way a person does.
Are AI agents just hype? What the numbers say
Interest is real and growing fast, use is spreading unevenly, and many projects will be dropped.
Developers are trying agents at scale. Monthly downloads of five widely used JavaScript kits for building agents reached 93 million in October 2026. In November 2024, when only two of them were on npm, the figure was about 0.4 million. Searches show the same jump: in the US, searches for “AI agent” in 2026 were about 25 times their 2024 level, and in the US, the UK and Germany the term overtook “chatbot” that year. Over the last twelve months it was also ahead of “chatbot” in France, the Netherlands and Poland.
Use in companies. In McKinsey’s survey of 1,719 people in 97 countries, published in August 2026, 40% of respondents from organisations with more than $1 billion in annual revenue said they were scaling AI agents, up from 27% a year earlier. In smaller organisations the share stayed at 22%.
Forecasts. Gartner predicted in June 2025 that over 40% of agentic AI projects will be cancelled by the end of 2027, because of rising costs, unclear business value or weak risk controls. In the same release it predicted that at least 15% of day-to-day work decisions will be made by agentic AI on its own by 2028, up from zero in 2024. Both are forecasts, not measurements.
Are AI agents safe for company data?
They can be, if you treat an agent like a new employee with a login: only the access the job needs, a check on its work and a record of what it did. The risk is higher than with a chatbot, because an agent’s mistakes are actions.
Wrong actions. In July 2025 Jason Lemkin, founder of the SaaStr community, reported that the coding agent of the software company Replit had deleted a live production database during a code freeze, in an app he was building as an experiment. Replit’s chief executive Amjad Masad called it unacceptable and announced that development and production databases would be separated automatically, along with better rollback and a planning-only mode. Lemkin was later able to recover the data himself.
Prompt injection. An agent reads an email, a web page or a file that contains hidden instructions, and follows them. The security project OWASP puts prompt injection first on its list of risks for LLM applications. OpenAI wrote in December 2025 that prompt injection, like scams on the web, will probably never be fully solved, and that it works on reducing the risk over time.
Too much access. An agent can see everything its login can see. If it has the whole shared drive, one bad instruction puts the whole shared drive at risk.
Where the data goes. Every file an agent reads passes through the model. If the model runs on servers in the US or China, so do your files. And a provider based outside the EU can be subject to the laws of its home country even when its servers are in Europe. We explain what that means under European law in What is an LLM?
No record. Without a log, nobody can say later what the agent did and why.
- Read the invoice list
- Read contracts in the finance folder
- Draft emails
- Send an email
- Change a customer record
- Make a payment
- Delete files
- Open the HR folder
Agents that make decisions about people, for example by screening job applications, can fall under the high-risk rules of the EU AI Act. Our EU AI Act overview explains which uses count.
How to start with AI agents in your company
- Pick one boring task with a clear end. “Chase overdue invoices” is a good first task. “Improve our finance department” is too vague for any agent.
- Give it only the data it needs. And decide before you start where that data may be processed.
- Keep a person on the last click. Sending, paying, deleting and signing stay with a human until the agent has proved itself.
- Measure for a month. Time saved and mistakes made, before the agent gets more tasks or more access.
Zedar runs AI agents on your company’s files, on our servers in the EU or on a server in your office. Every answer shows the document it comes from, and more than 140 ready-made agents and tools are included.
See how Zedar handles this on your own documents.
Request a callAll sources checked in November 2026.
- Anthropic: Building effective agents, 19 December 2024
- Simon Willison: I think “agent” may finally have a widely enough agreed upon definition to be useful jargon now, 18 September 2025
- Anthropic: Introducing the Model Context Protocol, 25 November 2024
- Linux Foundation: Linux Foundation announces the formation of the Agentic AI Foundation, 9 December 2025
- OpenAI: Introducing ChatGPT agent, 17 July 2025, ChatGPT is now a partner for your most ambitious work, 9 July 2026, ChatGPT agent help page, and Continuously hardening ChatGPT Atlas against prompt injection, 22 December 2025
- Anthropic: Claude 3.7 Sonnet and Claude Code, 24 February 2025, and Introducing Claude 4, 22 May 2025
- Microsoft: Copilot Studio
- IBM: Types of AI agents
- Gartner: Gartner predicts over 40% of agentic AI projects will be canceled by end of 2027, 25 June 2025
- McKinsey: The state of AI in 2026: On the road to ROI, 25 August 2026
- Klarna: Klarna AI assistant handles two-thirds of customer service chats in its first month, 27 February 2024. Entrepreneur on the CEO’s interview with Bloomberg: Klarna is hiring customer service agents, 9 May 2025
- Fortune: AI coding tool Replit wiped a database, 23 July 2025
- OWASP: LLM01: Prompt injection
- Company pages and announcements: Salesforce Agentforce, Sierra, Cognition (Devin), Cursor joins SpaceX, Mistral Agents API, H Company, Parloa, Legora, n8n, OpenClaw, Hermes Agent
- Home cities: Mistral AI legal notice, Tech.eu on Parloa, 15 January 2026, Tech.eu on n8n, 9 October 2025, and TechCrunch on Legora, 10 March 2026
- OpenClaw: The Register, 16 February 2026, Fortune, 15 February 2026, Fortune on Peter Steinberger, 19 February 2026, and Peter Steinberger’s post
- Al Jazeera: Tech giant Meta buys Chinese-founded AI firm Manus, 30 December 2025
- Moonshot AI Kimi K2.5 and Agent Swarm: InfoQ, February 2026
- Zhipu AutoGLM: South China Morning Post, October 2024, and TechNode, 9 December 2025
- Alibaba Qwen app: Inside Retail Asia (Reuters), 15 January 2026
- ByteDance Doubao phone assistant: South China Morning Post, December 2025
- Google Trends, five years to November 2026, our own comparison
- npm registry download counts (api.npmjs.org) for @anthropic-ai/claude-agent-sdk, @langchain/langgraph, @mastra/core, @openai/agents and @google/adk, November 2024 to October 2026, our own analysis