google-adk
Installation
SKILL.md
Google Agent Development Kit (ADK)
This skill covers building production-grade AI agents with Google's Agent Development Kit (ADK) for Python, including agent composition, tool design, session/state/memory management, artifacts, evaluation, and deployment.
Workflow for Building an ADK Agent
- Define the agent — Create an
LlmAgent(orAgent) with a clearname,model,instruction, anddescription. Keep the instruction focused on one job. - Author tools — Write plain Python functions with type hints and docstrings, or wrap existing APIs with
FunctionTool. Validate all inputs before side effects. - Compose multi-agent systems — For complex workflows, split responsibility across sub-agents and use
SequentialAgent,ParallelAgent, orLoopAgentfor deterministic orchestration, or delegate viasub_agentsfor LLM-driven routing. - Wire up session and state — Choose a
SessionService(in-memory for dev,DatabaseSessionServiceor Vertex AI-managed for production) and usesession.statefor conversation-scoped data. - Add memory (optional) — Configure a
MemoryServicefor cross-session recall when the agent needs to remember facts between separate conversations. - Handle artifacts (optional) — Configure an
ArtifactServicewhen the agent generates or receives files, images, or other binary outputs. - Run locally — Use
adk web,adk run, or theRunnerAPI to exercise the agent against aSession. - Evaluate — Write
.evalset.jsontest cases and runadk evalto check tool-call trajectories and response quality against regressions. - Deploy — Package the agent for Vertex AI Agent Engine, Cloud Run, or GKE, and separate dev/staging/prod configuration.