AI agents vs workflows: how to choose the right approach

A predictable sequence and an AI system that chooses its next step solve different problems. Start by looking at the decisions your task actually needs.
AI robot beside a structured workflow diagram with connected task and approval icons

A predictable sequence and an AI system that chooses its next step solve different problems. Start by looking at the decisions your task actually needs.

The difference is who chooses the next step

In its engineering guide Building effective agents, Anthropic distinguishes workflows, which follow predefined code paths, from agents, where the model directs the process and chooses how to use tools. The distinction is about control over the work, not how conversational the interface looks.

A workflow can include an AI model. An agent can also operate within constraints. Calling a tool “AI-powered” therefore does not tell you which design it uses. Ask what happens after the first response: does code choose the next step, or does the model decide?

Anthropic published the guide in December 2024 and now flags that parts of its tooling discussion have changed. This article uses its architectural distinction, not its examples as a current product shortlist.

Example: preparing a daily technology briefing

Imagine a small editorial team that wants a morning briefing. It has already chosen five sources, a set of topics and a fixed output format. A possible workflow is: collect the selected items, remove duplicates, draft short summaries and send the result to an editor.

The team can specify those steps in advance. It could put AI inside the summarisation step without asking an agent to manage the whole process. If a source cannot be reached, the workflow could flag the missing input instead of silently inventing a substitute.

This is an illustrative design, not a report of a tested system or a promise that every source permits automated collection.

Example: investigating an unfamiliar claim

Now imagine that an editor asks why two announcements appear to contradict each other. The necessary evidence may be unclear at the start. A useful next step might be finding the original announcement, following a cited document or asking the editor to narrow the question.

This task leaves more room for an agent to choose its route. Our suggested boundary would still be explicit: collect evidence and prepare a draft explanation; leave the publication decision with the editor.

That extra flexibility needs a reason. Anthropic notes that agentic systems can increase latency and cost, and that autonomous operation can compound errors.

Three questions to ask before you choose

Can you write the steps down now? If you can describe the normal path clearly, start by drawing that path. Highlight only the points where the next action genuinely depends on information that has not arrived yet.

What should happen when information is missing? Decide whether the system should stop, ask a person or try another allowed source. An empty answer with an explanation may be more useful than an apparently complete answer with missing evidence.

What result would make the process worth keeping? For the briefing example, our suggested measures would be the editor’s correction time, the number of unsupported statements and whether the briefing arrives when needed. Choose measures that reflect the job, rather than the number of automated steps.

A simple decision table

If the task looks like this Start with
The steps are known and repeat in the same order A workflow
The inputs change, but the allowed path stays fixed A workflow with AI inside selected steps
The next step depends on evidence found during the task A bounded agent
A wrong action could publish, spend money, delete data or contact a customer A workflow with human approval
The task is unclear even to the team doing it Fix the process before adding automation

This is a starting rule, not a technical law.

A workflow can branch. An agent can follow strict limits. Many useful systems combine both: code controls the overall path while a model handles one uncertain decision inside it.

The important question is not whether the product calls itself an agent. Ask where the freedom sits.

What usually goes wrong

The risk is not only a bad final answer.

An agent can choose the wrong tool, search the wrong source, repeat an action, stop too early or continue after the task is already complete. If each new step depends on the previous one, one mistake can shape everything that follows.

A fixed workflow has a different weakness. It can keep following an outdated path even when the situation has changed. It may fail safely, but it may also produce a technically complete result that no longer solves the user’s problem.

Watch for four common failures:

  1. Unclear success: The system does not know what a finished result looks like.
  2. Too much access: A drafting task receives permission to send, delete or publish.
  3. No stopping rule: The agent keeps searching, retrying or spending.
  4. Weak review: A person sees only the final output and cannot inspect the evidence or actions behind it.

Adding more instructions can help. It cannot rescue a task with no clear owner, no reliable input or no definition of done.

Give freedom in small steps

Teams do not need to choose between full automation and no automation.

Use a ladder:

Level 1: draft only

The system reads approved material and prepares a draft. A person checks every result.

Level 2: suggest the next action

The system can recommend a tool or next step, but a person approves it.

Level 3: act inside a safe boundary

The system can take reversible actions within a defined limit. It may organise files in a temporary folder or prepare a saved draft, but it cannot publish or delete the original.

Level 4: run independently with monitoring

The system can complete the bounded job, record its actions and stop when a rule is met. A person reviews exceptions and samples normal results.

Move up only when the lower level works reliably.

The right level can differ by action. An agent may search and organise information independently while still requiring approval before it sends an email or changes production data.

Cost includes the review

An agent that finishes a task in five minutes may still be slower than a workflow if a person needs 30 minutes to understand what it did.

Measure the whole job:

  • model and tool cost;
  • time to complete;
  • time spent checking;
  • number of failed or repeated actions;
  • cost of fixing mistakes;
  • percentage of results that people actually use.

Autonomy is useful when it removes work without hiding risk.

If the system creates a new supervision job, count that too.

Keep irreversible actions behind a person

The safest first version should be easy to stop and easy to undo.

Require approval before the system:

  • publishes content;
  • sends a message to a customer;
  • spends money;
  • changes access permissions;
  • deletes or overwrites data;
  • makes a legal, medical, financial or employment decision.

This does not make the system less useful. It puts human attention at the point where a mistake becomes expensive.

Start with one bounded task

For a first editorial automation, start with a draft that a person can review. Write down its inputs, expected output, stopping rule and actions that need permission. Then decide which decisions belong in code and which need model judgment.

Run it on a small set of real tasks. Record where people correct the result. If the same correction appears again and again, move that rule into the workflow.

Use an agent only for the part that still needs a choice.

The two examples above are Wefiliates’ suggested designs. They are not benchmarks, and we have not tested a named agent product for this article.

Source

Anthropic: Building effective agents (December 19, 2024; includes a tooling-update notice)

Anthropic: Building effective AI agents resources

Sources

  1. Anthropic: Building effective agents (December 19, 2024; includes a tooling-update notice)
  2. Anthropic: Building effective AI agents resources
Previous Article

How to switch browsers without losing passwords, bookmarks or important tabs

Next Article

India's data protection rules will change how apps ask for consent, but the shift will not happen overnight