
google-adk
by MattMagg
Claude Code plugins for building AI agents across frameworks (Google ADK, OpenAI, and more)
SKILL.md
name: Google ADK description: Workflow patterns and gotchas for Google Agent Development Kit. Directs to RAG for implementation.
Google ADK Workflow
When to Choose ADK
- Building for Google Cloud / Vertex AI deployment
- Need streaming-first architecture
- Want agent-to-agent (A2A) protocol support
- Gemini model preference
Decision Framework
Agent Type Selection
| Need | Agent Type | RAG Query |
|---|---|---|
| LLM reasoning with tools | LlmAgent | "LlmAgent configuration" |
| Custom non-LLM logic | BaseAgent | "BaseAgent implementation" |
| Sequential pipeline | SequentialAgent | "SequentialAgent example" |
| Parallel execution | ParallelAgent | "ParallelAgent concurrent" |
| Iteration patterns | LoopAgent | "LoopAgent termination" |
Query RAG: mcp__agentic-rag__query_sdk("agent type example", sdk="adk", mode="build")
Critical Gotchas
These are NOT in docs or easy to discover:
- Export as
root_agent- ADK expects this exact name inagent.py - Docstrings are MANDATORY for tools - LLM reads them; missing = tool won't work
- NEVER document ToolContext - It's auto-injected; including it in docstring breaks inference
- No quotes in .env -
GOOGLE_API_KEY=valuenotGOOGLE_API_KEY="value" - Sub-agent descriptions matter - Vague descriptions = poor routing decisions
Workflow: Creating an ADK Agent
Step 1: Project Setup
RAG Query: mcp__agentic-rag__query_sdk("ADK project structure", sdk="adk", mode="explain")
Step 2: Agent Definition
RAG Query: mcp__agentic-rag__query_sdk("LlmAgent basic example", sdk="adk", mode="build")
Step 3: Tool Creation
RAG Query: mcp__agentic-rag__query_sdk("function tool definition", sdk="adk", mode="build")
Remember: Every tool needs a docstring with Args and Returns.
Step 4: State Management (if needed)
RAG Query: mcp__agentic-rag__query_sdk("agent state management", sdk="adk", mode="build")
Step 5: Multi-Agent (if needed)
RAG Query: mcp__agentic-rag__query_sdk("sub_agents routing", sdk="adk", mode="build")
Step 6: Testing
RAG Query: mcp__agentic-rag__query_sdk("ADK testing", sdk="adk", mode="explain")
Common Error Patterns
| Symptom | Likely Cause | RAG Query |
|---|---|---|
| Tool not invoked | Missing/bad docstring | "tool docstring format" |
| Import error | Wrong module path | "ADK imports" |
| Auth failure | .env formatting | "ADK authentication" |
| Sub-agent ignored | Poor description | "sub_agents description" |
| State not persisting | Wrong state access | "ToolContext state" |
Advanced Features
Query RAG when you need:
- Streaming:
"ADK streaming response" - A2A Protocol:
"agent to agent protocol" - Visual Builder:
"ADK visual builder" - Callbacks:
"ADK callbacks events" - Memory/Sessions:
"ADK session memory"
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon