Skip to content

AI agents

What an AI agent is and how it differs from a chatbot

In short

An AI agent is a system in which a language model decides which steps to take and which tools to use to complete a task: it looks up data, fills in forms or triggers actions in other systems, and repeats until it is done. A chatbot converses and answers; an agent acts. That is why it needs scoped permissions, human approval for anything with consequences and a record of everything it does.

An AI agent is a system in which a language model decides which steps to take and which tools to use to complete a task. It looks up data, fills in forms or triggers actions in other systems, checks the result and decides the next step, until it is done. That is the difference from a chatbot: a chatbot converses and answers, an agent acts.

Acting is what makes an agent useful, and also what makes careful design essential. An agent connected to the ERP or the case management system can save hours of repetitive work, but only if you scope what it can read, what it can change and who approves what matters.

What exactly is an AI agent?

An AI agent is a language model that uses tools in a loop, guided by what its environment returns, until it reaches a goal. That is how Anthropic describes it in its guide Building effective agents, published in December 2024.

Anthropic distinguishes two types within what it calls agentic systems:

  • Workflows: the model and the tools are combined along a path defined in advance in code. For example, reading an email, extracting the details of an order and putting them in a table, always in that order.
  • Agents: the model itself directs the process and decides which tool to use at each moment. For example, receiving “prepare the case file for this application” and deciding which documents to look for, which details to check and what is missing.

An agent’s loop always has the same shape:

  1. It receives a goal and the context (instructions, documents, the details of the case).
  2. It decides the next step: look up a piece of data, call a system, draft something or ask a person.
  3. It carries out that step with a tool.
  4. It looks at the result and goes back to step 2, until it is done or needs someone to decide.

How is an AI agent different from a chatbot?

A chatbot answers within a conversation; an AI agent carries out actions in other systems to complete a task. Between the two there is a very useful middle ground: the automated workflow, in which AI performs specific steps of a fixed process.

Chatbot AI-powered workflow AI agent
What it does Converses and answers questions Runs fixed steps of a process Decides the steps to complete a task
Who decides the order The person asking The code, defined in advance The model, within the limits it is given
Access to systems Usually none, or read-only Whatever each step needs Several tools, with scoped read and write access
Main risk A wrong answer A failed step or a badly extracted field A wrong action in a real system
When it fits Frequent questions, basic support Repetitive, well-defined processes Variable tasks that need judgement

The “agent” label is used for almost anything today. Gartner calls it agent washing: rebranding assistants, robotic process automation (RPA) and chatbots as agents without real agentic capabilities. In June 2025 it estimated that, of the thousands of vendors claiming to offer agentic AI, only about 130 actually did. Before buying, ask what the system decides on its own and which systems it acts on.

What does an agent need to work with a company’s systems?

An agent needs five pieces: a model, tools, context, permissions and a record of what it does. The model is the easiest piece to get. The other four depend on each organization.

  1. A language model that understands the instructions and decides the steps.
  2. Tools: the connections to the systems it has to use, such as the ERP, the CRM, email, the document management system or a database. The Model Context Protocol (MCP) is an open standard for these connections, supported by assistants such as Claude and ChatGPT; its documentation compares it to a USB-C port for AI applications. A system connected through MCP can be used from different assistants and agents.
  3. Context and instructions: the documents, the process rules and the criteria a person on the team would apply.
  4. Permissions and identity: what it may read, what it may write and on whose behalf it acts.
  5. Traces: a record of every step, every query and every change, so you can review what it did and why.

Connecting a system is not the same as granting full access. Being able to talk to the ERP does not mean the agent can change any field: that is decided separately, system by system.

Which business tasks fit an AI agent today?

Tasks fit when they combine information from several sources, follow known rules with exceptions and today take up someone’s hours moving data from one place to another. High-impact decisions without review do not fit, and neither do processes so fixed that an automated workflow handles them better.

Task What the agent does What a person reviews
Orders arriving by email or as PDFs Reads the order, checks the customer and the stock and prepares it in the ERP Orders with doubts or out of the ordinary
Administrative case files Gathers the documents, checks what is missing and drafts the request for it The proposed decision and the signature
Internal questions on regulations or procedures Searches the organization’s documents and answers citing the source Answers that will be sent outside
Reconciling data between systems Compares records, spots differences and proposes corrections The corrections before they are applied

Anthropic advises starting with the simplest solution that works and adding complexity only when needed. Its reasons: agentic systems tend to improve results at the cost of more latency and more cost, and a predictable workflow is better for well-defined tasks. In practice, many projects start as a workflow and evolve into an agent when cases appear that the workflow does not cover.

What are the risks of an AI agent and how are they controlled?

