← ClaudeAtlas

google-adklisted

This skill builds reliable AI agents with the official Google ADK for Python (`pip install google-adk`), from hello world to professional production systems. Use whenever the user is writing agent code with the `google.adk` package — Agent/LlmAgent, Runner/InMemoryRunner, InMemorySessionService, @function tools & ToolContext, sub_agents, SequentialAgent/Workflow graphs, modes (single_turn/task/chat), output_schema structured output, output_key & session state, callbacks, google_search, McpToolset/MCP tools, Gemini model config (gemini-flash-latest, GOOGLE_API_KEY, GOOGLE_GENAI_USE_ENTERPRISE), adk run/web/api_server CLI, streaming, or multi-agent orchestration. Also use for questions about how the SDK works, its current API surface, or converting an idea into a Gemini agentic app. Provides the correct, docs-grounded API (no guessed imports).
sheikh-mohammad/agent-factory-claude-skills · ★ 6 · AI & Automation · score 63
Install: claude install-skill sheikh-mohammad/agent-factory-claude-skills
# Google ADK (Python) ## Overview The Google Agent Development Kit (ADK) is a code-first, Python-first toolkit for building agents with Gemini and other models. Core concepts: **Agents** (`LlmAgent`, aliased `Agent`) with instructions and tools, **sub-agents / workflows** (hierarchical delegation and deterministic orchestration), **sessions & state** (per-conversation memory), **events** (the execution stream), and **callbacks** (interception hooks). `Runner` executes agents; `InMemorySessionService` stores sessions. Ground all code in the official docs. This skill's reference files reproduce the documented API — never invent imports or parameters. Current ADK is v2.x (latest v2.6.2, 2026-08). ## Core workflow (hello world) ```python from google.adk.agents.llm_agent import Agent def get_current_time(city: str) -> dict: """Returns the current time in a specified city.""" return {"status": "success", "city": city, "time": "10:30 AM"} root_agent = Agent( model='gemini-flash-latest', name='root_agent', description="Tells the current time in a specified city.", instruction="You are a helpful assistant that tells the current time in cities. Use the 'get_current_time' tool for this purpose.", tools=[get_current_time], ) ``` Setup: `pip install google-adk` (Python 3.10+), then put `GOOGLE_API_KEY` in `.env`. Run with `adk run my_agent`, `adk web` (dev UI), or programmatically with `Runner` + `InMemorySessionService`. ## How to use this skill 1. I