adk-orchestration
This skill should be used when the user asks about "multi-agent systems", "sub-agents", "delegation", "agent routing", "orchestration", "SequentialAgent", "ParallelAgent", "LoopAgent", "agent-to-agent", "A2A protocol", "agent hierarchy", "streaming", "real-time responses", "SSE", "server-sent events", "websocket", "bidirectional", "Live API", "voice", "audio", "video", "multimodal streaming", or needs guidance on building systems with multiple specialized agents working together or implementing real-time communication patterns.
When & Why to Use This Skill
ADK Orchestration is a comprehensive framework designed for building advanced multi-agent systems and real-time AI applications. It enables developers to implement sophisticated coordination patterns—such as sequential, parallel, and hierarchical orchestration—while providing native support for multimodal streaming, including voice, video, and bidirectional communication via WebSockets and SSE.
Use Cases
- Developing complex AI workflows where a coordinator agent delegates specialized tasks to sub-agents for research, coding, or data analysis.
- Building real-time voice and video assistants using the Live API for low-latency, interactive user experiences.
- Implementing high-performance streaming interfaces that provide incremental text responses to users via Server-Sent Events (SSE).
- Creating cross-system agent-to-agent (A2A) communication protocols to allow independent AI agents to collaborate across different environments.
- Designing iterative refinement loops where an agent continuously improves its output based on predefined conditions.
| name | ADK Orchestration |
|---|---|
| description | This skill should be used when the user asks about "multi-agent systems", "sub-agents", "delegation", "agent routing", "orchestration", "SequentialAgent", "ParallelAgent", "LoopAgent", "agent-to-agent", "A2A protocol", "agent hierarchy", "streaming", "real-time responses", "SSE", "server-sent events", "websocket", "bidirectional", "Live API", "voice", "audio", "video", "multimodal streaming", or needs guidance on building systems with multiple specialized agents working together or implementing real-time communication patterns. |
| version | 2.0.0 |
ADK Orchestration
Guide for building multi-agent systems with delegation, orchestration, inter-agent communication, and real-time streaming capabilities. Enables specialized agents to collaborate on complex tasks with modern communication patterns.
When to Use
Multi-Agent Systems
- Routing requests to specialized sub-agents
- Building agent pipelines (sequential execution)
- Running agents concurrently (parallel execution)
- Creating hierarchical agent teams
- Cross-system agent communication (A2A)
Streaming & Real-Time
- Streaming text responses as they generate
- Real-time chat with user interrupts
- Voice agent interactions (Live API)
- Video processing and multimodal streaming
- WebSocket bidirectional communication
When NOT to Use
- Single agent with tools → Use
@adk-agentsand@adk-toolsinstead - Callbacks and state → Use
@adk-behaviorinstead - Agent deployment → Use
@adk-deploymentinstead
Key Concepts
Multi-Agent Patterns
Delegation routes requests to sub-agents based on their descriptions. The parent agent decides which child handles each request.
SequentialAgent executes sub-agents in order (A → B → C). Each agent receives the previous agent's output.
ParallelAgent runs sub-agents concurrently. Results are aggregated when all complete.
LoopAgent repeats execution until a condition is met. Useful for iterative refinement.
Hierarchy nests agent teams for complex organizations. Parent agents coordinate child teams.
A2A Protocol enables cross-system agent communication. Agents can call agents in other deployments.
Streaming Patterns
SSE (Server-Sent Events) streams text responses incrementally. Client receives partial responses as they generate.
Bidirectional Streaming enables real-time two-way communication. Users can interrupt agent responses mid-stream.
Live API powers voice and video agents. Use gemini-3-flash-live model for real-time audio/video processing.
Runner Types: Runner for basic execution, BidiStreamingRunner for bidirectional, LiveAPIRunner for voice/video.
References
Detailed guides with code examples:
Multi-Agent
references/delegation.md- Sub-agent routing patternsreferences/orchestration.md- Sequential, Parallel, Loop agentsreferences/advanced.md- Hierarchical and complex patternsreferences/a2a.md- Agent-to-Agent protocol
Streaming
references/sse.md- Server-sent events streamingreferences/bidirectional.md- WebSocket bidirectionalreferences/multimodal.md- Live API voice/video