Explainer · Updated November 28, 2026 · 4 minute read
What is an AI agent?
The short answer
An AI agent is software that uses an AI model to carry out a task on its own. You give it a goal, and it decides which steps to take, uses tools such as a web browser or a code editor, checks the results, and keeps going until the job is done or it needs your input.
How an agent differs from a chatbot
A chatbot answers one message at a time and then waits for you. An agent works through a longer task in a loop. It plans a step, takes an action, looks at what happened, and plans the next step.
The underlying model is often the same in both cases. What changes is the software around the model, which gives it tools and feeds the result of each action back to it.
What agents are used for today
Most real use so far falls into a few areas.
- Writing and reviewing code, which is the most established use so far.
- Researching a question across many web pages and summarizing the findings.
- Handling routine office work such as filling in forms, updating spreadsheets or sorting email.
- Operating apps on a computer or phone on a person's behalf.
What to watch out for
Agents can make mistakes that compound over many steps. They can also be misled by instructions hidden in a web page or document, an attack called prompt injection. Many products ask for your approval before an action that is hard to undo, such as sending a message or making a purchase. Leave those checks switched on.
Common questions
Is ChatGPT an AI agent?
ChatGPT is a chatbot that can also work as an agent. When it browses the web or completes a multi-step task for you, it is acting as one.
Are AI agents safe to use?
They are generally fine for low-stakes tasks where you review the result. Be careful about giving any agent access to accounts, payments or private files, because a mistake or a hijacked instruction then has real consequences.