Skip to main content

Path 4 · Multi-Agent

~45 minutes. There is no orchestration framework to learn: topics are the composition primitive.

  • Chain — agent B's source reads agent A's output topic.
  • Fan out — several agents subscribe to the same topic; each sees every event.
  • Fan in — one streaming stage takes a multi-topic union and merges flows.
  • Correlate — a stream-stream join matches events across two flows inside a window.
  1. Compose two agents by topics — two independently deployed apps, chained by one topic.
  2. Correlate two streams with a join — match events across flows inside a window.

Go deeper: the composition section of The Agent Guide covers all four patterns with examples.