Skip to content

Workflows or Agents: Not Every AI Feature Needs to Act on Its Own

The difference between a single model call, a fixed AI workflow and an autonomous agent, what each one costs in money, reliability and risk, and how to choose the simplest level that does the job. Based on guidance from Anthropic, OpenAI and OWASP, for business owners, campus system managers and IT teams.

Isometric illustration of three platforms from left to right: a single glowing model cube turning one document into one card, a row of three model cubes joined by fixed arrows with checkpoint gates between them, and one model cube with branching dotted paths leading to a database, a chart and other tools, a toolbox beside it and a hand about to press an orange confirm button

"Agent" Is Doing a Lot of Work in AI Proposals

Ask a vendor about adding AI to a helpdesk, an admissions office or a finance process, and the word that comes back most often is agent. An agent, the pitch goes, reads the request, decides what to do, uses your systems and finishes the job on its own.

Some problems really do need that. Many do not, and the industry has started to notice the difference. In June 2025, Gartner predicted that more than 40% of agentic AI projects will be cancelled by the end of 2027, because of rising costs, unclear business value or inadequate risk controls. The same announcement warned about "agent washing": existing chatbots, assistants and automation tools relabelled as agents. Gartner estimated that only about 130 of the thousands of vendors making agentic claims offer the real thing.

For an application owner, the useful question is not "agent or not". It is a narrower one: in this feature, who decides the next step, your application's code or the model? The answer sets the cost, the reliability, the security exposure and the effort needed to test the feature. This article explains the options, using the guidance that Anthropic and OpenAI have published for their own customers.

One Call, a Workflow, or an Agent

In Building Effective Agents (December 2024), Anthropic groups AI systems that do more than chat under the name "agentic systems", then draws one line through them:

  • Workflows are "systems where LLMs and tools are orchestrated through predefined code paths". The model does the reading and writing at each step, but the order of the steps is fixed in code.
  • Agents are "systems where LLMs dynamically direct their own processes and tool usage". The model decides which step comes next, which tool to call and when the job is finished.

Below both sits the simplest option: a single model call. The application sends one request, gets one answer and uses it. Anthropic calls the building block an "augmented LLM": a model that can be given retrieval (search over your documents), tools and memory. Even a single call can use these.

OpenAI's A Practical Guide to Building Agents (2025) draws a similar boundary. It states that applications which use a model but do not let it control how the work is carried out, "think simple chatbots, single-turn LLMs, or sentiment classifiers", are not agents. One note on vocabulary: OpenAI uses "workflow" to mean the series of steps needed to reach a user's goal, whoever decides them. In this article we use Anthropic's meaning: a workflow is a path written by developers.

Single callWorkflowAgent
Who decides the next stepApplication codeApplication codeThe model
Number of model callsOneFixed and knownVaries per task
Cost and response timeLowest, predictableHigher, predictableHighest, varies
How it is testedSample inputs and outputsEach step, plus the whole pathMany full runs, repeated
Typical useSummarise, classify, extractMulti-step processing with checksOpen-ended tasks with unknown steps

Most Useful Features Are a Single Call

A large share of practical AI features fit in one request:

  • summarising a long complaint so that staff can read it in ten seconds;
  • sorting a helpdesk ticket into finance, academic or IT;
  • pulling the name, student number and request type out of a scanned form and returning them as structured data that the application validates before saving;
  • drafting a reply that a staff member edits and sends.

Anthropic's advice is direct: for many applications, "optimizing single LLM calls with retrieval and in-context examples is usually enough". Good instructions, a few examples of the expected output and the right documents in the context do more for quality than extra machinery. Our earlier article, How an Application Talks to a Language Model, explains what goes into that one request and why answers vary.

A single call is also the easiest level to control. The application decides what the model sees, what happens to the answer and who approves it. Nothing happens that the code did not ask for.

Workflows: The Model Does the Steps, Your Code Draws the Map

