Operate and manage multi-agent workflows
Unlock the complete study guide.
Bundled into the existing Developing in Agentic AI Systems premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Three coordination patterns and what each one hands over
- Wiring a VS Code coordinator: tools, worker lists, models, and context
- Choosing workers and tools in a Copilot SDK session
- Isolating parallel work: what worktrees do and do not separate
- Cloud sessions: cloud resources instead of local context
- Sequencing work in VS Code with handoffs
- Messaging across Agent Host sessions
- Coordinating agent workers on GitHub
- Comparing agent plans and findings before acting on them
- Reconciling overlapping changes when agent branches meet
- Exam reasoning: recognition cues and tempting wrong answers
Matching the coordination need to the pattern, with GitHub Actions job ordering alongside
| Dimension | Subagent delegation | Handoff | Parallel sessions (worktree-isolated) | GitHub Actions job ordering (needs / workflow_run), not a fourth pattern |
|---|---|---|---|---|
| Who owns the task afterwards | The coordinator keeps it | The next specialist continues it | Each session owns its own unit | Each job or workflow owns its stage |
| What context each agent gets | Only its assignment, instructions, and configuration | The conversation history and context | Its own working files and branch | What the producer uploaded or published |
| What it does not provide | Follow-up messaging to the same invocation | Automatic selection of the handoff button (in VS Code, the user selects it) | Command, network, or token isolation | Protection from simultaneous runs without a concurrency group |
| Typical trap | Sending a second message instead of a complete first assignment | Changing a VS Code handoff button's label instead of its target agent | Assuming ignored dependencies or uncommitted files are present | Treating a completed workflow_run producer run as a successful one |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.