Install
pip install google-adk --preGoogle’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-adk --preVersion
v2.0.0b1 · April 2026 · Python 3.10+
Best for
GCP-native workloads, Gemini-first agents, Vertex AI Agent Engine.
Workflow graph orchestration — SequentialAgent / ParallelAgent / LoopAgent are now @deprecated in favour of Workflow with edges, routing maps, and @node.BasePlugin with 11 hooks. GlobalInstructionPlugin replaces the deprecated LlmAgent.global_instruction.to_a2a(agent) to publish; RemoteA2aAgent to consume.VertexAiMemoryBankService, VertexAiRagMemoryService.BuiltInCodeExecutor, VertexAiCodeExecutor, ContainerCodeExecutor, GkeCodeExecutor, AgentEngineSandboxCodeExecutor.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 →
| Date | Framework version (installed) | Summary of changes | Reviewer |
|---|---|---|---|
| 2026-04-22 | google-adk 2.0.0b1 | Added 7 topic pages: Agents, Workflows, Tools, Callbacks & Plugins, Runner & Sessions, Memory & Artifacts, MCP & A2A. Verified against installed source. Fixed errata in Advanced Python quickstart. Index rewired with new Zero → Hero and Reference grid. | Claude routine |
| 2026-04-21 | google-adk 1.31.0 | Index redesigned with Zero → Hero + Jump-to-topic grid. | — |
| April 17, 2026 | google-adk 1.31.0 | A2A; MCP; expanded tools; Workload Identity. | — |
| November 2025 | google-adk 1.18.0 | Initial documented version. | — |
Note: Other languages: Go · TypeScript.