Skip to main content
Chain multiple agents so events flow through a pipeline: request → planner → executor → client.

Pattern

Example Structure

Create two (or more) agents with compatible events:
  1. Planner — Listens to request, emits plan-ready with a plan payload
  2. Executor — Listens to plan-ready, emits agent-response with the result
Each agent is built with AgentFactory and registered with subscribe/publishTo to form the chain.

Location

The core-example can be extended to add a second agent. See Patterns: Agent Chain for the full pattern.

Next