Does the task need to choose its own steps?
Invoice processing may involve reading a PDF, checking an order, flagging differences and posting approved data to accounting. Most of those steps can follow rules already known to the business. Reading a varied document may be the part that benefits from a model.
Before building an agent, separate the fixed steps from decisions that depend on new information. That shows where an ordinary workflow is sufficient and where an agent might help.
Agent or workflow: the one difference that matters
Strip away the marketing and the difference is simple.
A workflow is a sequence you design. Step one, then step two, then a branch on a condition you defined. A model can sit inside any step, for example to classify an email or pull fields out of a contract, but the path through the steps is fixed by your code.
An agent decides its own path. You give it a goal and a set of tools, such as search, a database query or an API that updates a record, and it chooses which tool to call next based on what the last call returned. It loops until it believes the goal is met.
That freedom is the whole point of an agent, and it is also the whole cost. Every decision the model makes is a decision you did not make, cannot fully predict and have to test for.
Four signs your task does not need an agent
The steps are always the same
If you can draw the process as a flowchart and it covers nearly every real case, you have a workflow. Invoice intake (see invoice processing automation), onboarding emails, weekly reporting, moving data between two systems: these follow the same route every time. Letting a model rediscover that route on each run adds latency, cost and a new way to fail, and gives you nothing back.
A single mistake is unacceptable
Agents make mistakes in ways that are hard to anticipate. They call the right tool with the wrong argument, stop one step early, or confidently report success after a silent failure. You can reduce this with guardrails and review steps, but you cannot remove it.
So if the task moves money, changes legal records or sends something to customers that cannot be taken back, ask whether you really want a system that improvises. A deterministic process with a model doing one narrow, checkable step is a much easier thing to sign off.
There is nothing to call
An agent is only as useful as its tools. If the task is "summarize this document" or "draft a reply to this ticket", there is no sequence of actions to plan. That is a single model call with a good prompt and good context. Wrapping it in an agent loop does not make the summary better. It makes it slower.
Nobody has time to test it
This one is less obvious and probably the most common reason agent projects disappoint. An agent needs a set of realistic scenarios with known good outcomes, run every time you change a prompt, a tool or the model underneath. Without that, you are judging the system by a handful of demos, and demos are exactly where agents look best.
If there is no budget for building and maintaining that test suite, there is no budget for an agent. Build something simpler that you can verify by reading the code.
What to build instead
When an agent is the wrong fit, the replacement is rarely "no AI at all". It is usually one of these.
A workflow with one model step
This covers most real requests. The process is code: fetch the document, call the model to extract or classify, validate the result against rules, route it. The model does the part that needs reading or judgment, and everything around it is predictable. Our page on workflow automation covers this shape in more detail.
A single, well-prompted call
For drafting, summarizing, translating or answering from provided context, one call with the right instructions and the right input is enough. Spend the effort on the context you pass in and on checking the output, not on orchestration.
Retrieval plus a call
When the hard part is finding the right information, for example answering staff questions from internal documents, the fix is better search feeding the model, not more autonomy. The model answers; the retrieval decides what it gets to see.
Plain code
When the rules are already clear, implement them in code and test the exceptions. This usually requires less upkeep than involving a model in each decision.
When an agent is worth it
None of this means agents are a fad. They earn their cost in a specific kind of task.
- The path depends on what you find. Researching a sales lead is a good example. What the agent searches next depends on what the last search turned up, and no fixed flowchart covers every company.
- The inputs vary too much for rules. Support tickets that range from password resets to billing disputes to bug reports can need different tools in a different order each time.
- A wrong step is cheap to undo. Reading, searching and drafting are safe. If the agent wanders, you lose a few cents and a few seconds.
- A person checks the result anyway. If a human approves the final action, the agent can do the legwork while the risky decision stays with someone accountable.
Even then, agents work best on a short leash: a narrow set of tools, credentials limited to what each tool needs, a cap on steps and spend, and a log of every action. In practice that looks like a workflow with an agent step inside, not an agent with free rein.
A quick test before you start
Before committing to an agent, write down answers to these questions. If most answers point left, build a workflow.
- Can you list the steps in order for nine out of ten cases? If yes, workflow.
- What happens if the system takes a wrong action and nobody notices for a day? If the answer involves money, customers or compliance, keep a person in the loop or keep the path fixed.
- Which tools would the agent call? If the list is empty or has one item, you do not need an agent.
- Who will build and maintain the scenario tests, and how often will they run? If nobody, stop here.
- What does one run cost, and how many runs per day do you expect? Agents make several model calls per task. Multiply before you build.
If the task passes this test, an agent is a reasonable choice.
Write out the task before choosing an agent
Take the task you have in mind and write it out as numbered steps, including the exceptions people handle by hand today. Then mark each step: rule, lookup, or judgment. If only one or two steps are judgment, you have your answer. Build the workflow, put a model on those steps, and measure it for a month. If the exceptions keep piling up in ways no rule can capture, that is the moment an agent starts to make sense, and you will have the data to prove it. Our page on AI agent development explains how we scope and constrain an agent when it is warranted.


