What is an AI agent?
An AI agent is a software system that uses a language model to decide which steps to take and which tools to use to complete a task on a person's behalf, rather than just answering a question. It looks up data, calls outside services, checks the result of each step, and stops or hands control back when it finishes or gets stuck.
Key takeaways
- An AI agent decides its own steps and tools; a workflow that merely uses AI follows a path someone fixed in code beforehand.
- A chatbot that only answers is not an agent: what sets an agent apart is that it carries out the task, checks the result and knows when to stop.
- An agent acts through tools: searching a catalog, creating a cart, looking up an order. Protocols like MCP standardize how those tools are offered to it.
- The specifications call for a person in the loop: whoever uses the agent should be able to see and reject an action before it happens.
In ecommerce, "agent" gets used for almost everything: the chatbot in the corner of the site, an automation that sends emails, the sales rep who answers the phone. Here an AI agent is something more precise: a program that takes an assignment and decides for itself the steps to complete it, using tools such as searching a catalog or creating a cart. It matters to a store because that program already visits stores on shoppers' behalf, and what it finds depends on what the store lets it read and do.
How it works
OpenAI defines it in one sentence: an agent is a system that completes tasks on your behalf with a high degree of independence. Its guide to building them asks for three traits. The agent uses an LLM (large language model) to direct execution and make decisions, recognizes when it has finished and corrects its actions if needed, and halts and hands control back to the user if something fails. It also has access to tools to query outside systems and act on them, and it picks which one to use depending on the state of the task, within defined limits. The same guide rules out applications that plug in a language model without letting it control the flow: a simple chatbot, a single-turn answer or a sentiment classifier are not agents.[1]OpenAI. A practical guide to building agents
Anthropic draws the line in the same place, in different words. It calls anything that combines models and tools an agentic system, and inside that it separates two things: workflows, where the model and the tools follow paths defined beforehand in code, and agents, where the model dynamically directs its own process and its use of tools.[2]Anthropic, engineering blog. Building effective agents In practice, an agent works in a loop: it acts, looks at what the environment returns at each step (a tool's result, say) to see whether it is making progress, can stop to ask a person for help, and usually has a stopping condition, such as a maximum number of steps. Anthropic recommends starting with the simplest solution possible, because an agent trades latency and cost for better results on open-ended tasks.[2]Anthropic, engineering blog. Building effective agents
Tools are the piece that turns a model that talks into one that acts. The model's ability to request that a function run is tool calling, and the MCP (Model Context Protocol) standardizes how a server offers those tools to any application. Its specification defines them as model-controlled, discovered and invoked by the model according to context, and adds that there should always be a human in the loop with the ability to deny a call.[3]Model Context Protocol. Tools (Model Context Protocol, specification 2026-07-28)
When the task is buying, questions come up that a search does not have. Google sums them up when presenting its payments protocol for agents: proving that the user gave the agent authority for this specific purchase, that the agent's request reflects what the user wanted, and who is accountable if the transaction is fraudulent or wrong.[4]Google Cloud, official blog. Announcing Agent Payments Protocol (AP2) For buying inside ChatGPT, OpenAI describes its assistant as the user's AI agent, which passes information between the buyer and the merchant the way a personal shopper would.[5]OpenAI. Buy it in ChatGPT: Instant Checkout and the Agentic Commerce Protocol
In a store
A fictional example: a shopper tells an assistant, "I'm looking for a waterproof 30-liter backpack under $130 that arrives before Friday." An agent solves it in steps, and each step asks something different of the store:
| Step | What the agent does | What it needs from the store |
|---|---|---|
| 1 | Searches for backpacks by capacity, material and price | A catalog it can query, with capacity and waterproofing as data and not just in a photo |
| 2 | Opens the two or three candidates | Up-to-date price and stock, by size or color |
| 3 | Checks the delivery time | Delivery times and shipping costs it can read, not just in a PDF |
| 4 | Suggests an option and asks for confirmation | A stable link to the product or a cart it can create |
| 5 | Hands the purchase over to payment | The store's checkout, or an integration with the platform's protocol |
If at step 1 the waterproofing is only in an image, the agent does not see it and the backpack is left out, even if it is the best answer. What the agent cannot read does not exist for it.
What gets confused
Calling any chatbot an agent. If the assistant on your site answers questions with a language model but does not decide steps, use tools or check what it does, OpenAI does not count it as an agent.[1]OpenAI. A practical guide to building agents The difference matters when buying software: a vendor selling "an agent" should be able to say which tools it uses and when it stops.
How to check
- Ask for the list of tools. A real agent can show which tools it has and what each one does: read, write or pay.[3]Model Context Protocol. Tools (Model Context Protocol, specification 2026-07-28)
- See who confirms. Before the agent does anything that changes data or moves money, there has to be a step where a person sees it and can reject it.[3]Model Context Protocol. Tools (Model Context Protocol, specification 2026-07-28)
- Ask how it stops. An agent should have a stopping condition, such as a maximum number of steps, and hand control back when it gets stuck.[2]Anthropic, engineering blog. Building effective agents[1]OpenAI. A practical guide to building agents
- Test it against your catalog. Give an assistant with search a shopping task in your category and note which of your store's data it used and which it could not find.
Related concept: agentic AI
Agentic AI is the field, and the agent is the concrete system. Anthropic uses "agentic systems" for the whole set, which includes both workflows with fixed paths and agents that decide their own path.[2]Anthropic, engineering blog. Building effective agents So not everything agentic is an agent: a process that summarizes reviews with a model and always follows the same steps is a workflow, even if it uses AI. For a store, the useful question is who decides the next step, the code or the model.
To keep going, agentic commerce applies all of this to buying, and the agentic commerce reading path lays out the protocols an agent uses to talk to a store.
Synonyms
- English
- AI agent, LLM agent
- Español
- agente de inteligencia artificial
Sources
- [1] OpenAI. A practical guide to building agents. Accessed . ↑ ↑ ↑
- [2] Anthropic, engineering blog. Building effective agents. Accessed . ↑ ↑ ↑ ↑
- [3] Model Context Protocol. Tools (Model Context Protocol, specification 2026-07-28). Accessed . ↑ ↑ ↑
- [4] Google Cloud, official blog. Announcing Agent Payments Protocol (AP2). Accessed . ↑
- [5] OpenAI. Buy it in ChatGPT: Instant Checkout and the Agentic Commerce Protocol. Accessed . ↑
Change history
- First English version.
This definition is published under CC BY 4.0. Reuse this definition freely, crediting Clione with a link to this page.
Related terms
Agentic AI
What agentic AI is, how it differs from generative AI and from an AI agent, and what it already does on its own in an online purchase.
Tool calling
What tool calling or function calling is, why the model asks for the function and the store runs it, and which tools read or act on your catalog.
MCP
What MCP (Model Context Protocol) is, how it connects an AI assistant to data and tools, what changed in July 2026 and where it fits in your store.
Agentic commerce
What agentic commerce is, how discovering, recommending and buying separate, and what works today in ChatGPT and Google versus what is only announced.
Autonomous vs assisted agents
The difference between autonomous and assisted AI agents, what a human in the loop is and what changes for your store when nobody confirms the cart.
LLM
What an LLM is, how it predicts the text it writes, why it makes up facts and what ChatGPT or Gemini do with your store's product page.
Make your catalog easy for bots to read
Clione fills every product page with what bots read best: the JSON-LD graph with its structured data, the meta description and the FAQs. You review and press Push; then we check your live store so it all stays published.