Skip to content

Google ADK (Python)

Google’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

Terminal window
pip install google-adk --pre

Version

v2.0.0b1 · April 2026 · Python 3.10+

Best for

GCP-native workloads, Gemini-first agents, Vertex AI Agent Engine.

  • Workflow graph orchestrationSequentialAgent / ParallelAgent / LoopAgent are now @deprecated in favour of Workflow with edges, routing maps, and @node.
  • Plugins — runner-wide interception via BasePlugin with 11 hooks. GlobalInstructionPlugin replaces the deprecated LlmAgent.global_instruction.
  • MCP client + server — full MCP support including sampling, resources, and auth schemes.
  • A2A protocolto_a2a(agent) to publish; RemoteA2aAgent to consume.
  • Vertex AI Memory Bank + RAGVertexAiMemoryBankService, VertexAiRagMemoryService.
  • Built-in code executorsBuiltInCodeExecutor, VertexAiCodeExecutor, ContainerCodeExecutor, GkeCodeExecutor, AgentEngineSandboxCodeExecutor.
import asyncio
from google.adk.agents import LlmAgent
from 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 →


DateFramework version (installed)Summary of changesReviewer
2026-04-22google-adk 2.0.0b1Added 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-21google-adk 1.31.0Index redesigned with Zero → Hero + Jump-to-topic grid.
April 17, 2026google-adk 1.31.0A2A; MCP; expanded tools; Workload Identity.
November 2025google-adk 1.18.0Initial documented version.

Note: Other languages: Go · TypeScript.