What it demonstrates
- Connecting two nodes with an
edge - Writing intermediate results to
working.*context paths - Mixing providers: OpenAI classifies, Anthropic replies
- Workflow-level
guardrails
Run it
Workflow
docs/cookbook/sequential-pipeline/workflow.yaml
This workflow mixes providers: OpenAI handles classification, Anthropic writes the reply. Each agent independently resolves its own provider at runtime.
How data flows
classifyreceives the user’s message and writes a single intent label (e.g."complaint") toworking.intent.replyreceives the output ofclassifyas its user message and composes the final response.
Graph
Next steps
Conditional Pipeline
Route to different handlers based on the classification.
Telephone Game
Chain five agents and watch meaning drift.