google-adk 2.6.0


pip install google-adk

  Latest version

Released: Jul 30, 2026


Meta
Author: Google LLC
Requires Python: >=3.10

Classifiers

Intended Audience
  • Developers
  • Science/Research

License
  • OSI Approved :: Apache Software License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3 :: Only
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Topic
  • Software Development :: Libraries :: Python Modules

Typing
  • Typed

Agent Development Kit (ADK) 2.0

License PyPI version Python versions PyPI downloads Unit Tests Docs

An open-source, code-first Python framework for building, evaluating, and deploying sophisticated AI agents with flexibility and control.

Important Links: Docs, Samples & ADK Web.


โš ๏ธ BREAKING CHANGES FROM 1.x

This release includes breaking changes to the agent API, event model, and session schema. Sessions generated by ADK 2.0 are readable by ADK 1.28+ (extra fields will be ignored), but are incompatible with older 1.x versions.


๐Ÿ”ฅ What's New in 2.0

  • Workflow Runtime: A graph-based execution engine for composing deterministic execution flows for agentic apps, with support for routing, fan-out/fan-in, loops, retry, state management, dynamic nodes, human-in-the-loop, and nested workflows.

  • Task API: Structured agent-to-agent delegation with multi-turn task mode, single-turn controlled output, mixed delegation patterns, human-in-the-loop, and task agents as workflow nodes.

๐Ÿš€ Installation

pip install google-adk

Requirements: Python 3.10+.

For transitive dependency protection, we recommend to install with our companion constraints files (for python 3.10 to 3.14).

Choose the constraints file matching your Python version:

# For example, for Python 3.10
curl -o constraints-3.10.txt https://github.com/google/adk-python/blob/main/constraints-3.10.txt
pip install google-adk -c constraints-3.10.txt
rm constraints-3.10.txt

To install optional integrations, you can use the following command:

pip install "google-adk[extensions]"

The release cadence is roughly bi-weekly.

Quick Start

Beginner Note: ADK applications are built using two main classes: Agent (defines an AI's instructions, tools, and behavior) and Workflow (orchestrates agents and tasks in a graph-based flow).

Agent

from google.adk import Agent

root_agent = Agent(
    name="greeting_agent",
    model="gemini-2.5-flash",
    instruction="You are a helpful assistant. Greet the user warmly.",
)

Workflow

from google.adk import Agent, Workflow

generate_fruit_agent = Agent(
    name="generate_fruit_agent",
    instruction="Return the name of a random fruit. Return only the name.",
)

generate_benefit_agent = Agent(
    name="generate_benefit_agent",
    instruction="Tell me a health benefit about the specified fruit.",
)

root_agent = Workflow(
    name="root_agent",
    edges=[("START", generate_fruit_agent, generate_benefit_agent)],
)

Run Locally

# Interactive CLI
adk run path/to/my_agent

# Web UI (supports multi-agent directories or pointing directly to a single agent folder)
adk web path/to/agents_dir

๐Ÿ“š Documentation

๐Ÿค Contributing

See CONTRIBUTING.md for details.

๐Ÿ“„ License

This project is licensed under the Apache 2.0 License โ€” see the LICENSE file for details.

2.6.0 Jul 30, 2026
2.5.0 Jul 16, 2026
2.4.0 Jul 07, 2026
2.3.0 Jun 18, 2026
2.2.0 Jun 04, 2026
2.1.0 May 23, 2026
2.0.0 May 19, 2026
2.0.0b1 Apr 21, 2026
2.0.0a3 Apr 09, 2026
2.0.0a2 Mar 27, 2026
2.0.0a1 Mar 18, 2026
1.37.0 Jul 30, 2026
1.36.2 Jul 21, 2026
1.36.1 Jul 06, 2026
1.36.0 Jun 22, 2026
1.35.2 Jun 17, 2026
1.35.1 Jun 15, 2026
1.35.0 Jun 10, 2026
1.34.3 Jun 02, 2026
1.34.2 Jun 01, 2026
1.34.1 May 22, 2026
1.34.0 May 18, 2026
1.33.0 May 08, 2026
1.32.0 May 01, 2026
1.31.1 Apr 21, 2026
1.31.0 Apr 17, 2026
1.30.0 Apr 13, 2026
1.29.0 Apr 09, 2026
1.28.1 Apr 02, 2026
1.28.0 Mar 26, 2026
1.27.5 Mar 26, 2026
1.27.4 Mar 24, 2026
1.27.3 Mar 23, 2026
1.27.2 Mar 17, 2026
1.27.1 Mar 13, 2026
1.27.0 Mar 12, 2026
1.26.0 Feb 26, 2026
1.25.1 Feb 18, 2026
1.25.0 Feb 11, 2026
1.24.1 Feb 06, 2026
1.24.0 Feb 05, 2026
1.23.0 Jan 22, 2026
1.22.1 Jan 12, 2026
1.22.0 Jan 08, 2026
1.21.0 Dec 12, 2025
1.20.0 Dec 03, 2025
1.19.0 Nov 20, 2025
1.18.0 Nov 05, 2025
1.17.0 Oct 22, 2025
1.16.0 Oct 09, 2025
1.15.1 Sep 26, 2025
1.15.0 Sep 26, 2025
1.14.1 Sep 15, 2025
1.14.0 Sep 10, 2025
1.13.0 Aug 27, 2025
1.12.0 Aug 20, 2025
1.11.0 Aug 14, 2025
1.10.0 Aug 07, 2025
1.9.0 Jul 31, 2025
1.8.0 Jul 23, 2025
1.7.0 Jul 16, 2025
1.6.1 Jul 10, 2025
1.5.0 Jun 25, 2025
1.4.2 Jun 20, 2025
1.4.1 Jun 19, 2025
1.3.0 Jun 12, 2025
1.2.1 Jun 04, 2025
1.2.0 Jun 04, 2025
1.1.1 May 29, 2025
1.1.0 May 28, 2025
1.0.0 May 20, 2025
0.5.0 May 08, 2025
0.4.0 May 02, 2025
0.3.0 Apr 24, 2025
0.2.0 Apr 18, 2025
0.1.1 Apr 09, 2025
0.1.0 Apr 09, 2025
0.0.5 Apr 09, 2025
0.0.4 Apr 09, 2025
0.0.3 Apr 08, 2025
0.0.2 Apr 08, 2025
0.0.1 Mar 17, 2025

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
aiohttp (!=3.14.2)
aiosqlite (>=0.21)
authlib (<2,>=1.6.6)
click (<9,>=8.1.8)
fastapi (<1,>=0.133)
google-auth[pyopenssl] (>=2.47)
google-genai (<3,>=2.9)
graphviz (<1,>=0.20.2)
httpx (<1,>=0.27)
jsonschema (<5,>=4.23)
opentelemetry-api (<=1.42.1,>=1.39)
opentelemetry-sdk (<=1.42.1,>=1.39)
packaging (>=21)
pydantic (<3,>=2.12)
python-dotenv (<2,>=1)
python-multipart (<1,>=0.0.9)
pyyaml (<7,>=6.0.2)
requests (<3,>=2.32.4)
starlette (<2,>=1.3.1)
tenacity (<10,>=9)
typing-extensions (<5,>=4.5)
tzlocal (<6,>=5.3)
uvicorn (<1,>=0.34)
watchdog (<7,>=6)
websockets (<16,>=15.0.1)