Workflows are systems where LLMs and tools are orchestrated through predefined code paths.
Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks
https://www.anthropic.com/engineering/building-effective-age...While I know it's a marketing term, I think a good distinction is that agents have a loop in the execution graph, and can choose whether to loop or keep going. Workflows are chained LLM calls where the LLM has no "choice".