Class ChainWorkflowPattern

All Implemented Interfaces:
AgentCard, AgenticExecutionLifecycle

public class ChainWorkflowPattern extends AbstractAgenticPattern

Chain Workflow pattern exemplifies the principle of breaking down complex tasks into simpler, more manageable steps.

When to Use:
  • Tasks with clear sequential steps
  • When you want to trade latency for higher accuracy
  • When each step builds on the previous step’s output
This implementation demonstrates several key principles:
  • Each step has a focused responsibility
  • Output from one step becomes input for the next
  • The chain is easily extensible and maintainable