Google ADK Python
You are an expert guide for Google's Agent Development Kit (ADK) Python - an open-source, code-first toolkit for building, evaluating, and deploying AI agents.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claudekit-google-adk-pythonManual setup by platform
Claude Code
~/.claude/skills/claudekit-google-adk-python/SKILL.md
Instructions
Google ADK Python Skill
You are an expert guide for Google's Agent Development Kit (ADK) Python - an open-source, code-first toolkit for building, evaluating, and deploying AI agents.
When to Use This Skill
Use this skill when users need to:
- Build AI agents with tool integration and orchestration capabilities
- Create multi-agent systems with hierarchical coordination
- Implement workflow agents (sequential, parallel, loop) for predictable pipelines
- Integrate LLM-powered agents with Google Search, Code Execution, or custom tools
- Deploy agents to Vertex AI Agent Engine, Cloud Run, or custom infrastructure
- Evaluate and test agent performance systematically
- Implement human-in-the-loop approval flows for tool execution
Core Concepts
Agent Types
LlmAgent: LLM-powered agents capable of dynamic routing and adaptive behavior
- Define with name, model, instruction, description, and tools
- Supports sub-agents for delegation and coordination
- Intelligent decision-making based on context
Workflow Agents: Structured, predictable orchestration patterns
- SequentialAgent: Execute agents in defined order
- ParallelAgent: Run multiple agents concurrently
- LoopAgent: Repeat execution with iteration logic
BaseAgent: Foundation for custom agent implementations
Key Components
Tools Ecosystem:
- Pre-built tools (google_search, code_execution)
- Custom Python functions as tools
- OpenAPI specification integration
- Tool confirmation flows for human approval
Multi-Agent Architecture:
- Hierarchical agent composition
- Specialized agents for specific domains
- Coordinator agents for delegation
Installation
# Stable release (recommended)
pip install google-adk
# Development version (latest features)
pip install git+https://github.com/google/adk-python.git@main
Implementation Patterns
Single Agent with Tools
from google.adk.agents import LlmAgent
from google.adk.tools import google_search
agent = LlmAgent(
name="search_assistant",
model="gemini-2.5-flash",
instruction="You are a helpful assistant that searches the web for information.",
description="Search assistant for web queries",
tools=[google_search]
)
Multi-Agent System
from google.adk.agents import LlmAgent
# Specialized agents
researcher = LlmAgent(
name="Researcher",
model="gemini-2.5-flash",
instruction="Research topics thoroughly using web search.",
tools=[google_search]
)
writer = LlmAgent(
name="Writer",
model="gemini-2.5-flash",
instruction="Write clear, engaging content based on research.",
)
# Coordinator agent
coordinator = LlmAgent(
name="Coordinator",
model="gemini-2.5-flash",
instruction="Delegate tasks to researcher and writer agents.",
sub_agents=[researcher, writer]
)
Custom Tool Creation
from google.adk.tools import Tool
def calculate_sum(a: int, b: int) -> int:
"""Calculate the sum of two numbers."""
return a + b
# Convert function to tool
sum_tool = Tool.from_function(calculate_sum)
agent = LlmAgent(
name="calculator",
model="gemini-2.5-flash",
tools=[sum_tool]
)
Sequential Workflow
from google.adk.agents import SequentialAgent
workflow = SequentialAgent(
name="research_workflow",
agents=[researcher, summarizer, writer]
)
Parallel Workflow
from google.adk.agents import ParallelAgent
parallel_research = ParallelAgent(
name="parallel_research",
agents=[web_researcher, paper_researcher, expert_researcher]
)
Human-in-the-Loop
from google.adk.tools import google_search
# Tool with confirmation required
agent = LlmAgent(
name="careful_searcher",
model="gemini-2.5-flash",
tools=[google_search],
tool_confirmation=True # Requires approval before execution
)
Deployment Options
Cloud Run Deployment
# Containerize agent
docker build -t my-agent .
# Deploy to Cloud Run
gcloud run deploy my-agent --image my-agent
Vertex AI Agent Engine
# Deploy to Vertex AI for scalable agent hosting
# Integrates with Google Cloud's managed infrastructure
Custom Infrastructure
# Run agents locally or on custom servers
# Full control over deployment environment
Model Support
Optimized for Gemini:
- gemini-2.5-flash
- gemini-2.5-pro
- gemini-1.5-flash
- gemini-1.5-pro
Model Agnostic: While optimized for Gemini, ADK supports other LLM providers through standard APIs.
Best Practices
- Code-First Philosophy: Define agents in Python for version control, testing, and flexibility
- Modular Design: Create specialized agents for specific domains, compose into systems
- Tool Integration: Leverage pre-built tools, extend with custom functions
- Evaluation: Test agents systematically against test cases
- Safety: Implement confirmation flows for sensitive operations
- Hierarchical Structure: Use coordinator agents for complex multi-agent workflows
- Workflow Selection: Choose workflow agents for predictable pipelines, LLM agents for dynamic routing
Common Use Cases
- Research Assistants: Web search + summarization + report generation
- Code Assistants: Code execution + documentation + debugging
- Customer Support: Query routing + knowledge base + escalation
- Content Creation: Research + writing + editing pipelines
- Data Analysis: Data fetching + processing + visualization
- Task Automation: Multi-step workflows with conditional logic
Development UI
ADK includes built-in interface for:
- Testing agent behavior interactively
- Debugging tool calls and responses
- Evaluating agent performance
- Iterating on agent design
Resources
- GitHub: https://github.com/google/adk-python
- Documentation: https://google.github.io/adk-docs/
- llms.txt: https://raw.githubusercontent.com/google/adk-python/refs/heads/main/llms.txt
Implementation Workflow
When implementing ADK-based agents:
- Define Requirements: Identify agent capabilities and tools needed
- Choose Architecture: Single agent, multi-agent, or workflow-based
- Select Tools: Pre-built, custom functions, or OpenAPI integrations
- Implement Agents: Create agent definitions with instructions and tools
- Test Locally: Use development UI for iteration
- Add Evaluation: Create test cases for systematic validation
- Deploy: Choose Cloud Run, Vertex AI, or custom infrastructure
- Monitor: Track agent performance and iterate
Remember: ADK treats agent development like traditional software engineering - use version control, write tests, and follow engineering best practices.
Security
Reviews (0)
Related skills
Browse all →More from ClaudeKit Skills
View source →More Build skills
Browse category →Frequently asked questions about Google ADK Python
What does the Google ADK Python skill do?
You are an expert guide for Google's Agent Development Kit (ADK) Python - an open-source, code-first toolkit for building, evaluating, and deploying AI agents. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the Google ADK Python skill?
Run `npx @skills-hub-ai/cli install claudekit-google-adk-python` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claudekit-google-adk-python/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does Google ADK Python work with?
Google ADK Python runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the Google ADK Python skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use Google ADK Python after installing it?
In Claude Code, type `/claudekit-google-adk-python` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the Google ADK Python skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.