agentsworkflowsautomationsovereign

AI Agent vs AI Workflow: What Is the Actual Difference?

The difference is who decides the next step. A sixty-second test to tell an AI agent from an AI workflow, three scenarios, when an agent is the wrong answer, and what each one costs to run.

Author
Travis Piepho
Published
Read time
8 min read

The difference is who decides the next step. In a workflow, you decided the sequence in advance and the software executes it. In an agent, the software decides the sequence at runtime based on what it finds. If you can draw the whole thing as a flowchart before it runs, it is a workflow, and you should probably build it as one because it will be cheaper and more reliable.

That paragraph is the whole article. Everything below is the working-out, because the distinction is simple to state and surprisingly hard to apply when a vendor is standing in front of you using both words interchangeably.

What is an AI workflow?

An AI workflow is a fixed sequence of steps where at least one step calls a language model. You wrote the sequence. The software runs it the same way every time.

A concrete example from our own operations: a form submission arrives, a script extracts the fields, a model step classifies the inquiry into one of five categories, a lookup table routes it to the right inbox, and a templated acknowledgement goes out. Five steps. One of them uses a model. The order never changes.

The important property is that the model is doing a narrow, well-defined job inside a box you built. It classifies. It does not decide whether classification was the right thing to do, and it cannot choose to skip the lookup table and email someone directly instead.

That is not a limitation. That is the point. Workflows are predictable, cheap to run, and easy to test, precisely because the model is not in charge.

What is an AI agent?

An AI agent is software that is given a goal and a set of tools, and decides for itself which tool to use next based on what it has learned so far. You did not write the sequence. The agent produces one at runtime.

The same form submission, handled by an agent, looks different. The agent reads the inquiry, notices the sender is an existing customer with an open invoice, decides to pull the invoice history before classifying, discovers a payment landed yesterday, and drafts a reply that acknowledges the payment and answers the actual question. Nobody wrote that branch. The agent found it.

Two things make this an agent rather than a workflow. First, the sequence of tool calls was not fixed in advance. Second, the agent evaluated its own intermediate results and changed course because of them.

The cost of that flexibility is that you now have to govern it. An agent that can decide to pull invoice history can also decide to do something you did not anticipate. That is why every agent we deploy runs behind approval gates on anything that moves money, leaves the building, deletes data or reaches a customer. The reasoning is free to roam. The actions are not.

How do you tell which one you actually need?

Run the flowchart test. Sit down with the process you want to automate and try to draw it, every branch, every decision point, every outcome. Give yourself ten minutes.

Scenario one: you finished the flowchart. Every path is drawn. Every decision has a rule. You need a workflow. Build it as one. Put a model step wherever a human currently reads unstructured text and makes a classification, and leave everything else deterministic. You will get a system that costs cents per run, fails loudly when something is off, and can be tested against a fixed set of inputs.

Scenario two: you drew most of it, but there are two or three boxes labelled “it depends.” Look hard at those boxes. Usually “it depends” means you have not finished writing the rule, not that no rule exists. Push on them. If the rule turns out to be “a senior person looks at the context and uses judgment,” and that context is open-ended, you have found the part that wants an agent. Build the workflow for everything else and scope the agent to the judgment step only.

Scenario three: you could not draw it at all. The process is a person with a goal, access to a dozen systems, and a sense of what good looks like. Inbox triage for an executive is the canonical example. There is no flowchart for “decide what matters today.” This is agent territory. It is also exactly where you need the strongest approval gates, because the thing you cannot draw in advance is the thing you cannot fully test in advance either.

The honest summary is that most business processes land in scenario one or two. Pure scenario three is rarer than the marketing suggests, and expensive to get wrong.

Why do so many “AI agent” products turn out to be workflows?

Because “agent” sells and “workflow” sounds like 2015.

A large share of products marketed as agents are a fixed pipeline with a language model in one or two steps. The model drafts the email; the pipeline sends it. The model scores the lead; the pipeline routes it. The sequence was decided by the vendor’s engineers and does not change at runtime. That is a workflow with a model step, and there is nothing wrong with it. It is probably the right design for what the product does.

