Cross-Agent Workflows
Complex tasks often require multiple agents working together. Here's how agents hand off work through shared memory.
Example: Trip Planning Workflow
Travel Agent researches flights
Finds best options, writes to shared file
Travel Agent finds hotels
Adds accommodation options to shared file
Personal Assistant checks calendar
Verifies dates work, blocks time
Research Agent finds activities
Adds things to do at destination
Personal Assistant compiles itinerary
Presents complete plan to you
Shared Memory
Agents communicate through shared memory files. Agent A writes to memory/shared/trip-planning.md, Agent B reads it and adds their contribution. The main agent coordinates and presents the final result.
Workflow in Action
You Trigger the Workflow
🎯 Quick Quiz: Workflow Design
You want to research a new laptop, compare prices, and set up price drop alerts. Which agents should be involved?
Your Turn — 3 Exercises
Map a Workflow
Design a 3-step workflow for a task you do regularly.
Cross-Agent Task
Give your main agent a complex task that requires coordination.
Build a Recurring Workflow
Create a weekly workflow that combines multiple agents.
Module 9 Complete!
You can now design complex multi-agent workflows. One module left!