Draw the task as a flowchart. If every box has an exit you can name in advance, stop: you need an automation, which is cheaper, faster and boringly reliable. Agents earn their keep only where the path cannot be drawn ahead of time.
Teams reach for agents first because the word is everywhere. Below are two decision questions, a grid, a set of guardrails and a build order that starts simple.
Plain definitions
A simple automation follows fixed steps. A form arrives; a row is added; a message goes out; a task appears. You decided every branch in advance, so the same input gives the same output, even if one box inside summarizes a message.
An agent differs in one respect. It decides what to do next. Handed a goal and a set of tools, it picks a tool, reads the result, picks again, and keeps looping until it believes the goal is met. Nobody drew the route. That flexibility is the entire value and the entire risk.
Between the two sits a useful middle ground. A workflow that reads an email, files it under one of five categories and routes it accordingly is still a flowchart. The classification is just a smarter box.
Two questions that decide most cases
How variable is the path?
List the steps for ten past examples of the task. If all ten follow the same sequence, even when details differ, you have an automation. If the sequence differs by case, with different tools or a different number of steps, variability is high. Inbound lead routing is low-variability. “Research this company and prepare a briefing” is high-variability, because what you look up depends on what you find.
How bad is a wrong move?
Ask what the worst realistic outcome is if the system does the wrong thing, and whether it can be undone. Drafting a summary that a person reads is low-risk. Sending emails to customers, moving money, deleting records or changing live prices is high-risk. An agent choosing its own actions in a high-risk area is where the worst stories tend to start.
The four-box grid
| Low risk | High risk | |
|---|---|---|
| Low variability | Simple automation. Build it and forget it. | Automation with approval gates and logging. |
| High variability | An agent is reasonable; review its output. | Agent proposes, a person approves each action. Or keep it human. |
Many small-business tasks sit in the top-left box. Build accordingly: more automations than agents.
A third question: how often does it run?
Frequency changes the economics. Say a task runs thousands of times a month: each run must be cheap and predictable, which favors automation. Say another runs a handful of times and eats an hour of a person’s day each time. That one can afford a slower, costlier agent, especially if a quick human review replaces the hour of research. Volume pushes you toward fixed paths. Rarity and variety push you the other way.
Which tasks suit which tool
Automations fit the repetitive plumbing: form data into a sheet, reminders, invoices from closed deals, tickets routed by category, scheduled posts, records synced between two systems, weekly reports.
Agents fit, under supervision, the open-ended digging. Researching a prospect from several sources. Triaging a messy shared inbox where each message needs different handling. Working out why a number changed across several systems. In each case a person reviews the output before it affects anyone.
A hypothetical walk-through
Say a small agency wants help with new leads. The first idea is an agent that reads each enquiry, researches the company, judges fit, writes a personalized reply and sends it. All of it, unattended.
Break it apart. Logging the enquiry is an automation. Sorting it into sales, support or spam is a judgment step inside that automation. Researching the company varies by case, so an agent is plausible, but only to produce a briefing a human reads. Deciding fit is a business call with consequences, so a person makes it. The reply is outward-facing and hard to retract, so a person approves a draft.
The result is three automated steps, one supervised agent and two human checkpoints. Less glamorous. It also works on the first Monday, and nobody has to apologize to a prospect.
The “judgment step” pattern
Much of what people hope to get from agents is available through judgment steps in ordinary workflows. A support flow can read a message, classify its topic, estimate urgency and draft a reply for approval, all inside a fixed route. A bookkeeping flow can read a receipt, pull out the amount and vendor and propose a category while the posting rule stays fixed. The language tool handles the messy middle. The structure around it handles everything that must be predictable. Easier to test, cheaper to run, simpler to explain to an auditor.
What agents cost that automations do not
- Variable spending. An agent that loops uses more steps on hard cases, so usage costs drift unless you cap steps and spend.
- Variable time. A fixed workflow usually finishes fast. An agent can take far longer and occasionally never finish.
- Harder testing. You cannot enumerate every path, so you test with samples and watch outcomes.
- Harder debugging. When a flow fails you see which box broke. When an agent fails, you read a trail of its reasoning and tool calls to work out why.
- More security surface. Giving software the ability to choose tools means giving it access to those tools. Text from an untrusted source, such as a customer email or a web page, can try to steer it. OWASP calls this indirect prompt injection and points to least privilege and human approval for risky actions as mitigations. Limit what it can touch.
Guardrails if you do build an agent
- Least access. Give it read-only access wherever possible. Separate accounts with narrow permissions, not your admin login.
- Step and spend caps. A hard limit on the number of actions and the money it can use per run.
- Approval for anything outward or irreversible. Sending, paying, deleting and publishing wait for a human.
- Logging. Record every tool call and result so you can reconstruct what happened.
- A stop switch. A single, obvious way to pause it.
- A review sample. A person reads a few runs each week, including the successes.
- Untrusted input handling. Treat text from outside as data, never as instructions, and keep sensitive tools out of reach of workflows that read it.
A sensible build order
Begin with the flowchart version, even if it looks too simple. Run it for a few weeks and note where it breaks: the cases where a human has to look, think and choose. Those failure points are your candidates for judgment steps. Add them one at a time as classification or drafting steps. Anthropic’s engineering guide to agents gives the same advice: look for the simplest solution that works, because agentic systems trade latency and cost for task performance. Consider an agent only when a single step must choose among several tools and loop on the results.
This order has a side benefit. By the time an agent arrives, you already own the logging, the approvals and a baseline. You can tell, with your own numbers, whether it beat the simpler version.
How to compare fairly
Pick a few dozen real past cases; fifty is a reasonable rule of thumb. Run the simple automation and the agent over the same set. Score accuracy, time, cost and the number of cases needing human rescue, and count the effort of reviewing outputs. Agents can win on odd cases and lose on cost and consistency. Close margin? Take the simpler one. Agent wins on a task where mistakes are cheap? Adopt it, with caps. Decide with your numbers, not the numbers in any article.
Signs you picked wrong
You picked an agent too early if its run costs vary wildly, if you keep adding rules to force it down one path, or if every output needs heavy editing. You picked an automation too early if the flow has dozens of branches for edge cases and keeps growing. A flow with dozens of branches is trying to be an agent without admitting it. Either simplify the task, move the messy part into a judgment step, or let a supervised agent handle that one corner.
Easy ways to undo your own work
Using an agent for a task you can describe in six steps. Giving it broad permissions for convenience. Judging it on a demo. Skipping logs. Measuring speed and ignoring the human review time that follows.
And mistaking confidence for correctness. Agents can report success fluently even when the work is wrong, so verify what they claim to have done.
A note on vocabulary: vendors use “agent” for everything from a chatbot with one tool to a system that runs for hours. When a product page promises agents, ask what it can do without asking permission, what it can touch, and how you see what it did. The answers tell you which category you are buying, whatever the label says.
Draw it on paper
Take the task you were about to hand to an agent and sketch it as a flowchart. Circle every box where you could not say in advance what comes next. No circles: build the automation. One or two: make those boxes judgment steps. A page full of circles: start small and keep a person on every outward action.
Frequently asked questions
What is the difference between an AI agent and an automation?
An automation follows steps you define in advance. An agent chooses its own next step toward a goal, picking tools and looping on results. The agent's flexibility brings variable cost, time and risk.
Do I need an AI agent for my business?
Often not. If a task can be drawn as a flowchart, a simple automation is cheaper and more reliable. Consider an agent when the path through the task genuinely varies and the output is reviewed by a person.
Are AI agents safe to give access to my systems?
Only with limits. Use least-privilege access, spend and step caps, approval for outward or irreversible actions, and logs. Treat text from outside sources as untrusted, since it can attempt to steer the agent.
Can an automation use AI without being an agent?
Yes. Many useful workflows include a classification, summarizing or drafting step inside a fixed sequence. The route stays predictable while the individual step handles messy language.
How do I test whether an agent beats a simple workflow?
Run both over the same fifty or so real past cases and compare accuracy, time, cost and how many cases needed human rescue. Include review effort, and prefer the simpler option when results are close.
Sources2
- anthropic.com/engineering/building-effective-agents
- genai.owasp.org/llmrisk/llm01-prompt-injection
Links open the original pages. Spotted an error? Tell us and we will check it.