| name | adk-engineer |
| description | Implement production-ready agents using Google Agent Development Kit (ADK). Use when creating ADK agents, building multi-agent systems, implementing workflow agents, reviewing ADK code, or deploying to Vertex AI / Cloud Run. Triggers: 'ADK agent', 'Google ADK', 'multi-agent system', 'Gemini agent', 'agent workflow', 'adk deploy'. Do NOT use for non-ADK agent frameworks (LangChain, CrewAI, AutoGen) or general Gemini API calls without ADK. |
| allowed-tools | ["Read","Edit","Write","Bash","Grep","Glob","WebFetch"] |
ADK Engineer
Implement, review, and deploy Google ADK agents following proven patterns and best practices.
Quick Start
Single agent: Read references/adk-patterns.md -> Use assets/templates/single-agent/ -> Validate with references/adk-best-practices.md.
Multi-agent system: Choose pattern (Coordinator, Sequential, Parallel, Loop) -> Use matching template from assets/templates/ -> Consult references/adk-patterns.md.
Pattern Selection
| Task Type | Pattern | Template |
|---|
| Linear data processing | Sequential Pipeline | assets/templates/workflow/ |
| Intent-based routing | Coordinator/Dispatcher | assets/templates/multi-agent/ |
| Independent concurrent tasks | Parallel Fan-Out/Gather | assets/templates/workflow/ |
| Nested agent structures | Hierarchical Decomposition | assets/templates/multi-agent/ |
| Validation loops | Generator-Critic | assets/templates/workflow/ |
| Quality improvement | Iterative Refinement | assets/templates/workflow/ |
| Critical decisions | Human-in-the-Loop | assets/templates/single-agent/ |
Implementation Workflow
New Agent
- Choose pattern from table above based on task analysis.
- Copy template:
cp -r assets/templates/[single-agent|multi-agent|workflow]/ ./my_agent/
- Implement domain logic: Define custom tools, update instructions, configure
output_key values.
- Test locally: Run
python agent.py or adk ui.
- Validate:
python scripts/validate_agent.py agent.py
- Deploy per
references/adk-deployment.md.
Code Review
- Read agent code and identify patterns used.
- Check implementation against
references/adk-patterns.md.
- Review against
references/adk-best-practices.md.
- Run
python scripts/validate_agent.py agent.py.
- Provide specific, actionable recommendations with references.
Validation Checklist
Deployment
adk deploy agent_engine --project=PROJECT_ID --region=us-central1 \
--staging_bucket=gs://BUCKET/staging --agent-file=agent.py
adk deploy cloud_run --project=PROJECT_ID --region=us-central1 \
--agent-file=agent.py
See references/adk-deployment.md for Docker, CI/CD, monitoring, and security details.
Error Handling
- If
validate_agent.py reports issues, fix all CRITICAL/HIGH items before deployment.
- If pattern selection is ambiguous, default to Coordinator for routing tasks, Sequential for pipelines.
- If deployment fails, check project permissions and staging bucket access first.
References
references/adk-patterns.md -- 7 design patterns with code examples
references/adk-best-practices.md -- Agent design, state management, tools, security
references/adk-deployment.md -- Deployment workflows, CI/CD, monitoring, cost optimization
assets/templates/ -- Single-agent, multi-agent, workflow starter templates
- Google ADK Docs