AI agents, plainly

What an AI agent is, and what it isn't

The word now covers almost anything with a model inside. Here is what it means, and why it matters when you buy one.

By the duyan team · Updated · 3 min read

AI agents, plainly

In short

  • An AI agent is a program that uses a language model to choose its next step.
  • It acts through tools, such as a search, a mailbox or your accounts system.
  • A chatbot, a fixed workflow and a script often get called agents, though they aren't.
  • Most business jobs need an agent for only a step or two.
  • Before you buy one, ask what it can touch and what waits for a person.

An agent picks its own next step

An AI agent is a program that uses a language model to decide its next step. It then acts through tools, such as a search, a database or your email.

It works in a loop. It reads the task, picks a step, uses a tool and reads the result.

Then it picks the next step. It stops when the job is done or it hits a limit you set.

Anthropic describes agents as models using tools in a loop, steered by each result. OpenAI's guide stresses independence, meaning the agent carries out a task for you with little help.

How it works in practice

Take an agent that handles supplier invoices. It opens a new email, reads the PDF and looks up the supplier in your accounts.

If the amounts match the order, it drafts the entry. If they don't, it writes a note for a person and moves on.

Nobody wrote a rule for each supplier's layout. The model reads each one and chooses which tool to use next.

The parts are few. There is a model, some tools, written instructions and limits on what it may do.

The limits matter most. They decide what the agent can read, change and spend.

What gets mistaken for an agent

Three things are often sold as agents.

  • A chatbot. It answers questions in a window. If it can't act through tools, it doesn't do the work itself.
  • A workflow with one model step. The steps are fixed in code, and a model reads or writes one part. Anthropic calls this a workflow. It behaves the same way each time, so it is often the better choice.
  • A script or automation. It follows rules someone wrote, with no model at all. It is cheap and predictable. In our experience, it covers most steps in a back-office job.

The lines blur in practice. A product sold as an agent may be a fixed workflow underneath, and that is often good news.

What it means for a buyer

The freedom to choose steps makes an agent useful. It also makes the agent slower, more costly per job and harder to test.

Each extra step is another chance to go wrong. Both Anthropic and OpenAI advise starting with the simplest design that works.

So a good build uses an agent only where a step needs judgement, such as reading a messy document. Everything else should be plain code, which does the same thing each time and costs almost nothing to run.

An agent also acts with your keys. Its permissions decide how much harm a wrong step can do.

What to ask before you buy one

  • Which steps use a model, and which are plain code?
  • Which tools can it use, and with which permissions?
  • What does it do when it isn't sure?
  • Which actions wait for a person to approve?
  • How was it tested, and on whose cases?

A builder who knows the system can answer each of these in a line. If the answers stay vague, ask for them in writing.

Have a back⁠-⁠office job in mind?

We build software that does the retyping, with a model only in the steps that need one. A 2⁠-⁠week pilot is $2,400, and builds start at $15,000, fixed.

Sources

  1. Anthropic, "Building effective agents" (19 December 2024), anthropic.com (accessed 5 November 2026)
  2. OpenAI, "A practical guide to building agents", cdn.openai.com (accessed 5 November 2026)

Tell us the job

Bring a job to build or a role to fill. We reply within one working day, with questions or a next step.