When does an AI workflow become an agent?
The difference comes down to who chooses the next step.

Follow the decision
Imagine an invoice lands in your inbox. A workflow reads the attachment, extracts the total and sends the result to a spreadsheet. Even if a language model reads the document, the route through the system was chosen in advance.
Handing over the next move
An agent can choose which tool to use next, inspect its result and revise its approach. Given an incomplete invoice, it might search a purchase-order record before asking a person for the missing detail.
Where to start
Sketch the decisions on paper. If each possible answer already points to a known next step, a workflow is easier to test. Give the model more discretion where the route genuinely varies, and define a stopping point before it begins.
Run the same invoice through both designs
Give each design an invoice with a missing purchase-order number. A fixed workflow can route every such invoice to a review queue. An agent could first look for a match in the order register. Record how many invoices each design resolves correctly, how much review time it uses and how often it links the wrong order. Keep payment approval with a person during the comparison. A faster match has little value if the payment goes to the wrong supplier.
OpenAI’s practical guide to agents · Compare the return on automation
Primary source · Anthropic · Building effective AI agents
Explore more: Technology stories · Free tools