The short answer
An AI agent is software that is given a goal and works toward it on its own. It decides which steps to take, uses tools to carry them out, looks at the results, and adjusts until the goal is met or it needs help.
The important part is the loop. A model that answers one question and stops is not an agent. A system that plans, acts, checks what happened and tries again is.
Agent, chatbot or script?
These three are often confused, because the same language model can sit inside any of them. The difference is in who decides what happens next.
| Script or workflow | Chatbot | Agent | |
|---|---|---|---|
| Who chooses the steps | A person, in advance | The user, one message at a time | The system, within limits you set |
| Handles unexpected input | Poorly. It fails or skips | Well, but only by replying | Can adapt its plan to what it finds |
| Takes actions in other tools | Yes, exactly as written | Usually not | Yes, through tools it is allowed to use |
| Predictability | High | Medium | Lower, so oversight matters more |
None of these is better in every case. A fixed script is the right choice when the process never changes. An agent earns its place when the work varies from one case to the next.
What an agent is made of
Most agents, however they are built, share the same five parts.
- A goal. A clear statement of what success looks like, such as "resolve this ticket" or "produce this week's brief".
- A model. The language model that reads the situation and decides what to do next.
- Tools. The things the agent can actually do: search, read a file, call an API, update a record, send a message. An agent can only affect what its tools let it reach.
- Memory. Context carried between steps, and sometimes between runs, so the agent does not start from nothing each time.
- A loop with limits. The cycle of deciding, acting and checking, bounded by rules about how long it may run and what it may do.
Where agents work well
Agents tend to be a good fit when the work has these traits:
- It has several steps, and the right next step depends on what the last one returned.
- It involves reading unstructured material such as emails, documents or web pages.
- It repeats often enough that automating it is worth the effort.
- A mistake can be caught and corrected before it causes real harm.
They are a poor fit when a single wrong action is costly or cannot be undone, when the rules are so strict that a script would do the job, or when nobody is available to review what the agent produced.
How to evaluate one
Before you let an agent act for you, ask these questions.
- What exactly can it do? Ask for the full list of tools and permissions, not a summary.
- What happens when it is unsure? A good agent stops and asks. A poor one guesses.
- Can I see what it did? You should be able to read a record of every step and every source it used.
- Where do people stay in control? Look for approval points on anything sensitive or hard to reverse.
- How is it tested? Try it on real examples from your own work, including awkward ones, not only on a demo.
Where to start
Pick one process that is repetitive, low in risk and easy to check. Run the agent alongside your current approach, with a person approving every outcome. Compare the results, fix what is wrong, and only then reduce the amount of review.
That path is slower than switching everything on at once, but it gives you evidence instead of hope. For more on designing those approval points, read Designing human-in-the-loop approvals for AI agents.
