Glossary

Workflow

A fixed sequence of steps that gives a predictable result for the same input. In an AI product, a workflow can call a model at one step without handing it the decision about what happens next.

A workflow is a recipe, where an agent is a chef. It is the right choice when the steps are known in advance and the result has to be repeatable. It is cheaper to run, easier to test and easier to explain than an agent.

The two nest. A workflow can hold an agent step, and an agent can call a workflow as a tool.