When one call is not enough, the next level is a workflow. Anthropic describes five patterns, and most real features use one or two of them.

Prompt chaining. The task is split into steps, and each step works on the output of the last. Between steps, ordinary code can run a check, which Anthropic calls a "gate". A campus announcement, for example, can be drafted from bullet points, checked against the house style and the relevant regulation, then translated into English. If the check fails, the chain stops before the translation is wasted. Chaining fits tasks that split cleanly into fixed subtasks.

Routing. The input is classified first, then sent to the handler built for that category. Questions about tuition fees go to a flow that reads the fee schedule; questions about grades go to a flow that checks the student's records with the student's own permissions. Routing can also send easy questions to a smaller, cheaper model and hard ones to a more capable model.

Parallelisation. Several calls run at the same time and their results are combined in code. In sectioning, a task is cut into independent parts: one call answers the user while another screens the request for misuse. In voting, the same task runs several times, for example three separate reviews of a contract clause, and the application acts only when enough of them agree.

Orchestrator and workers. A coordinating model breaks the task into subtasks, hands them to worker calls and assembles the results. The difference from parallelisation is that the subtasks are not known in advance. A question such as "which of our faculty regulations mention thesis deadlines, and do they conflict?" may need two documents or twenty.

Evaluator and optimiser. One call produces a draft, another reviews it against stated criteria, and the loop repeats until the review passes or a limit is reached. Anthropic notes that this works when there are clear evaluation criteria and when refinement brings measurable improvement, such as a translation that must keep specific terms.

The model still does the reading, writing and judging inside each step, which is where the value of AI is. What a workflow keeps in code is the map: the order of steps, the checks between them, the number of calls and the actions allowed. That is what makes a workflow testable step by step, predictable in cost, and easy to explain when something goes wrong. Anthropic sums up the trade-off: "workflows offer predictability and consistency for well-defined tasks".

When an Agent Earns Its Place

Agents fit a different kind of problem. Anthropic describes them as suited to "open-ended problems where it's difficult or impossible to predict the required number of steps", where a fixed path cannot be written in advance, and in environments where the model's decisions can be trusted. Its own examples are coding agents, which must find and change an unknown number of files, and computer use, where the model operates a screen.

OpenAI's guide gives three signals that a process may benefit from an agent:

  1. Complex decision-making: judgement, exceptions and context, such as approving refunds in customer service.
  2. Rules that are hard to maintain: rule sets that have grown so large that every update is costly or error-prone, such as vendor security reviews.
  3. Heavy reliance on unstructured data: reading documents and conversations, such as processing a home insurance claim.

The same section ends with a sentence that deserves as much attention as the criteria: "Before committing to building an agent, validate that your use case can meet these criteria clearly. Otherwise, a deterministic solution may suffice."

What Autonomy Costs

Handing control to the model has a price, and it is paid in four currencies.

Money and time. Anthropic notes that agentic systems "often trade latency and cost for better task performance". An agent may call the model many more times than a workflow would for the same task, and the number changes from task to task, so the monthly bill is harder to forecast.

Errors that compound. Each step depends on the one before. Anthropic warns that "the autonomous nature of agents means higher costs, and the potential for compounding errors". A wrong assumption at step two quietly shapes steps three to ten.

Consistency. An agent that succeeds once in a demo may not succeed every time. The τ-bench benchmark (Yao et al., 2024) tested agents on realistic customer-service tasks with tools and policy rules. Even state-of-the-art agents at the time, such as one built on gpt-4o, succeeded on fewer than half of the tasks, and in the retail domain the chance of solving the same task in all of eight attempts fell below 25%. Newer models score higher, but the lesson holds: judge an agent by how often it succeeds over many repeated runs, not by its best run.

Complexity that does not pay off. Researchers at Princeton (Kapoor et al., 2024) compared published agent designs with simple baselines and concluded that many state-of-the-art agents were "needlessly complex and costly". On a well-known coding benchmark, simple approaches such as retrying the model a few times outperformed many elaborate agent architectures at much lower cost. Their recommendation applies to buyers as much as to researchers: measure accuracy and cost together.

