Workflows

LLM Workflows

Workflows are orchestrated patterns where the code controls the flow. The developer defines the structure; the LLM fills in the content.

When to use workflows instead of agents:

  • The task can be broken into known, predictable steps
  • You need deterministic, auditable behavior
  • Low latency is critical — no dynamic decision overhead
  • You're not yet sure if agent autonomy is needed

When workflow logic becomes too complex, it's time to graduate to agent patterns.

Explore the evolution from Workflows → Agents →