Agents CLI: ADK Code Reference
Part of Google's agents-cli skills suite. Provides a quick-reference cheatsheet for the ADK Python SDK — defining agents, tools, callbacks, state management, and multi-agent orchestration (SequentialAgent, ParallelAgent, LoopAgent, custom BaseAgent) — plus a topic-indexed catalog of reference recipes covering capabilities like sandboxed code execution, cross-session memory, approval gates, tool guardrails, per-user credentials, and scheduled or event-driven runs. Explicitly scoped to writing code, not scaffolding a project (google-agents-cli-scaffold) or deploying it (google-agents-cli-deploy).
This skill hasn't been reviewed yet.
What it does
Quick reference and reference-recipe catalog for writing agent code against Google's Agent Development Kit (ADK) Python API — agents, tools, orchestration, callbacks, and state.
How to use this
Once it is installed, this skill picks itself up. You do not need to name it.
- Created by
- Google LLC
- Category
- Engineering
- Source
- View source
Run this on Skills and Agents
You can run the skill on Skills and Agents by creating an account. You don't need to install anything. We provide the model and tokens. Your connected tools and company brain are ready to use.
Skills give you best practices and templates to get the most out of your AI
Add this skill
Pick where you want it. Nothing to configure after.
These install links go live once the signup flow ships. Until then, ask Claude, ChatGPT, or Gemini to fetch this skill's file directly from GitHub.
Not sure which? See the install guide.
Share this skill
Agents CLI: ADK Code Reference
Part of Google's agents-cli skills suite. Provides a quick-reference cheatsheet for the ADK Python SDK — defining agents, tools, callbacks, state management, and multi-agent orchestration (SequentialAgent, ParallelAgent, LoopAgent, custom BaseAgent) — plus a topic-indexed catalog of reference recipes covering capabilities like sandboxed code execution, cross-session memory, approval gates, tool guardrails, per-user credentials, and scheduled or event-driven runs. Explicitly scoped to writing code, not scaffolding a project (google-agents-cli-scaffold) or deploying it (google-agents-cli-deploy).
Third-party, by Google LLC
September 13, 2026
Install from google/agents-cli
This skill is one of 7 bundled in Google's agents-cli repo (skills/google-agents-cli-adk-code). Installing pulls all 7 skills in the repo — there's no way to grab just this one.
- 1
Install all 7 agents-cli skills
Installs this skill along with the other 6 (workflow, scaffold, eval, deploy, publish, observability) from google/agents-cli's skills/ folder.
npx skills add google/agents-cli - 2
Install the CLI itself (optional but recommended)
Needed to actually scaffold and run an ADK project alongside this reference skill.
uv tool install google-agents-cli - 3
Activate in Claude
Ask to write agent code, add a tool, define a callback, or use ADK state management — this skill supplies the API patterns.
Your skill is downloading.
Create a free account and the platform does the rest:
- Get an email the moment this skill updates
- See every skill and agent you've installed, in one place
- Get your next recommendation based on what you actually use
No credit card. Takes about a minute.
What this skill does
This is an overview of the skill from the site, not the skill's real instructions. The full SKILL.md Claude reads when this skill is active lives on GitHub at the source below.
A skill from Google’s
google/agents-cli. The canonical source — including the CLI, the other 6 skills, and release notes — lives in that repo.
What this skill does
Covers the Python ADK SDK: Agent, tools, callbacks, plugins, state, artifacts, and multi-agent orchestration. It’s the reference an agent reaches for while actually writing code, after a project has been scaffolded (via google-agents-cli-scaffold) and after design has been settled (via google-agents-cli-workflow’s Phase 0).
Quick reference
from google.adk.agents import Agent
def get_weather(city: str) -> dict:
"""Get current weather for a city."""
return {"city": city, "temp": "22°C", "condition": "sunny"}
root_agent = Agent(
name="my_agent",
model="gemini-3.7-flash",
instruction="You are a helpful assistant that ...",
tools=[get_weather],
)
Recipe catalog
Before implementing anything non-trivial, the skill directs you to a topic-indexed catalog of reference recipes with worked implementations for sandboxed/per-user code execution, agent-loadable SKILL.md skills, cross-session memory, approval gates before risky actions, tool guardrails, per-user credentials, and scheduled or event-driven runs. The philosophy is explicit: hand-writing a sandbox wrapper or a memory store for a capability the index already covers means you stopped short of using the reference.
Prerequisites for writing code
- Verify a project exists:
agents-cli info - New project:
agents-cli scaffold create <name> - Existing code:
agents-cli scaffold enhance .
Currently covers the Python ADK SDK only; support for other languages is planned.
Scope
Does not cover project scaffolding (google-agents-cli-scaffold) or deployment (google-agents-cli-deploy) — those are separate skills in the suite.