AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).
中文简介正在准备中。当前显示原文说明。
Build AI agents with Google ADK Python. Multi-agent systems, A2A protocol, MCP tools, workflow agents, state/memory, callbacks/plugins, Vertex AI deployment, evaluation.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
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.
adk eval frameworkmy_agent/
├── __init__.py # MUST: from . import agent
└── agent.py # MUST: root_agent = Agent(...) OR app = App(...)
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],
)
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.
| Command | Purpose |
|---|---|
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 |
| Type | Use Case |
|---|---|
Agent / LlmAgent | Dynamic routing, tool use, reasoning |
SequentialAgent | Fixed-order pipeline |
ParallelAgent | Concurrent execution |
LoopAgent | Iterative processing |
RemoteA2aAgent | Remote agent via A2A protocol |
| Feature | API |
|---|---|
| State | tool_context.state[key] = value |
| Artifacts | tool_context.save_artifact(name, part) |
| Callbacks | before_agent_callback, after_model_callback, etc. |
| MCP Tools | MCPToolset(connection_params=StdioConnectionParams(...)) |
| Sub-agents | Agent(..., sub_agents=[agent1, agent2]) |
| Human-in-loop | LongRunningFunctionTool(func=my_func) |
| Plugins | App(..., plugins=[MyPlugin()]) |
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
root_agent or app variable in agent.pysub_agentsToolContext.state for ephemeral, MemoryService for long-termadk eval + evalset JSON before deploymentDetailed guides (load as needed):
references/agent-types-and-architecture.md — Agent types, workflows, custom agentsreferences/tools-and-mcp-integration.md — Custom tools, MCP, tool filteringreferences/multi-agent-and-a2a-protocol.md — Sub-agents, A2A, coordinator patternsreferences/sessions-state-memory-artifacts.md — State, artifacts, sessions, memoryreferences/callbacks-plugins-observability.md — Lifecycle hooks, plugins, tracingreferences/evaluation-testing-cli.md — adk eval, CLI, evalset formatreferences/deployment-cloud-run-vertex-gke.md — Cloud Run, Vertex AI, GKE还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
Answer technical and architectural questions with expert consultation.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
Add authentication with Better Auth (TypeScript). Use for email/password, OAuth providers (Google, GitHub), 2FA/MFA, passkeys/WebAuthn, sessions, RBAC, rate limiting.
中文简介正在准备中。当前显示原文说明。