The main risk is that an agent does something it should not in a real system, because it misread an instruction or because someone slipped manipulated text into what it reads. The OWASP Gen AI Security Project calls this excessive agency (LLM06:2025). According to OWASP, it almost always has one of three causes: too much functionality, too many permissions or too much autonomy.

The measures OWASP recommends translate into concrete design rules:

  • Only the tools it needs. Small, specific tools are better than a generic one, such as open access to a shell or to any URL.
  • Least privilege. If the agent only has to look things up, it gets read-only access. Write access is opened field by field.
  • Acting on the user’s behalf. Actions run with the identity and permissions of the person using it, not with an account that can access everything.
  • Human approval for anything with consequences. A payment, a shipment or a decision goes through a person before it runs.
  • Authorization in the target system. The ERP or the case management system decides whether an action is allowed; that decision is not left to the model.
  • Logging and limits. Traces and rate limits do not prevent mistakes, but they reduce their reach and make them reviewable.

Anthropic adds one more: test the agent thoroughly in a sandboxed environment, with the appropriate guardrails, before letting it work with real data.

Failing to control these risks is expensive. In June 2025 Gartner predicted that over 40% of agentic AI projects will be canceled by the end of 2027. The causes it gave are escalating costs, unclear business value and inadequate risk controls.

What does the EU AI Act say about agents that talk to people?

If an agent interacts directly with people, such as customers, suppliers or citizens, since 2 August 2026 it has to be designed so that they know they are talking to an AI. That is required by Article 50(1) of Regulation (EU) 2024/1689, the Artificial Intelligence Act, unless it is obvious to a reasonably well-informed person, given the circumstances and the context.

Regulation (EU) 2026/1744, known as the Digital Omnibus on AI, pushed the obligations for high-risk systems back to December 2027 and August 2028, but it did not postpone this transparency obligation. If the agent operates in areas the regulation treats as high-risk, such as access to essential public services, further obligations apply. It is worth reviewing each case with whoever handles legal matters.

How do you get started with an AI agent in a company?

You start with a bounded process, with the agent in read-only mode and a person reviewing every proposal before it is applied. Once the proposals are reliable, write permissions are opened step by step and the outcome is measured.

  1. Pick a specific process with a clear cost today: hours spent copying data, case files piling up, orders that take too long to register.
  2. Document the real rules with the people doing the work, exceptions included.
  3. Connect read-only and check that the agent proposes what a person would do.
  4. Open write access only where needed, with approval for anything with consequences.
  5. Measure in production: time saved, errors and the cases the agent cannot resolve.

At Referent we build custom AI agents that work with each organization’s documents and systems: they query the ERP, prepare case files and run tasks with scoped permissions. We do it as forward deployed engineers, with a four-phase method that starts with on-site discovery and ends with the system in production, with traces of everything it does. In the public sector, deployment can happen on the administration’s own infrastructure when data cannot leave.

Frequently asked questions

Do you always need an AI agent?

No. If the task always follows the same steps, an automated workflow with a single model call is usually enough, and it is cheaper and more predictable. Anthropic recommends starting with the simplest solution and adding complexity only when needed, because agentic systems gain performance at the cost of more latency and more cost.

What is MCP and why does it matter for agents?

The Model Context Protocol (MCP) is an open standard for connecting AI applications to external systems: data sources, tools and workflows. It lets you connect a system once and use it from different assistants and agents. It does not solve permissions: what the agent may read or write is still decided in each system.

Can an AI agent make mistakes when carrying out a task?

Yes. A model can misread an instruction or receive manipulated text. That is why it gets only the tools and permissions it needs, actions with consequences go through a person's approval and every step is logged so it can be reviewed and corrected.

Do you have to tell customers they are talking to an AI agent?

Yes, if the agent interacts directly with people. Since 2 August 2026, Article 50(1) of Regulation (EU) 2024/1689 requires these systems to be designed so that people know they are interacting with an AI, unless it is obvious from the context.

Sources

Consulted while writing this article.

  1. Building effective agents. Anthropic.
  2. Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027. Gartner.
  3. LLM06:2025 Excessive Agency. OWASP Gen AI Security Project.
  4. What is the Model Context Protocol (MCP)?. Model Context Protocol.
  5. Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act). EUR-Lex.
  6. Regulation (EU) 2026/1744 amending Regulation (EU) 2024/1689 (Digital Omnibus on AI). EUR-Lex.

Want an AI agent to work with your systems?

Tell us which task you want to delegate and which systems it involves. We review it with our engineering team and suggest where to start, with scoped permissions.

Talk to us

Let's talk about your project

Tell us which process you want to improve. We review it with our engineering team and write back to set up a first conversation.

All fields are required.

Controller
REFERENT SOFTWARE SL
Purpose
To answer your enquiry
Legal basis
Your consent
Recipients
We do not share your data with third parties unless required by law
Rights
Access, rectification, erasure, objection, restriction and portability, as explained in the privacy policy