Blog & Insights

What is an AI agent, and when is one the right tool?

An AI agent is software in which a language model chooses the next step and uses tools to take it. Use one when the steps cannot be known in advance.

An AI agent is software in which a language model decides what to do next, uses tools to do it, reads the result, and repeats until the goal is met or it is told to stop. It is the right tool when the steps cannot be written down in advance and a wrong step is cheap to catch and undo. When the steps are known, ordinary automation with a model in one or two of the steps is cheaper and easier to test.

What makes something an agent

The word is used loosely, so it helps to have a definition you can hold a product against. Anthropic, in its guidance for teams that build these systems, separates two things. In a workflow, models and tools run along code paths that someone defined in advance. In an agent, the model directs its own process and its own use of tools.

An agent’s tools are the actions it can take: search a system, read a record, create a ticket, send a message.

The test is who chooses the steps. If a developer wrote the sequence, it is automation, however much AI is inside it. If the model chooses, it is an agent.

How it differs from automation and from an assistant

Who chooses the steps What it suits
Rule-based automation A developer, in code Decisions that can be written down completely
Workflow with a model in a step A developer. The model does one task Known steps with untidy input
Assistant The person using it Drafting, summarizing and answering questions on request
Agent The model, within limits you set Work where the next step depends on what the last one found

What a task for an agent looks like

Take an invoice that does not match its purchase order. Finding out why might mean looking up the order, checking the receiving record and reading the email thread with the supplier, and which of those is needed depends on what the first one shows. An agent with read access to those systems can work through it and hand a person its finding with the evidence.

Why the difference matters to IT

An agent is a new kind of user on your systems.

  • It acts under an identity. Whatever that account can read or change, the agent can.
  • Its path can differ from one run to the next. The same request can take a different route tomorrow, so testing means running many real cases and reading the steps as well as the result.
  • It can be steered by what it reads. A document, a web page or an email can contain text the model treats as an instruction. An agent that reads content from outside the company and can also take actions needs limits on those actions.

When an agent is the right tool

Use one when all of these are true.

  1. The steps cannot be written down in advance, because each one depends on what the last one found.
  2. The systems it needs can be reached through interfaces with permissions you control.
  3. A wrong step is cheap, visible and reversible, or a person approves before any step that is not.
  4. You can say what a good result is and test for it with real cases.
  5. There is enough of the work to repay building the agent, running it and supervising it. Each step is a call to a model, and each call costs money and time.

If the first is false, build the workflow. Where a decision in it can be written down completely, make that part a rule: When a Plain Rule Beats a Model explains how to tell. Anthropic’s guidance gives the same advice: find the simplest solution that works, and add complexity only when it is needed.

Where to start if you do need one

Start narrow, and start with read access only. Give the agent its own account with only the permissions the task requires, and cap the number of steps and the spend for each run. Log every action, and require a person’s approval for anything that touches money, customers or commitments. Logging and approval are the rule we build to.

AI agents vs. workflow automation covers the same decision for a business owner.

Common questions

Is a chatbot an agent? Usually not. A chatbot that answers questions from a set of documents is an assistant. It becomes an agent when it can take actions in other systems and chooses for itself which ones to take.

Is an agent that comes with software we already own different from one we build? The definition is the same. What differs is how much you can see and control. Ask the vendor what the agent may do, whose permissions it acts under, what is logged, and how you turn it off.

Do we need agents to get value from AI? No. Much of the work in a mid-market company follows known steps, and a workflow with a model in one or two of them covers it. An agent is for tasks where the path depends on what is found along the way.

If you have a process in mind and are not sure it needs an agent, bring it to a 30-minute intro call about AI & Automation.

Related service: AI & Automation

More like this, in your inbox. Subscribe for our latest thinking, resources, and events.

Get started

Not sure where to start? Start here.