Install
pip install google-adkGoogle’s Agent Development Kit. Build agents on Gemini (and any LLM via google-genai / LiteLlm) with graph-based Workflow orchestration, MCP client + server, A2A protocol, and native GCP services (Vertex AI, Cloud Run, Agent Engine).
Install
pip install google-adkVersion
v2.9.0 · September 2026 · Python 3.10+
Best for
GCP-native workloads, Gemini-first agents, Vertex AI Agent Engine.
import asynciofrom google.adk.agents import LlmAgentfrom google.adk.runners import InMemoryRunner
agent = LlmAgent( name="assistant", model="gemini-2.5-flash", instruction="You are a helpful assistant.",)
async def main(): runner = InMemoryRunner(agent=agent, app_name="demo") await runner.session_service.create_session(app_name="demo", user_id="u1", session_id="s1") events = await runner.run_debug("What is 15 + 27?", user_id="u1", session_id="s1") print(events[-1].content.parts[0].text)
asyncio.run(main())Ready? Start Zero → Hero Step 1 →
Compact, version-level history. Per-symbol details for the current release live in the Class & API Reference above; older per-volume changelog detail has been superseded and lives in git history.
| Version | Date | Summary |
|---|---|---|
| 1.18.0 | Nov 2025 | Initial documented version. |
| 1.31.0 | Apr 2026 | A2A protocol, MCP client + server, Web UI overhaul (Graph View, execution traces), Vertex AI Agent Engine Sandbox, Firestore session support. |
| 2.0.0 (beta → GA) | Apr – May 2026 | Workflow graph orchestration ships; SequentialAgent/ParallelAgent/LoopAgent deprecated in its favor. Plugin system (BasePlugin, 11+ hooks). MCP sampling/resources/auth schemes. to_a2a() / RemoteA2aAgent. Vertex AI Memory Bank + RAG. Built-in code executors (local, Vertex AI, container, GKE, Agent Engine sandbox). GA stable release confirmed May 20, 2026 — --pre no longer required. |
| 2.1.0 | May 2026 | RunConfig gains tool_thread_pool_config, context_window_compression, get_session_config; BaseNode schema fields (state_schema/input_schema/output_schema) formalized; Context.add_memory(). |
| 2.2.0 | Jun 2026 | AgentEngineSandboxComputer, AgentRegistry, GcpAuthProvider, ApigeeLlm; live-audio session classes stabilized (AudioCacheManager, AudioTranscriber, TranscriptionManager); ParameterManagerClient/SecretManagerClient. |
| 2.3.0 | Jun 2026 | Credential-exchange pipeline (BaseCredentialExchanger, OAuth2CredentialExchanger), SessionStateCredentialService, workflow error taxonomy (NodeInterruptedError/NodeTimeoutError/DynamicNodeFailError), conformance-testing infrastructure, ToolConnectionAnalyzer. |
| 2.4.0 | Jul 2026 | ManagedAgent (Managed Agents API), DaytonaEnvironment, ReplayManager, injectable platform.time/uuid/thread for deterministic tests, PubSubCredentialsConfig/PubSubToolConfig. |
| 2.5.0 | Jul 2026 | SkillRegistry/SkillToolset, AgentOptimizer/Sampler ABCs, GEPARootAgentOptimizer, OpenAILlm (labs), LangGraphAgent, AutoFlow vs SingleFlow pipeline split. |
| 2.6.1 – 2.6.3 | Aug 2026 | App/EventsCompactionConfig/ResumabilityConfig refinements, ToolConfirmation, McpInstructionProvider, comprehensive RunConfig/StreamingMode/ToolThreadPoolConfig, SpannerToolset, CachePerformanceAnalyzer. |
| 2.7.1 | Aug 21, 2026 | Documentation consolidation. The 48 sequential “class deep dive” volumes (covering versions 2.1.0 → 2.6.3) have been merged, deduplicated, and re-verified as one Class & API Reference section on the comprehensive guide, organized into 12 subject areas. Notable import-path corrections confirmed against the installed 2.7.1 package: EventsCompactionConfig moved to the private google.adk.apps._configs (no longer re-exported from google.adk.apps); every google.adk.a2a class requires a private submodule import; GCS/Firestore session, memory, and artifact integrations relocated to google.adk.integrations.*; LoopAgent/ParallelAgent/SequentialAgent remain functional but are confirmed @deprecated in favor of Workflow. |
| 2.8.0 | Aug 31, 2026 | New deep-dive page covering 10 source-verified classes: LiveRequestQueue (bidirectional streaming), ExecuteBashTool/BashToolPolicy (secure bash with HITL gate), ToolConfirmation (human-in-the-loop protocol), App (top-level container), EventsCompactionConfig (token-threshold + sliding-window), LlmEventSummarizer (LLM-driven session summarizer), PreloadMemoryTool (proactive memory injection), ToolboxToolset (Cloud Toolbox / MCP Toolbox), GcsArtifactService (GCS artifact storage), and exit_loop/get_user_choice_tool (control-flow built-ins). |
Note: Other languages: Go · TypeScript.