AI agents are everywhere in 2026. Every software vendor has one, and many business owners now ask a simple question: "Should we get an AI agent for this?"
Often the honest answer is no. Not because agents don't work, but because a lot of business problems are solved better by something simpler: a scheduled script, a fixed workflow, or one well-written call to a language model. Those options are cheaper to run, faster, and much easier to test.
This article explains how to tell the difference. It covers what an agent really adds, the warning signs that you don't need one, the simpler tools that usually work better, and a short decision guide you can use before you spend money on anything.
What an agent actually adds
In our guide on what makes an AI system agentic, we defined an agent as a loop: a language model chooses an action, your code runs it, the model sees the result, and it decides what to do next. It keeps going until the task is done or a limit is reached.
The key part is that the model decides the steps at run time. That is the one thing an agent gives you that other approaches don't. It is valuable when you can't know the path in advance, for example researching a question across several sources, where each search depends on what the last one found.
That same freedom has a price:
- Cost. Each step is another model call, and each call re-sends the growing conversation. A task that loops ten times costs far more than one call.
- Speed. Steps run one after another. An agent that takes thirty seconds feels slow next to a script that takes half a second.
- Unpredictability. The same input can take a different path on a different day. That makes bugs harder to reproduce.
- Testing. You can't simply check that step 3 always follows step 2. You need many test runs and a way to judge the results.
- Risk. An agent with tools can take actions nobody planned. The California v. OpenAI case shows how badly that can go when testing is thin.
If you don't need the model to choose the steps, you are paying all of these costs for nothing.
Five signs you don't need an agent
1. You can write the steps down
Ask the person who does the task today to describe it. If the answer is a list like "open the order, check the stock, email the customer, update the sheet", the steps are known. A known list of steps is a workflow, and code can follow it exactly, every time, for almost no cost.
2. The same input should always give the same output
Invoices, payroll, stock levels, tax figures and anything to do with money must be correct and repeatable. Language models are probabilistic. Even with careful prompts, they can make small mistakes with numbers. For rules-based work, ordinary code is the right tool, and it can be tested line by line.
3. The job is moving data between systems
"Every new website inquiry should appear in our CRM and send us a WhatsApp alert" is an integration problem, not an intelligence problem. An API call or an off-the-shelf connector handles it in milliseconds. Adding a model in the middle only adds cost and a new way to fail.
4. Nothing needs to be understood or written
Sending reminders, generating a weekly report from a database, resizing images, backing up files: none of these involve reading messy language or writing new text. If there is no language involved, there is usually no reason for a language model.
5. A mistake would be expensive and hard to undo
If the action deletes records, sends money, or emails every customer, a fixed process with a human approval step is safer than a model deciding on its own. You can still use AI to draft or suggest, but a person or a rule should make the final call.
The simpler options, from cheapest to most flexible
Most automation fits one of four levels. Start at the top and move down only when the level above can't do the job.
| Option | How it works | Good for | Typical weakness |
|---|---|---|---|
| Rules and scripts | Fixed code, often run on a schedule | Reports, reminders, syncs, backups, calculations | Breaks when inputs are messy or unexpected |
| Workflow tools and integrations | Triggers and steps connected between apps | Form to CRM, new order to notification, file to storage | Gets hard to manage when there are many branches |
| Single model call inside a workflow | Code runs the steps; one step asks an LLM to read or write | Classifying emails, extracting fields, drafting replies, summaries | Needs checks on the model's output |
| Agent | The model chooses tools and steps in a loop | Open-ended research, multi-step tasks with unknown paths | Cost, speed, testing and risk, as above |
The third level is the one most businesses overlook. It gives you most of the benefit of AI with very little of the risk.
The middle ground: AI as one step in a fixed workflow
Take a common example: a shared inbox that receives quote requests, complaints and job applications all mixed together.
An agent approach would give a model access to the inbox, the CRM and email, and tell it to "handle incoming messages". It might work. It would also be hard to predict, hard to test, and capable of replying to the wrong person.
A workflow approach keeps your code in charge and uses the model for the one thing code can't do well, which is understanding the message:
- A new email arrives. Your code fetches it.
- One model call classifies it and pulls out the key fields.
- Your code checks the result against a fixed list of allowed values.
- Your code routes it: quotes to the CRM, complaints to a manager, applications to HR.
Here is step 2 in Python, using the Anthropic SDK and structured output so the result is always valid JSON:
import json
import anthropic
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY
CATEGORIES = ["quote_request", "complaint", "job_application", "other"]
SCHEMA = {
"type": "object",
"properties": {
"category": {"type": "string", "enum": CATEGORIES},
"customer_name": {"type": "string"}, # empty if not given
"summary": {"type": "string"},
},
"required": ["category", "customer_name", "summary"],
"additionalProperties": False,
}
def classify(email_text: str) -> dict:
response = client.messages.create(
model="claude-haiku-5-5", # a small, fast model is enough here
max_tokens=300,
system=(
"Classify the business email. Use 'other' if unsure. "
"The summary is one short sentence."
),
messages=[{"role": "user", "content": email_text}],
output_config={"format": {"type": "json_schema", "schema": SCHEMA}},
)
if response.stop_reason != "end_turn": # declined or cut off
return {"category": "other", "customer_name": "", "summary": ""}
result = json.loads(response.content[0].text)
# Your code, not the model, has the final say
if result["category"] not in CATEGORIES:
result["category"] = "other"
return resultEverything around this function is ordinary code: fetching the email, saving to the CRM, sending the alert. The model never touches your systems directly. It reads one message and returns one small, checked answer.
This pattern has several advantages over an agent:
- It is cheap. One call per email, with a small model.
- It is fast. Usually a second or two.
- It is testable. Collect fifty real emails, run them through, and check the categories. Do it again after every prompt change.
- It fails safely. If the model is unsure, the email goes to "other", and a person looks at it.
When an agent is the right choice
None of this means agents are a bad idea. They earn their place when:
- The path depends on what you find. Research, troubleshooting and investigation tasks, where step 4 can't be known until step 3 is done. Our Web Research Agent project is a good example of this kind of task.
- The inputs vary too much for fixed rules. Customer conversations that can go in many directions, like the WhatsApp AI assistant we built, need a model that can decide how to respond.
- The tools are many and the combinations are endless. If writing a workflow would mean hundreds of branches, letting a model choose from a set of well-defined tools can be simpler. Protocols like MCP make those tools easier to connect.
- A slower, costlier answer is still worth it. If the task saves a person an hour, thirty seconds and a few cents per run is a good deal.
Even then, keep the agent's tools narrow, require approval for anything with real side effects, and log every step.
A quick decision guide
Before you build or buy anything, answer these questions in order:
- Can the task be done with fixed rules? If yes, write a script or use a workflow tool. Stop here.
- Is there one step that needs reading or writing language? If yes, add a single model call to that step, and keep code in charge of everything else. Stop here.
- Does the model need to decide what to do next, based on what it finds? If yes, consider an agent, with step limits, narrow tools and human approval for side effects.
- Could a mistake cost real money or harm a customer? Whatever you chose above, add a human check before that action.
Most business tasks stop at question 1 or 2.
A real-world example: missed-call callbacks
Missed calls are easy to forget, and a promised "I'll call you back at 4" often slips. It is tempting to imagine an AI agent that "manages your callbacks".
Our Smart Callback Reminder Android app takes the workflow approach instead. Most of it is ordinary code: the app detects a missed call, saves the promised callback time, and schedules an exact-time reminder with Android's alarm system. None of that needs a model, and all of it has to work every time.
AI does one narrow job. When a call is missed, the app asks Google's Gemini model to write a short SMS reply of under 160 characters. Settings let the user turn the SMS feature off or skip saved contacts. That is the pattern from this article in a real product: fixed steps in code, and a model only where writing is needed.
Frequently asked questions
Is an AI agent better than automation?
Not in general. An agent is one kind of automation, suited to tasks where the steps can't be planned in advance. For tasks with known steps, rules-based automation is usually cheaper, faster and more reliable.
What is the difference between an AI workflow and an AI agent?
In a workflow, your code decides the order of the steps and may call a model for some of them. In an agent, the model decides which step to take next. Workflows are predictable. Agents are flexible.
Can I start with a workflow and add an agent later?
Yes, and it is often the best path. A workflow shows you where the real difficulties are. If one step keeps needing judgment that rules can't capture, that step is a good candidate for an agent, and the rest of the workflow can stay as it is.
Are AI agents expensive to run?
They can be. Each step is a model call, and long tasks re-send a growing amount of text. Step limits, smaller models and short, focused tasks keep costs under control.
Takeaways
- An agent's one real advantage is that the model chooses the steps. If you already know the steps, you don't need one.
- Rules and integrations handle most business automation better than any model.
- A single model call inside a fixed workflow gives you most of the value of AI with far less cost and risk.
- Use an agent when the path depends on what is found, and give it narrow tools, limits and human checkpoints.
- Test every AI step on real examples before you trust it.
The best automation is often the most boring one: it runs quietly in the background and does the same thing correctly every day. Start there, and add intelligence only where it earns its place.