multi-agent-orchestration
Workflow patterns for multi-agent systems across frameworks. Directs to RAG for implementation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Workflow patterns for multi-agent systems across frameworks. Directs to RAG for implementation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
This skill should be used when the user asks about "visual builder", "no-code agent builder", "drag and drop", "ThinkingConfig", "extended thinking", "chain of thought", "reasoning", or needs guidance on using ADK's visual development tools or configuring advanced reasoning capabilities.
This skill should be used when the user asks about "callbacks", "lifecycle hooks", "before_model_call", "after_tool_call", "plugins", "session state", "state management", "artifacts", "file uploads", "events", "EventActions", "human-in-the-loop", "confirmation", "memory", "MemoryService", "long-term memory", "remember across sessions", "RAG", "retrieval augmented generation", "grounding", "knowledge base", "vector search", or needs guidance on customizing agent behavior, intercepting execution, managing state across turns, implementing approval workflows, or implementing persistent memory or grounding agent responses in external knowledge.
This skill should be used when the user asks about "creating a new ADK project", "initializing ADK", "setting up Google ADK", "adk create command", "ADK project structure", "YAML agent configuration", "creating an agent", "LlmAgent", "BaseAgent", "custom agent", "agent with different model", "Claude with ADK", "OpenAI with ADK", "LiteLLM", "multi-model agent", or needs guidance on bootstrapping an ADK development environment, authentication setup, choosing between Python code and YAML-based agent definitions, agent configuration, model selection, system instructions, or extending the base agent class for non-LLM logic.
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.
This skill should be used when the user asks about "deploying", "production", "Agent Engine", "Vertex AI", "Cloud Run", "GKE", "Kubernetes", "hosting", "scaling", "guardrails", "safety", "content filtering", "input validation", "output validation", "authentication", "OAuth", "API keys", "credentials", "security plugins", "testing agents", "evaluation", "evals", "benchmarks", "tracing", "Cloud Trace", "logging", "observability", "AgentOps", "LangSmith", "user simulation", or needs guidance on deploying ADK agents to production environments, implementing safety measures, access control, secure authentication, testing, debugging, monitoring, or evaluating ADK agent quality.
This skill should be used when the user asks about "adding a tool", "FunctionTool", "creating tools", "MCP integration", "OpenAPI tools", "built-in tools", "google_search tool", "code_execution tool", "long-running tools", "async tools", "third-party tools", "LangChain tools", "computer use", or needs guidance on extending agent capabilities with custom functions, API integrations, or external tool frameworks.
| name | Multi-Agent Orchestration |
| description | Workflow patterns for multi-agent systems across frameworks. Directs to RAG for implementation. |
| Pattern | When to Use | Complexity | RAG Query |
|---|---|---|---|
| Delegation | Route to specialists by task type | Low | "agent delegation routing" |
| Sequential | Pipeline with handoffs | Low | "sequential agent pipeline" |
| Parallel | Independent concurrent tasks | Medium | "parallel agent execution" |
| Hierarchical | Manager coordinates workers | Medium | "hierarchical agent manager" |
| Mesh | Peer-to-peer collaboration | High | "agent mesh communication" |
Uses sub_agents for delegation.
RAG Query: mcp__agentic-rag__query_sdk("sub_agents delegation", sdk="adk", mode="build")
Key: Agent description drives routing decisions.
Uses graph nodes for each agent, conditional edges for routing.
RAG Query: mcp__agentic-rag__query_sdk("multi-agent graph", sdk="langgraph", mode="build")
Key: State must flow between agent nodes.
Uses Crew with agents and tasks.
RAG Query: mcp__agentic-rag__query_sdk("crew agents tasks", sdk="crewai", mode="build")
Key: Process type (sequential vs hierarchical) changes everything.
Uses handoffs between agents.
RAG Query: mcp__agentic-rag__query_sdk("agent handoff", sdk="openai", mode="build")
Key: Handoff descriptions determine routing.
| Strategy | Best For | Tradeoff | RAG Query |
|---|---|---|---|
| Keyword | Simple, predictable tasks | Brittle | "keyword routing" |
| LLM-based | Complex, nuanced routing | Slower, costlier | "llm routing classification" |
| Semantic | Similar intent detection | Needs embeddings | "semantic routing embedding" |
| Rule-based | Deterministic, auditable | Manual maintenance | "rule based routing" |
These cause multi-agent failures:
| Pattern | When to Use | RAG Query |
|---|---|---|
| Shared dict/TypedDict | Simple, synchronous | "shared state dict" |
| Message history | Conversational | "message passing agents" |
| External store | Persistence needed | "agent state persistence" |
| Event bus | Decoupled agents | "event driven agents" |
Each agent needs:
Use table above to select pattern based on your workflow.
RAG Query: mcp__agentic-rag__search("[routing strategy] [framework]", mode="build")
RAG Query: mcp__agentic-rag__search("state sharing [framework]", mode="build")
| Symptom | Likely Cause | Fix |
|---|---|---|
| Wrong agent called | Vague description | Make descriptions specific |
| Infinite loop | No termination | Add max iterations, goal check |
| Context lost | No state passing | Implement state sharing |
| Slow response | Sequential unnecessary | Use parallel where possible |
| One failure crashes all | No error handling | Add try/catch, fallbacks |
| Issue | Solution | RAG Query |
|---|---|---|
| Latency | Parallel where possible | "parallel agent optimization" |
| Token usage | Shorter agent contexts | "agent context optimization" |
| Routing errors | Better descriptions | "agent description best practices" |
| State bloat | Prune old messages | "state management cleanup" |