What is an AI agent?
An AI agent is a program that receives a goal and chooses the steps needed to reach it. It looks up the information it needs and uses software it has access to, such as email, a CRM, or a spreadsheet. After each step, it checks the result before moving on.
Albert López·Founder of DelegIA·Updated
What is an intelligent agent in AI?
The term agent has been used in textbooks for decades. Stuart Russell and Peter Norvig devote a chapter of their widely used artificial intelligence textbook to intelligent agents, which they define as systems that perceive their surroundings and act on them. A thermostat that turns on the heat is an example of an intelligent agent under that definition, even though it does nothing especially clever. [1]
Language models, such as those used by ChatGPT, Claude, and Gemini, have changed what these programs can do. A program can now read an email regardless of how it's worded, understand the request, and choose what to do next. Today, when people talk about artificial intelligence agents, they usually mean a language model with permission to use tools and work toward a goal.
You may also see them called generative AI agents. These agents use generative AI, which can write text or create images, to reason and write what each step requires.
The same word, two eras
- 1ThermostatSenses the temperature and follows a fixed rule
- 2AI agentA language model with tools that works toward a goal
What an AI agent can do
Suppose a customer emails your company's shared inbox with the subject line "Order 2214: two boxes missing."
With fixed-step automation, someone defines the path during setup. It may use AI to recognize that the email reports an order issue, but it always takes the same action afterward, such as forwarding it to Operations.
An agent with the goal of resolving order issues and permission to read the company's ERP system chooses its next step based on what it finds:
Look up the order
It looks up order 2214 and opens its packing slip.
Received emailOrder 2214
- Subject
- Two boxes missing
- Packing slip
- Opened
Ten of the twelve boxes shipped
If the packing slip shows that ten of the twelve boxes ordered were shipped, the mistake happened in the warehouse. The agent drafts a reply about shipping the two missing boxes and prepares a notification for Operations.
Packing slipWarehouse
- Ordered
- 12 boxes
- Shipped
- 10 boxes
- Prepares
- Reply and notification for Operations
All twelve boxes shipped
If all twelve boxes shipped, the problem is in transit. The agent checks the carrier's tracking information and drafts a reply based on what it finds.
Packing slipShipping
- Ordered
- 12 boxes
- Shipped
- 12 boxes
- Checks
- Carrier tracking
The order does not exist
If the number doesn't match an order, the agent passes the email to a person without replying. It includes a record of what it searched.
Order not foundHuman review
- Order 2214
- Does not exist
- Reply
- None
- Passes to
- A person, with the search record
In this example, the agent can read and prepare drafts, but it can't send them. A person reviews its work, replies to the customer, and requests the replacement shipment. You can expand the agent's permissions once it has shown it can handle the task correctly. Choosing each step using the tools and permissions you've given it is one of the defining characteristics of an intelligent agent. Other examples include an intelligent agent that prepares a quote from an inquiry or checks a supplier's invoices.
How it differs from automation, a chatbot, or an assistant
These four terms often get mixed together, and many products combine several of them. The difference between an agent and automation is who chooses the path. In automation, a person defines it during setup, even if it branches or uses AI for one step. An agent's model chooses the path as it goes, using the tools available to it. Anthropic, the company behind Claude, makes this distinction: workflows follow paths defined in code, while agents decide what to do and which tool to use. [2]
Chatbot and assistant describe how you interact with the program: by having a conversation or asking for help. So a chatbot can have an agent behind it, and an assistant can have an agent mode.
| Term | What it tells you about the program |
|---|---|
| Automation | A person defines the path during setup |
| Agent | The model chooses the path as it goes |
| Chatbot | You interact with it through conversation; it can have an agent behind it |
| Assistant | You ask it for help; it can have an agent mode |
The full comparison, with examples of each, is in the article "AI agent vs chatbot: how assistants fit in."
How an AI agent works
OpenAI's guide to building agents describes three parts of an intelligent AI agent's architecture: the model, tools, and instructions. These explain how agents work; any additional components depend on the task. [3]
- Choose a stepUsing the model and instructions
- Take the stepUsing a tool
- Check the resultWhat the tool returned
- Choose the next stepUntil the goal is met or it encounters something it cannot resolve
The agent repeats this loop until it reaches its goal or runs into something it can't resolve. Planning lets it break a long task into steps and change their order when something doesn't go as expected, as in the packing slip example.
An autonomous AI agent's architecture may also include the following components, depending on the task:
- Task memoryA record of what the agent has already done on the current task so it doesn't repeat steps. Many agents need only this kind of memory.
- Information saved between tasksData kept for the next task, such as a customer's preferences or an earlier correction.
- Document retrievalFinding the passage it needs in a manual, price list, or contract before answering. Using those passages to write an answer is called RAG.
Using an agent doesn't retrain the model inside it. What can change is the information it saves between tasks, its instructions, or the examples it works from. Some agents update that information themselves based on results and feedback. Google and IBM describe these as agents that improve with experience. In other systems, a person makes those changes. If someone shows you an agent, ask which approach it uses. [4][5][6][7]
Is ChatGPT an AI agent?
When you chat with ChatGPT, it works as an assistant: you ask, and it answers.
OpenAI has also offered agent features within ChatGPT that browse websites, click, and fill out forms on their own. They ask for confirmation before a consequential action such as a purchase. Their names and availability vary by plan and over time. [8][10]
Other chat tools offer similar features under the name "agent mode": you give the AI a task, and it works through the steps until it finishes. Some products are even marketed as AI super agents that handle many tasks in sequence.
Agents also appear in business software, such as SAP's Joule Agents. SAP distinguishes between Joule Assistants, which understand requests and coordinate the work, and agents, which carry out the steps in a process. [9]
When comparing these products with another agent, ask:
- What task does it perform?
- Which tools can it use?
- What starts it?A person's request, an incoming email, or a scheduled time of day.
- Which of your company's rules can you give it?
What is an autonomous AI agent?
The types of intelligent agents in AI differ in how much each decides on its own. Some intelligent agent systems propose actions and wait for a person to approve each one, like the order agent above. By definition, autonomous agent systems complete the task on their own and flag only exceptions. Agents are available for almost every department. Those designed for a particular industry are often called vertical AI agents.
For examples of each type by department, see "AI agents for business."Explore agent types
Where an AI agent can go wrong
Hallucinations
A language model can fill a gap with something that sounds plausible but is false. This is called a hallucination. In the order example, the agent is instructed to answer only with data it has read in the packing slip or tracking information. If it can't find that data, it must pass the case to a person. OpenAI's guide recommends the same response for high-impact actions and repeated failures: stop and ask for help. [3]
Cost and time
Cost and time depend on how often the agent calls the model, how many tools it uses, and how many times it goes through the loop before finishing. For work that always follows the same path, fixed-step automation is usually faster and cheaper. An agent handles the steps that require a choice. [2]
"AI agents for business" has examples by department. You can also request a free call to discuss what an agent could do in your business.
See AI agents for businessSources
Definition and how agents work
- Stuart Russell and Peter Norvig, Artificial Intelligence: A Modern Approach, chapter 2, "Intelligent Agents" Accessed November 26, 2026.
- Anthropic, Building effective agents, December 19, 2024 Accessed November 26, 2026.
- OpenAI, A practical guide to building agents, 2025 Accessed November 26, 2026.
Memory, documents, and learning
- LangChain, Memory overview Accessed November 26, 2026.
- AWS, What is Retrieval-Augmented Generation (RAG)? Accessed November 26, 2026.
- Google Cloud, What are AI agents? Accessed November 26, 2026.
- IBM, What are AI agents? Accessed November 26, 2026.
Products mentioned
- OpenAI Help Center, ChatGPT agent Accessed November 26, 2026.
- SAP, Joule Agents and Joule Assistants Accessed November 26, 2026.
- OpenAI, Introducing ChatGPT agent, July 17, 2025 Accessed November 26, 2026.

Albert López
Founder of DelegIA
He works with small and mid-sized businesses in Spain to decide where artificial intelligence makes sense, put the agreed systems in place, and support the teams that use them. He writes these entries based on what he learns working with each business.
Last reviewed:
From the glossary
Browse the glossary- Agentic AIAI that receives a goal and works toward it using the software it can access, doing more than answering questions.
- Multi-agent systemSeveral AI agents working on the same job, each with its own task and tools.
- LLMThe language model inside ChatGPT, Claude, or Gemini: it reads what you write and drafts the response.
- Human in the loopAn AI setup in which a person reviews, corrects, or approves what the system proposes before it takes effect.
From the blog
Browse all articles
How to build an AI agent for your businessThe five things an agent needs to work in your business, plus a complete tutorial using n8n and Claude.
AI agent vs chatbot: how assistants fit inWho chooses the steps in each system, how they handle the same example request, and which one suits the work you need to do.
AI implementation mistakes and how to avoid themThe mistakes we most often see in businesses that have already tried AI, how to spot them, and what to change before trying again.