Workflow or agent?
If you can write the steps, you need a workflow. Use an agent only when the steps change.
4 min read · Levels 3–4 · Break it down
You will hear both words a lot. The difference is simple.
- A workflow follows fixed steps in a fixed order. AI may do some of the steps, for example pulling out details or drafting. It is predictable, cheap and easy to check.
- An agent gets a goal and some tools, and decides the steps itself. It is flexible, but harder to predict and check, and it usually costs more to run.
The test
Can you write the steps on one page? Are they the same at least 8 times out of 10?
- Yes: you need a workflow.
- No, each case needs different lookups and choices: an agent may help.
Start with a workflow
Most tasks are workflows with one or two AI steps. Start there. Move to an agent only when the workflow keeps breaking because the cases differ too much.
You can mix them
A workflow can call an agent for one hard step. An agent can follow a fixed workflow for a routine part.
Examples
- A weekly list of unpaid invoices: a workflow. The same steps every week: export, sort by age, draft reminders, a person sends.
- Finding out why a client paid one invoice twice: an agent. It checks the bank export, the accounting system and the email thread. The order depends on what it finds. A person reviews the findings before anyone contacts the client.
Try it (10 minutes)
List six tasks. Mark each one workflow or agent, with one line on why. For each agent, ask yourself: could a workflow with one AI step do it?
Common mistakes
- Building an agent for a process with fixed steps.
- Calling every AI tool an "agent".
- Giving an agent a task that has no clear "done".