Skip to content
cccskills
FreePublished on GitHub

ck:google-adk-python

Build AI agents with Google ADK Python. Multi-agent systems, A2A protocol, MCP tools, workflow agents, state/memory, callbacks/plugins, Vertex AI deployment, evaluation.

The English summary is being prepared. Showing the original description.

Works withGoogle Cloud
See how to install

Files included (8)

  • SKILL.md4.8 KB
  • references/agent-types-and-architecture.md2.9 KB
  • references/callbacks-plugins-observability.md3.5 KB
  • references/deployment-cloud-run-vertex-gke.md3.4 KB
  • references/evaluation-testing-cli.md2.6 KB
  • references/multi-agent-and-a2a-protocol.md3.8 KB
  • references/sessions-state-memory-artifacts.md4.2 KB
  • references/tools-and-mcp-integration.md3.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Google ADK Python Skill

Expert guide for Google's Agent Development Kit (ADK) Python — open-source, code-first toolkit for building, evaluating, and deploying AI agents. Optimized for Gemini, model-agnostic by design.

When to Activate

  • Build single or multi-agent systems with tool integration
  • Implement A2A protocol for remote agent communication
  • Integrate MCP servers as agent tools
  • Use workflow agents (sequential, parallel, loop) for pipelines
  • Manage sessions, state, memory, and artifacts
  • Add callbacks, plugins, or observability hooks
  • Deploy to Cloud Run, Vertex AI Agent Engine, or GKE
  • Evaluate agents with adk eval framework

Agent Structure Convention (Required)

my_agent/
├── __init__.py   # MUST: from . import agent
└── agent.py      # MUST: root_agent = Agent(...) OR app = App(...)

Quick Start

pip install google-adk          # stable (weekly releases)
uv sync --all-extras            # dev setup (uv required, Python 3.10+, 3.11+ recommended)
from google.adk import Agent

root_agent = Agent(
    name="assistant",
    model="gemini-2.5-flash",
    instruction="You are a helpful assistant.",
    description="General assistant agent.",
    tools=[get_weather],
)

App Pattern (Production)

from google.adk import Agent
from google.adk.apps import App
from google.adk.apps.app import EventsCompactionConfig
from google.adk.plugins.save_files_as_artifacts_plugin import SaveFilesAsArtifactsPlugin

app = App(
    name="my_app",
    root_agent=Agent(name="my_agent", model="gemini-2.5-flash", ...),
    plugins=[SaveFilesAsArtifactsPlugin()],
    events_compaction_config=EventsCompactionConfig(compaction_interval=2),
)

Use App when needing plugins, event compaction, or custom lifecycle management.

CLI Tools

CommandPurpose
adk web <agents_dir>Dev UI (recommended for development)
adk run <agent_dir>Interactive CLI testing
adk api_server <agents_dir>FastAPI production server
adk eval <agent> <evalset.json>Run evaluation suite

Agent Types

TypeUse Case
Agent / LlmAgentDynamic routing, tool use, reasoning
SequentialAgentFixed-order pipeline
ParallelAgentConcurrent execution
LoopAgentIterative processing
RemoteA2aAgentRemote agent via A2A protocol

Key APIs

FeatureAPI
Statetool_context.state[key] = value
Artifactstool_context.save_artifact(name, part)
Callbacksbefore_agent_callback, after_model_callback, etc.
MCP ToolsMCPToolset(connection_params=StdioConnectionParams(...))
Sub-agentsAgent(..., sub_agents=[agent1, agent2])
Human-in-loopLongRunningFunctionTool(func=my_func)
PluginsApp(..., plugins=[MyPlugin()])

Model Support

Latest: gemini-2.5-flash (default), gemini-2.5-pro, gemini-2.0-flash (sunsets Mar 2026) Preview: gemini-3-flash-preview, gemini-3-pro-preview Also: OpenAI Codex, Ollama, LiteLLM, vLLM, Model Garden

Best Practices

  1. Code-first — define agents in Python for version control and testing
  2. Agent convention — always use root_agent or app variable in agent.py
  3. Modular agents — specialize per domain, compose via sub_agents
  4. Workflow selection — workflow agents for predictable, LlmAgent for dynamic
  5. State — ToolContext.state for ephemeral, MemoryService for long-term
  6. Safety — callbacks for guardrails, tool confirmation for sensitive ops
  7. Evaluate — test with adk eval + evalset JSON before deployment

References

Detailed guides (load as needed):

  • references/agent-types-and-architecture.md — Agent types, workflows, custom agents
  • references/tools-and-mcp-integration.md — Custom tools, MCP, tool filtering
  • references/multi-agent-and-a2a-protocol.md — Sub-agents, A2A, coordinator patterns
  • references/sessions-state-memory-artifacts.md — State, artifacts, sessions, memory
  • references/callbacks-plugins-observability.md — Lifecycle hooks, plugins, tracing
  • references/evaluation-testing-cli.md — adk eval, CLI, evalset format
  • references/deployment-cloud-run-vertex-gke.md — Cloud Run, Vertex AI, GKE

External Resources

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).

The English summary is being prepared. Showing the original description.

manhvann/codexkit89Updated Aug 29, 2026

Generate images via Nano Banana with 129 curated prompts. Mandatory validation interview refines style/mood/colors (use --skip to bypass). 3 modes: search, creative, wild. Styles: Ukiyo-e, Bento grid, cyberpunk, cinematic, vintage patent.

The English summary is being prepared. Showing the original description.

manhvann/codexkit89Updated Aug 29, 2026

Analyze images/audio/video with Gemini API (better vision than Codex). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

The English summary is being prepared. Showing the original description.

manhvann/codexkit89Updated Aug 29, 2026

ck:ask

Free

Answer technical and architectural questions with expert consultation.

The English summary is being prepared. Showing the original description.

manhvann/codexkit89Updated Aug 29, 2026

Build backends with Node.js, Python, Go (NestJS, FastAPI, Django). Use for REST/GraphQL/gRPC APIs, auth (OAuth, JWT), databases, microservices, security (OWASP), Docker/K8s.

The English summary is being prepared. Showing the original description.

manhvann/codexkit89Updated Aug 29, 2026

Add authentication with Better Auth (TypeScript). Use for email/password, OAuth providers (Google, GitHub), 2FA/MFA, passkeys/WebAuthn, sessions, RBAC, rate limiting.

The English summary is being prepared. Showing the original description.

manhvann/codexkit89Updated Aug 29, 2026

See all skills by manhvann

Report a problem with this skill