Guides

AI automation or an AI agent? How to choose

By Abdul Asim ·

The short answer

AI automation runs a process whose steps you define in advance, with a language model doing specific jobs inside it, such as classifying, extracting or drafting. An AI agent decides its own next step at run time: which tool to call, in what order, and when it is finished. Most business processes need AI automation first, and an agent only for the parts where the path really changes from case to case.

I have shipped both. The reporting and quoting systems I built are automation with a model inside. The security-testing workflow I built has an agentic planner, fenced in by fixed steps. This guide is how I decide which one a process gets.

AI automation vs AI agents side by side

CriterionAI automationAI agent
Who decides the stepsYou, in codeThe model, at run time
Path through the processThe same on every runVaries with the input
Cost per runPredictable, a few model callsVaries with the number of steps taken
How you test itEach step against fixed casesOutcomes and paths across many cases
Typical failureOne step returns a wrong outputWrong tool, wrong order, a loop, or an action nobody expected
Best fitRecurring processes with clear rulesOpen tasks where the next step depends on the last result

Both use the same models. The real difference is who holds control flow. In automation, your code calls the model. In an agent, the model asks to call your code through tool use: as Anthropic's tool use documentation describes it, the model decides when a tool fits the request and returns a structured call that your application then runs. If you want the full picture of that loop, start with what an AI agent is.

When AI process automation is the right call

Choose automation when you can draw the process as a flowchart and the flowchart does not change. The model then does the parts that need language, and code does the rest. A fixed pipeline is easier to test, cheaper to run and simpler to explain to whoever signs off on it.

For Balto, I built a scheduled reporting workflow. A scheduler starts each report job. Call-related data is aggregated and checked for anomalies, the model writes findings and recommended actions from that analysis, the result becomes a PDF, and an AI quality checkpoint reviews the draft before it is stored and offered for download in the Balto Dashboard. Reported volume is around 9,800 customer reports a month. Nothing in that flow gains from a model choosing the order. The order is the business process.

For MavenIT's equipment-support quotes, I kept the model away from the price entirely. The model helps interpret requests and draft the quote, historical quotes are retrieved for context, and defined pricing rules calculate the number. When no suitable historical match exists, the case goes to a person instead of the model guessing. That is automation with AI, not an agent, and it keeps every price tied to the rules the business already agreed.

When an AI agent earns its place

An agent is worth its extra cost when the right next step genuinely depends on what the last step found, and you cannot list the paths in advance. Investigation, research across mixed sources and adaptive testing are the cases I see most.

Security testing of AI applications is one. For Odva AI, a language model plans tests against a target application, because a useful test plan depends on the target. But I still wrapped the agentic part in fixed steps: an authorized-scope gate before planning, human review of risky proposals before execution, and schema validation of every finding afterwards. The agent decides what to try. Code and people decide what is allowed.

There are also clear signs that an agent was the wrong choice. The traces show it taking the same three steps in the same order on almost every run. The team has written a long prompt that tells the agent exactly what to do first, second and third. Or reviewers keep asking why it chose a tool and nobody can answer. Each of these means the process was fixed all along, and turning it back into a plain workflow will make it cheaper and easier to debug.

That is the pattern I recommend for most teams: an agent only where judgement is needed, inside a workflow that stays fixed. The agentic AI hub explains how those pieces fit into one system.

Cost, latency and risk trade-offs

Cost. An automation run makes a known number of model calls, so you can price it per document or per report. An agent makes as many calls as it decides to, and each call carries the tool definitions as extra input tokens. Budget for the worst path, not the average one. I break down where the money goes in AI development cost.

Latency. Every agent step is a round trip to the model plus the tool. A process that needs an answer in seconds rarely tolerates five or six of them.

Risk. A broken automation step usually fails loudly on an input it was not built for. An agent can fail quietly by doing something plausible but wrong. OWASP calls this excessive agency and recommends narrow tools, minimal permissions and human approval for high-impact actions. Whichever you build, measure it against a fixed test set; I explain how in LLM evaluation.

Which business processes should you automate first?

Start with processes that are frequent, rule-bound and easy to check. A good first candidate usually has most of these traits:

  • It runs often enough that saving minutes per run adds up.
  • The inputs already exist in digital form, in a system you can read from.
  • Someone can tell a good output from a bad one quickly.
  • A mistake is cheap to catch before it reaches a customer.
  • Today, a person mostly copies, summarises or reformats information between systems.

Report preparation and document drafting score well on that list. In my reporting work for Balto and for Center for Creative Leadership, the steps were stable, the volume recurring and the output easy to review before release. At Center for Creative Leadership, team leads approve each report in Outlook before distribution, so automation never removed the human decision.

Leave for later anything that moves money, changes customer records or makes a decision with legal weight, unless a person approves each action. To rank candidates, I score each process on three numbers:

  1. Runs per month.
  2. Minutes of human work per run.
  3. Cost of an error that slips through.

Then I start with the process that has the highest runs times minutes, among those where an error is cheap to catch. One well-chosen first process teaches a team more than five pilots.

The hybrid most teams end up with

In practice the answer is rarely pure automation or a pure agent. It is a fixed workflow with one or two agentic steps inside, plus validation and approval where the stakes are high. Three questions settle where the line sits:

  • Can you draw the process as a fixed flowchart? Build automation.
  • Does the flowchart need a box that says "work out what to do next"? That box can be an agent, and only that box.
  • Does any step change money, customer data or a production system? Put a check or an approval in front of it, whichever you build.

If you add more than one agentic step, read multi-agent systems first: extra agents add handoffs that can fail. And if you have a process in mind and want a second opinion on where the line sits, my custom agentic AI system engagement starts with exactly that mapping, before any code.

Let's talk

Let's ship yours.

AI product, automation bottleneck, RAG use case, or operational workflow. Tell me what's slowing your team down, or what revenue you're leaving on the table.

Abdul Asim, AI / LLM Engineer