An AI agent is a system that uses an LLM to make decisions about how to accomplish a goal, including which actions to take, while interacting with tools and its environment.
There's no single universally agreed-upon definition, but most agentic systems share these traits:
- A goal or task specified by a user.
- An LLM at the core, doing the "thinking."
- A set of tools the LLM can use to take actions (call APIs, search the web, run code, read files, send emails, etc.).
- A loop in which the LLM repeatedly decides what to do, takes an action, observes the result, and decides what to do next, until the goal is accomplished or the system gives up.
Contrast this with a plain LLM:
| Plain LLM (Chatbot) | Agent |
|---|---|
| Generates one response | Takes multiple steps |
| No external actions | Calls tools to act on the world |
| Stops after responding | Loops until task complete |
| No long-term plan | Plans and adjusts |
A Quick Analogy
A plain LLM is like a knowledgeable friend you can call on the phone.
You ask a question, they give an answer.
An agent is like hiring an assistant.
You give them a task ("plan my trip to Tokyo"), and they go off and do things — make phone calls, send emails, check websites, make reservations — checking in with you as needed and reporting back when done.
The fundamental shift: from answering to doing.