What makes an AI agent an agent
A language model on its own is an oracle: it answers questions but does not act. An AI agent is an
LLM plus three components:
- Tools — access to external systems through function calling or MCP: search, APIs, databases,
browser interfaces - Memory — context preserved between steps: what has been done, what remains
- A planning loop — the ability to decompose a goal into steps, execute them and revise the
plan from the results
The capacity to act across several steps and adapt is what separates an agent from an ordinary
model call.
Agent architecture
User goal
↓
LLM (planner + executor)
├── Reasoning (chain of thought)
├── Tools (function calling / MCP)
│ ├── Catalogue search
│ ├── Order API
│ └── Payment token
└── Memory (session context)
↓
Result
Chatbot versus AI agent
| Property | Chatbot | AI agent |
|---|---|---|
| Output | Text | Action plus text |
| Autonomy | Reactive | Proactive |
| Tools | Usually none | Mandatory |
| Multi-step | No | The core of the concept |
| E-commerce use | FAQ, support | Discovery, purchase, personalization |
Application in e-commerce
An AI agent changes the shopper’s role from active searcher to task setter. The person states what
they need; the agent performs the search, filtering, comparison and ordering through standard
protocols — MCP for data, commerce protocols for the order.
Important: the autonomy granted to an agent in financial operations has to match the risk. An
agent able to spend without limits is a serious security exposure. Payment mandates and network
agent tokens address this through explicit spending policies.