Skip to content
AgenticAIWiki

← Chapter 40. Workflows vs agents

A fixed flowchart and an agent

Workflow: your code decidesAgent: the model decidesInvoice PDFExtract fieldsCompare to orderFile it

Swipe to change step

Step 1 of 8. On the left is a workflow. Your code fixes the steps before any input arrives. The model fills in each box, but the order and the number of calls never change. Invoice PDF. Extract fields. Compare to order. File it. arrow from Invoice PDF to Extract fields. arrow from Extract fields to Compare to order. arrow from Compare to order to File it. a invoice moving along we1, then we2, then we3.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.