The problem is only that calling it an agent sets the wrong expectations in both directions. Buyers expect flexibility the product does not have, and they also fear risks the product does not carry. A workflow cannot go rogue. It can only do the five things it was built to do, in order.

There is a simple question that cuts through this. Ask the vendor: can your system decide to call a tool that is not in the sequence you designed, because of something it found mid-run? If the answer is no, it is a workflow. If the answer is yes, ask the next question, which is how they govern it.

When is an agent the wrong answer?

More often than you would think from the current conversation. An agent is the wrong tool when:

  1. The volume is high and the ambiguity is zero. Ten thousand identical transactions a day do not need judgment. They need a script that runs in milliseconds and a monitor that fires when the script fails.
  2. Latency matters. An agent reasons before it acts, and reasoning takes seconds. A payment authorization, a real-time routing decision or anything a person is waiting on at a counter should not wait for a model to think.
  3. The output must be identical every time. Regulated calculations, tax logic, anything that gets audited against a rule. Determinism is a feature, and agents are not deterministic by design.
  4. You cannot afford to review the output. If nobody will look at what the agent did before it takes effect, you do not have the governance surface an agent requires. Build a workflow you can test exhaustively instead.
  5. The process is already working. Replacing a reliable workflow with an agent because agents are interesting is a way to add cost and variance to something that was fine.

None of this is anti-agent. We deploy agents for a living. It is pro-fit. The agent earns its place where the next step genuinely cannot be known in advance.

What does an agent cost compared to a workflow?

An agent costs more per run, and the gap is structural rather than something a better model fixes.

A workflow calls the model exactly where you placed a model step. One classification, one summary, one draft. The token spend per run is roughly constant, and you can price a thousand runs on a napkin.

An agent spends tokens on two things: producing output, and deciding what to do next. The second category is the one workflows do not have. Every time an agent reads a result and chooses a tool, that is a model call. A task that takes an agent eight steps involves eight rounds of reasoning, and the number of steps varies from run to run depending on what it finds.

That does not make agents expensive in absolute terms. In our own deployments the per-run cost of an agentic task is typically measured in cents to low dollars, and it is dwarfed by the cost of the senior person who used to do the task. But it does mean the cost is variable, and it means you should reserve agentic reasoning for the steps that need it. The pattern we use, and recommend, is to run everything deterministic as a plain scheduled script at zero model cost, and spend inference only on the judgment steps. The agentic vs automation article covers the architectural side of that split in more depth.

The one-sentence version to take into your next vendor meeting

If you can draw it, it is a workflow; if the software has to decide the next step from what it finds, it is an agent; and if it is an agent, the first question is not what it can do but what it is not allowed to do without you.

That last clause is where the real engineering lives. It is also most of what a Sovereign Agent deployment is: an agent, scoped tightly, running in your own cloud account, with the gates in the runtime rather than in the prompt. If you are weighing it against the SaaS alternatives, the comparison page lays the ownership question out side by side, and if you run an agency, this page covers which operational layer to hand to an agent first.

Frequently asked

Questions this post answers

Is a chatbot an AI agent or an AI workflow?

Usually neither in the sense that matters for operations. A chatbot is an interface that answers questions. It becomes an agent only when it can take actions in your systems and decide which action to take next based on what it finds. Most chatbots do not do that, and most do not need to.

Can an AI workflow use a large language model and still be a workflow?

Yes, and most of them do. A workflow with an LLM step is still a workflow if you decided the sequence in advance. The model classifying, summarizing or drafting inside one step does not change who controls the order of operations.

Which is cheaper to run, an AI agent or an AI workflow?

The workflow, almost always. A workflow calls the model only where you placed a model step, so its cost per run is fixed and predictable. An agent reasons about what to do at each step, so it spends tokens on decisions as well as on output, and the cost per run varies with how much it has to figure out.

Should I start with a workflow or an agent?

Start with the workflow if you can draw the whole process as a flowchart before it runs. Move to an agent only for the branches you genuinely cannot draw in advance, and keep approval gates on anything the agent does that is expensive, irreversible or customer-facing.