Sequential Pipeline
aka Prompt Chaining · Linear Workflow · Sequential Process
Multiple steps are executed in a fixed order, where each step utilizes the output of the previous one.
- Use when
- The task naturally breaks down into phases, each delivering a verifiable intermediate product.
- Control is more important than autonomy.
- Don't
- The workflow branches heavily or results dynamically generate new goals.
- Steps can be parallelized without dependencies.
- Trade-off
- High control-flow predictability is gained at the cost of low flexibility; output content is still non-deterministic at every LLM node.