Security exposure. OWASP's LLM06:2025 Excessive Agency describes the risk of a model that can do more than its task needs. It traces the problem to three causes: excessive functionality (tools the feature does not need), excessive permissions (access wider than the user's) and excessive autonomy (high-impact actions without a person's approval). An agent has all three by default unless the design removes them. Combined with prompt injection, where text in an email or a document steers the model, an over-equipped agent becomes a way into your systems. Our article on prompt injection covers that risk, and the "Rule of Two" for judging it, in detail.

Choosing the Level: Climb One Step at a Time

Anthropic's core recommendation is to find "the simplest solution possible, and only increasing complexity when needed", which, it adds, might mean not building an agentic system at all. In practice, we recommend climbing a ladder and stopping at the first step that works:

  1. No AI. If the process needs a clearer form, a validation rule or an approval flow, build that. Our article Does Your Process Need AI, or Just a Better Form? helps with this decision.
  2. One call. Summarise, classify, extract or draft, with a person or code using the result.
  3. A workflow. Several fixed steps, with checks in code between them.
  4. An agent. Only for the part of the process where the steps really cannot be known in advance.

Often the answer is a mix: a workflow for the predictable majority of requests, with an agent, or a person, handling the rest.

If an agent is justified, the published guidance agrees on how to keep it under control:

  • Start with one agent. OpenAI's guide recommends maximising a single agent's capabilities before splitting work across several, because each extra agent adds coordination and new ways to fail.
  • Set limits. A maximum number of steps per task, a cost ceiling, and a time-out. Anthropic recommends stopping conditions such as a maximum number of iterations.
  • Give it few tools, with narrow permissions. Each tool should do one thing, under the current user's access rights. Authorisation is checked by your systems, not decided by the model, as OWASP recommends.
  • Put a person in front of high-risk actions. OpenAI lists cancelling orders, authorising large refunds and making payments as examples. For a campus, changing grades or sending messages to all students belong on the same list. Enforce the confirmation in code, not only in the prompt.
  • Escalate after repeated failure. If the agent fails to understand a request after several attempts, it should hand over to staff rather than keep trying.
  • Show its plan and log its actions. Anthropic lists transparency, explicitly showing the agent's planning steps, as one of its three core principles. Logs of every tool call are what an incident review will need.
  • Test in a sandbox, then start small. Run many repeated tasks against test data before the agent touches production. OpenAI's guide advises starting small and validating with real users.

Questions to Ask When Someone Proposes an "AI Agent"

Whether the feature is built in-house or bought, these questions show quickly what is actually being offered:

  1. Which steps are fixed in code, and which does the model decide? If the answer is "the model decides everything", ask why a workflow would not do.
  2. What can it do, and with whose permissions? Read only, draft for review, or change records directly?
  3. Where does a person confirm, and is that confirmation enforced by the application?
  4. What are the limits per task? Maximum steps, maximum cost, and what happens when they are reached.
  5. How was it tested? Ask for success rates over many repeated runs on realistic cases, not a single demo.
  6. What is logged, and who reviews it?

Clear answers usually come from a team that has thought about the trade-offs. Vague ones, or a promise that the agent "handles everything", are a reason to look more closely, especially given how many products now carry the label.

Summary

AI features sit on a spectrum. A single model call handles most summarising, classifying and extracting. A workflow strings several calls together on a path that your code controls, with checks between the steps. An agent lets the model choose its own steps and tools, which suits open-ended tasks but costs more, is harder to make consistent and widens the security exposure.

The guidance from the companies that build these models is the same: start with the simplest level that solves the problem, and move up only when you can show the extra autonomy is worth what it costs. For most business and campus processes, that means one call or a workflow, with an agent kept for the parts that truly need one.

If you are planning an AI feature and want to work out which level it needs, get in touch.

References