AI Explained

What Is an AI Agent? A Plain-English Guide

An AI agent is a system where a language model decides its own next steps, choosing which tools to use and when, until a task is done. A chatbot answers one message at a time, and a workflow follows steps written in advance. Agents suit open-ended tasks, but they usually cost more and need more oversight.

Cover reading "It decides the next step" beside a white robotic arm moving game pieces along a glowing route on a small map board (AI-generated image)
AI-generated image

Agent turns up in a lot of AI announcements. Strip away the buzz and the idea is simple, and so is the question of when you actually need one.

The Short Answer

An AI agent is a system where a language model doesn’t just answer; it decides what to do next. It can choose a tool (search the web, read a file, run code, send a request), look at the result, and decide the following step, over and over until the task is done.

Anthropic’s engineering team draws a useful line between two kinds of system that use models with tools:

  • Workflows: the steps are fixed in code ahead of time. The model fills in parts, but the path is predictable.
  • Agents: the model directs its own process and tool use, keeping control of how it gets the task done.

Chatbot, Workflow, Agent: Spot the Difference

Chatbot Workflow Agent
Who decides the steps? You, one message at a time The developer, in advance The model, as it goes
Example Explain this error message Each morning, summarize new support tickets into a report Find out why sign-ups dropped and draft a fix
Predictability High High Lower
Typical cost per task Low Moderate Higher, because of many steps

Think of it like cooking. A chatbot answers one question about a recipe. A workflow follows the recipe card step by step. An agent is asked to make dinner from what’s in the fridge and works out the steps itself, tasting as it goes.

When an Agent Is Worth It

Anthropic’s guidance suggests starting with the simplest solution that works, and adding complexity only when needed. That may mean not building an agent at all. It notes that agentic systems often trade speed and cost for better results on a task. It also says agents fit open-ended problems where you can’t predict the number of steps or hard-code a fixed path.

Good fits:

  • research tasks with an unknown number of searches
  • multi-file coding changes
  • investigating a problem whose cause isn’t known

Often better as a workflow or a single call:

  • summarizing a document
  • tagging or extracting fields
  • anything with the same steps every time

Why Agents Cost More

Each step in an agent’s loop is at least one model call, and each call re-sends context: the goal, the conversation so far and the tool results. A task that takes 15 steps can use many times the tokens of a single answer. If the model also reasons before each step, OpenAI’s reasoning guide notes that those hidden reasoning tokens are billed as output too.

Did you know? Here’s a worked example. If an agent takes 15 steps and re-sends 10,000 tokens of context each time, that’s at least 150,000 input tokens. On a model charging $2 per 1M input tokens, that’s $0.30 per task, against $0.02 for a single call with the same context. That’s why per-token prices matter more for agents: every step multiplies them. Compare prices on our price board.

Staying Safe With Agents

Because agents act, mistakes can do more than produce a wrong sentence:

  1. Limit the tools. Give access only to what the task needs; read-only where possible.
  2. Ask before acting. Require a person’s approval for sending messages, spending money or deleting things.
  3. Set budgets. Cap steps, time and spend per task.
  4. Keep a log. Record each step and tool call, so you can see what happened.
  5. Test on safe data first.

What This Means for You

  • Developers: try the simplest version first: one call, then a workflow, then an agent only if the task really needs it; log every step.
  • Founders and team leads: agents can take on open-ended work, but budget for more tokens and plan where a person approves actions.
  • Curious beginners: an agent is an AI that can take several steps on its own, like a helper who checks results and decides what to do next.

Copy-Ready Agent Brief

Use this template before building or buying an agent:

  • Goal: ____
  • Tools it may use: ____ (read-only? write?)
  • Actions that need human approval: ____
  • Maximum steps / time / spend per task: ____
  • How we’ll know it worked: ____
  • What it must never do: ____

Which task on your list has steps you couldn’t write down in advance?

Bottom Line

An AI agent lets the model choose its own next steps and tools. That’s powerful for open-ended problems, but it’s slower, costlier and riskier than a single answer or a fixed workflow. Start simple, add agents where they earn their keep, and keep a person in the loop for actions. Learn more from sources in our Learn to build AI agents collection, check the basics in What Is a Token in AI?, and pick a model with our checklist. Want these updates by email? Sign up here, or follow new guides and data stories through our RSS feed.

Get the Weekly AI News Bay Email

The week’s biggest AI stories, model price changes and outages in one short email. The first issue goes out in early 2027; sign up now to get it.

Double opt-in: we email you a link to confirm. One-click unsubscribe in every email. Privacy policy.

Sources

Written by AI News Bay’s AI writers and checked by a separate AI auditor before publishing. Prices and uptime figures come from our own measurements. Spotted something out of date? Tell us.

Related on AI News Bay

More in AI Explained

Type a name, a topic or a format. Enter opens the full results.