← Back to list

adk-debugger
by lavinigam-gcp
Design patterns and production-ready architectures for building multi-agent AI systems with Google ADK.
⭐ 3🍴 1📅 Jan 23, 2026
SKILL.md
name: adk-debugger description: Troubleshoot ADK errors and issues. Use when encountering API errors, model overloaded errors, state issues, tool failures, authentication problems, or unexpected agent behavior.
ADK Debugger
Quick Diagnosis
| Symptom | Likely Cause | Quick Fix |
|---|---|---|
GOOGLE_API_KEY not set | Missing .env | Create app/.env |
503 model overloaded | Gemini 3 rate limit | Switch to Gemini 2.5 Pro |
| Tool not being called | output_schema set | Remove output_schema |
| State variable empty | Key mismatch | Check output_key names |
| TTS fails | Vertex AI mode | Use AI Studio for multi-speaker |
Common Errors & Fixes
API Key Issues
Error: GOOGLE_API_KEY not set or Invalid API key
Fix: Create .env file in app/ folder (not project root):
echo "GOOGLE_API_KEY=your_key" >> app/.env
echo "MAPS_API_KEY=your_maps_key" >> app/.env
Model Overloaded (503)
Error: 503 UNAVAILABLE - model overloaded
Fix: Edit app/config.py:
# Switch from Gemini 3 to 2.5
FAST_MODEL = "gemini-2.5-pro" # More stable
PRO_MODEL = "gemini-2.5-pro"
Tool Not Called
Cause: Using output_schema disables tool calling.
Fix: Remove output_schema or use separate agent:
# DON'T: This disables tools
agent = LlmAgent(
tools=[my_tool],
output_schema=MySchema, # Conflicts!
)
# DO: Separate concerns
tool_agent = LlmAgent(tools=[my_tool], ...)
schema_agent = LlmAgent(output_schema=MySchema, ...)
State Variable Empty
Cause: output_key doesn't match instruction placeholder.
Fix: Ensure names match exactly:
# Agent 1
agent1 = LlmAgent(output_key="market_data", ...)
# Agent 2 instruction must use same key
INSTRUCTION = "Use this data: {market_data}" # Must match!
Debugging Steps
- Check environment:
cat app/.env - Run quick test:
make test-intake - Check logs: Look for callback messages
- Verify state flow: Check output_key → instruction placeholders
[See references/common-errors.md for complete error catalog]
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

