google-adk

Guide Google ADK multi-agent development with orchestration patterns and control flow.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/cuba6112/skillfactory --skill google-adk-cuba6112
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-adk
Source: https://github.com/cuba6112/skillfactory/tree/main/.claude/skills/google-adk
Command: npx skills add https://github.com/cuba6112/skillfactory --skill google-adk-cuba6112

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to building and debugging AI agents using Google's Agent Development Kit (ADK), addressing common pitfalls and advanced control flow.

Core Features & Use Cases

  • ADK Architecture: Understand SequentialAgent, LoopAgent, and ParallelAgent patterns.
  • Control Flow: Learn to implement conditional branching using transfer_to_agent.
  • Data Management: Master session.state and output_key for data flow.
  • Tooling: Design FunctionTool with automatic context injection.
  • Debugging: Identify and resolve common issues like context overflow and missing output_key.

Quick Start

Consult the google-adk skill for guidance on implementing conditional branching in SequentialAgent.

Frequently Asked Questions about google-adk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement conditional branching in a Google ADK SequentialAgent?

Conditional branching in a Google ADK SequentialAgent is implemented using the transfer_to_agent control flow mechanism. This allows your multi-agent system to dynamically route execution to different agents based on session state.

What is the difference between SequentialAgent, LoopAgent, and ParallelAgent patterns?

SequentialAgent executes agents in a linear order, LoopAgent repeats agent execution until a condition is met, and ParallelAgent runs multiple agents concurrently. These Google ADK patterns provide distinct orchestration strategies for complex multi-agent systems.

Why is my multi-agent system losing data between agents in Google ADK?

Data loss between agents often occurs due to a missing output_key. You must explicitly define output_key in your agent configuration to ensure data is correctly persisted in session.state and passed along the control flow.

How do I design a FunctionTool with automatic context injection in Google ADK?

Design a FunctionTool by defining a function that accepts the required parameters, and Google ADK will automatically inject the context. This enables your agents to securely access session state and interact with external tools during execution.

How do I resolve context overflow errors when orchestrating agents with Google ADK?

Resolve Google ADK context overflow errors by carefully managing session.state and limiting the data passed between agents. The skill provides debugging guidance to identify non-obvious behaviors causing excessive context accumulation in multi-agent systems.

Can I use Google ADK for complex multi-agent system development without prior orchestration experience?

Google ADK is designed for complex multi-agent system development, but building advanced control flows requires understanding state management and orchestration patterns. This skill addresses common implementation errors to help developers navigate non-obvious behaviors.