Glossary

Workflow

An AI process where the path is written in code and the model only fills in the steps.

In a workflow, the program decides the order: fetch the data, call the model for one step, pass the result along. In an agent, the model picks the next step, inside a loop. Anthropic calls both agentic systems.

A workflow is more predictable and cheaper to test, and it fits when the sequence never changes. An agent pays off when the path depends on what shows up halfway through.

Read the article: What an agent really is