What an AI agent is
An AI agent is software in which an AI model decides which steps to take and which tools to use to reach a goal. A chatbot answers a message. An agent can look something up, run a calculation, fill in a form or call another program, check the result and decide what to do next.
The word is older than today's language models. Russell and Norvig's textbook Artificial Intelligence: A Modern Approach devotes its second chapter to “Intelligent Agents”, and in that tradition an agent is anything that perceives its environment and acts on it. IBM's example of the simplest type is a thermostat. OpenAI describes what changed with language models: “Advances in reasoning, multimodality, and tool use have unlocked a new category of LLM-powered systems known as agents.”
The companies that build agents describe the term in their own words. The common ground is a goal, some autonomy and tools. They differ on whether the model has to steer the process itself:
| Provider | How it defines an AI agent |
|---|---|
| Anthropic (December 2024) | “systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks” |
| OpenAI (practical guide) | “Agents are systems that independently accomplish tasks on your behalf.” The agent “leverages an LLM to manage workflow execution and make decisions.” |
| Google Cloud (2026) | “software systems that use AI to pursue goals and complete tasks on behalf of users”, showing “reasoning, planning, and memory” |
| IBM | “a system that autonomously performs tasks by designing workflows with available tools” |
Only Anthropic and OpenAI make the model's control over the process part of the definition. Google Cloud and IBM describe autonomy and goals without saying who decides the order of steps. IBM adds that agents “require goals and predefined rules defined by humans.”
How an AI agent works
An agent runs in a loop. It receives a goal, the model decides on a next step, a tool carries it out, and the result goes back to the model, which decides again. Anthropic sums it up: agents “are typically just LLMs using tools based on environmental feedback in a loop.”
The parts of that loop, as the providers describe them:
- Model. The language model reads the goal and the results so far and chooses the next action. OpenAI's Agents SDK puts it plainly: “An agent is a large language model (LLM) configured with instructions, tools, and optional runtime behavior such as handoffs, guardrails, and structured outputs.”
- Tools. Search, code execution, a database, a browser or another program. OpenAI writes that an agent “dynamically selects the appropriate tools depending on the workflow’s current state”. One open standard for connecting tools to an agent is the Model Context Protocol.
- Feedback. Anthropic stresses that the agent needs “ground truth” from the environment at each step, for example the output of a tool call or of code it ran.
- Stopping. According to Anthropic, agents “can then pause for human feedback at checkpoints or when encountering blockers”, and it is “also common to include stopping conditions (such as a maximum number of iterations) to maintain control.” OpenAI describes the same: the agent “can halt execution and transfer control back to the user.”
Research is one application of this loop: the agent searches, reads, and decides what to search next. That case has its own entry under agentic search.
The agent loop
Goal
set by a person
Loop
Model
decides the next step
Tool
carries it out
searchcodebrowser
Result
returns to the model
Until one of two exits
Done
goal reached
Pause
hand back to a person
Workflowfixed order in code
Agentthe model picks the next step
AI agent vs workflow, chatbot, LLM and assistant
The term is used loosely, and the providers draw lines in different places:
| Term | What it is |
|---|---|
| Workflow | Anthropic: “systems where LLMs and tools are orchestrated through predefined code paths”. The order of steps is fixed in code. |
| AI agent | The model directs the steps and the tool use itself. |
| Chatbot | Not an agent, according to OpenAI, when the model does not control a workflow: “think simple chatbots, single-turn LLMs, or sentiment classifiers”. |
| LLM | The model inside the agent. On its own it produces text; see large language model. |
| AI assistant | Google Cloud: “less autonomous, requiring user input and direction”. |
| Bot | Google Cloud: “the least autonomous, typically following pre-programmed rules”. |
The definitions do not fully agree. In OpenAI's SDK an agent is an LLM with instructions and tools. For Anthropic it is a system in which LLMs steer the process. Both describe a model that chooses actions and uses tools.
Types of AI agents
IBM writes: “There are 5 main types of AI agents: simple reflex agents, model-based reflex agents, goal-based agents, utility-based agents and learning agents.” Some overviews in the US search results of 4 December 2026 count seven. IBM's five types differ in how the agent decides, from fixed rules to learning:
| Type | How it decides (IBM) |
|---|---|
| Simple reflex | Follows “condition-action rules” without considering past experiences. IBM's example is a thermostat. |
| Model-based reflex | Uses the same kind of rules plus “an internal model of the world” that tracks the current state. |
| Goal-based | Uses “planning and reasoning to choose actions” that move it closer to a goal. |
| Utility-based | Scores possible outcomes with “a utility function” and picks the best one. |
| Learning | “improves its performance over time by adapting to new experiences and data”. |
IBM places systems built on language models at the learning end of the range: agents “can range from simple rule-based systems to advanced learning systems powered by large language models (LLMs) that adapt and improve over time.”
Examples
OpenAI launched ChatGPT agent on 17 July 2025 with the words: “ChatGPT now thinks and acts, proactively choosing from a toolbox of agentic skills to complete tasks for you using its own computer.” As of 4 December 2026, OpenAI marks that launch post as outdated and points to newer products.
Two further kinds of agent have their own entries. An AI browser has an agent mode in which it takes the steps on a website itself. In agentic commerce, an agent looks for products, compares offers and, where the merchant allows it, completes the purchase.
AI agent and agentic AI
Anthropic's terms give a clear way to separate the two. It writes that some use “agent” for “fully autonomous systems that operate independently over extended periods”, while others mean “more prescriptive implementations that follow predefined workflows”. Its own choice: “At Anthropic, we categorize all these variations as agentic systems”. Read with these terms, agentic AI is the wider category and an AI agent is one kind within it, the one in which the model directs the process. A fixed workflow that calls an LLM at set points is agentic in this wider sense, but not an agent.
Limits and risks
Cost and speed. Anthropic writes that “Agentic systems often trade latency and cost for better task performance”, and recommends “finding the simplest solution possible, and only increasing complexity when needed. This might mean not building agentic systems at all.”
Control. The goal and the rules come from people. IBM notes that agents “require goals and predefined rules defined by humans”, and OpenAI's guide describes guardrails as “a layered defense mechanism”: “While a single one is unlikely to provide sufficient protection, using multiple, specialized guardrails together creates more resilient agents.”
Untrusted input. An agent that reads web pages or documents also reads text written by others. Instructions hidden in that text can steer the agent, an attack known as prompt injection. How this applies to agents on websites is covered under WebMCP and AI browser.
AI agents and websites
Agents that act on the web for people touch several standards. The related entries describe them:
- Agentic web: the term for a web in which agents act for people, and the ways an agent reaches a site.
- A2A protocol: how agents talk to other agents.
- Model Context Protocol: how an agent is connected to tools and data.
- WebMCP: a browser interface through which a website offers tools to an agent.
Source
- Anthropic, “Building effective agents” (published 19 December 2024). Source for the agent and workflow definitions, the loop, stopping, cost and agentic systems (retrieved 2026-12-04): https://www.anthropic.com/research/building-effective-agents
- OpenAI, “A practical guide to building agents” (PDF). Source for the definition, tool selection, halting, non-agents and guardrails (retrieved 2026-12-04): https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
- OpenAI Agents SDK (Python), “Agents”. Source for the SDK definition (retrieved 2026-12-04): https://openai.github.io/openai-agents-python/agents/
- Google Cloud, “What are AI agents?” (last updated 2026). Source for the definition and the comparison with assistants and bots (retrieved 2026-12-04): https://cloud.google.com/discover/what-are-ai-agents
- IBM, “What are AI agents?”. Source for the definition and human-set goals (retrieved 2026-12-04): https://www.ibm.com/think/topics/ai-agents
- IBM, “Types of AI agents”. Source for the five types and their descriptions (retrieved 2026-12-04): https://www.ibm.com/think/topics/ai-agent-types
- OpenAI, “Introducing ChatGPT agent” (17 July 2025). Source for the launch and the outdated notice (retrieved 2026-12-04): https://openai.com/index/introducing-chatgpt-agent/
- Russell and Norvig, Artificial Intelligence: A Modern Approach, 4th edition, table of contents. Source for the chapter “Intelligent Agents” (retrieved 2026-12-04): https://aima.cs.berkeley.edu/
Frequently asked questions
What is the difference between an AI agent and a chatbot?
A chatbot answers messages. An AI agent uses a model to decide on steps and call tools until a goal is reached. OpenAI's guide counts simple chatbots and single-turn LLM calls as not being agents, and Google Cloud describes bots as the least autonomous, typically following pre-programmed rules.
Is ChatGPT an AI agent?
A plain chat that only answers is not an agent by OpenAI's own definition. OpenAI launched an agent mode, ChatGPT agent, on 17 July 2025, describing it as choosing from a toolbox of agentic skills to complete tasks on its own computer. As of 4 December 2026, OpenAI marks that launch post as outdated.
What is the difference between an AI agent and agentic AI?
In Anthropic's terms, agentic systems cover both fixed workflows and agents, so agentic AI is the wider category. An AI agent is the kind in which the model directs its own process and tool use.
What are the types of AI agents?
IBM names five: simple reflex, model-based reflex, goal-based, utility-based and learning agents. Some overviews count seven.
What is the difference between an AI agent and an LLM?
An LLM is a model that produces text. An agent puts such a model in a loop with instructions and tools, so it can act and react to results. OpenAI's Agents SDK describes an agent as an LLM configured with instructions and tools.