Chatbot vs Workflow vs Agent: Who Decides What Happens Next
A workflow lets code decide what happens next, and an agent lets the model decide. This post gives one test that separates a chatbot, a workflow, and an agent, then counts the paths to show why that decides how you test them, with one invoice task built both ways and code you can run.