Prompt Chaining — Sequential Agent Pipelines
How to structure a prompt chaining pipeline: one agent's output feeds the next. Worked example with role assignments, tools and handoff order.
Guides for anyone designing a multi-agent system, covering one orchestration pattern at a time. Each one works through a named example and shows the configuration it produces.
Each guide covers one orchestration pattern in full, with a worked example and the configuration it produces.
How to structure a prompt chaining pipeline: one agent's output feeds the next. Worked example with role assignments, tools and handoff order.
How to design a routing pattern: a classifier agent directs input to the right specialist. Worked example with trigger conditions and role assignments.
How to plan parallel agent execution: independent agents work at the same time, and a coordinator brings their findings together.
How to plan an orchestrator-workers pattern: one agent breaks a goal into tasks and delegates each to a specialist worker agent.
How to plan an evaluator-optimiser loop: one agent produces output, another evaluates it, and the cycle repeats until the quality threshold is met.
How to write a subagent file: YAML frontmatter fields, required and optional, with file locations and inheritance rules explained.