workflow (LLM)

A system in which your code fixes the sequence of model calls and tools, as opposed to an agent that chooses its own steps.

In more detail

Anthropic lists five workflow patterns: prompt chaining, routing, parallelisation, orchestrator-workers and evaluator-optimiser. Start with the simplest that works; workflows are cheaper, more predictable and easier to test than agents.

Related terms

Taught in

References

Certification courses