Skip to content
Back to search

adk-python

SkillOfficial: GoogleGitHub

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

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/google/adk-python with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/google/adk-python'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/google--adk-python/badge.svg)](/listings/google--adk-python)

HTML

<a href="/listings/google--adk-python"><img src="/api/listings/google--adk-python/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Stable Release (Recommended)

You can install the latest stable version of ADK using `pip`:

pip install google-adk

**Requirements:** Python 3.11+.

For transitive dependency protection, we recommend installing with our companion constraints files (for python 3.11 to 3.15).

Choose the constraints file matching your Python version:

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

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

pip install "google-adk[extensions]"

The release cadence is roughly bi-weekly.

Development Version

Bug fixes and new features are merged into the main branch on GitHub first. If you need access to changes that haven't been included in an official PyPI release yet, you can install directly from the main branch:

pip install git+https://github.com/google/adk-python.git@main

Note: The development version is built directly from the latest code commits. While it includes the newest fixes and features, it may also contain experimental changes or bugs not present in the stable release. Use it primarily for testing upcoming changes or accessing critical fixes before they are officially released.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 237 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # Agent Development Kit (ADK) 2.0
  2. [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
  3. [![PyPI version](https://img.shields.io/pypi/v/google-adk.svg)](https://pypi.org/project/google-adk/)
  4. [![Python versions](https://img.shields.io/pypi/pyversions/google-adk.svg)](https://pypi.org/project/google-adk/)
  5. [![PyPI downloads](https://static.pepy.tech/badge/google-adk/month)](https://pepy.tech/project/google-adk)
  6. [![Continuous Integration](https://github.com/google/adk-python/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/google/adk-python/actions/workflows/continuous-integration.yml)
  7. [![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://adk.dev/)
  8. [![r/agentdevelopmentkit](https://img.shields.io/badge/Reddit-r%2Fagentdevelopmentkit-FF4500?style=flat&logo=reddit&logoColor=white)](https://www.reddit.com/r/agentdevelopmentkit/)
  9. <a href="https://codewiki.google/github.com/google/adk-python"><img src="https://www.gstatic.com/_/boq-sdlc-agents-ui/_/r/Mvosg4klCA4.svg" alt="Ask Code Wiki" height="20"></a>
  10. <h2 align="center">
  11. <img src="https://raw.githubusercontent.com/google/adk-python/main/assets/agent-development-kit.png" width="256"/>
  12. </h2>
  13. <h3 align="center">
  14. An open-source, code-first Python framework for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
  15. </h3>
  16. <h3 align="center">
  17. Important Links:
  18. <a href="https://adk.dev/">Docs</a>,
  19. <a href="https://github.com/google/adk-recipes">Samples</a> &
  20. <a href="https://github.com/google/adk-web">ADK Web</a>.
  21. </h3>
  22. <h3 align="center">
  23. ADK in other languages:
  24. <a href="https://github.com/google/adk-java">ADK Java</a>,
  25. <a href="https://github.com/google/adk-kotlin">ADK Kotlin</a>,
  26. <a href="https://github.com/google/adk-go">ADK Go</a> &
  27. <a href="https://github.com/google/adk-js">ADK Typescript</a>.
  28. </h3>
  29. Agent Development Kit (ADK) is a flexible and modular framework that applies
  30. software development principles to AI agent creation. It is designed to
  31. simplify building, deploying, and orchestrating agent workflows, from simple
  32. tasks to complex systems. While optimized for Gemini, ADK is model-agnostic,
  33. deployment-agnostic, and compatible with other frameworks.
  34. ## ✨ Key Features
  35. - **Workflow Runtime**: A graph-based execution engine for composing
  36. deterministic execution flows for agentic apps, with support for routing,
  37. fan-out/fan-in, loops, retry, state management, dynamic nodes,
  38. human-in-the-loop, and nested workflows.
  39. - **Task API**: Structured agent-to-agent delegation with multi-turn task
  40. mode, single-turn controlled output, mixed delegation patterns,
  41. human-in-the-loop, and task agents as workflow nodes.
  42. - **Modular Multi-Agent Systems**: Design scalable applications by composing
  43. multiple specialized agents into flexible hierarchies.
  44. - **Rich Tool Ecosystem**: Utilize pre-built tools, custom functions,
  45. OpenAPI specs, MCP tools or integrate existing tools to give agents diverse
  46. capabilities, all for tight integration with the Google ecosystem.
  47. - **Code-First Development**: Define agent logic, tools, and orchestration
  48. directly in Python for ultimate flexibility, testability, and versioning.
  49. - **Agent Config**: Build agents without code. Check out the
  50. [Agent Config](https://adk.dev/agents/config/) feature.
  51. - **Tool Confirmation**: A [tool confirmation flow (HITL)](https://adk.dev/tools-custom/confirmation/) that can guard tool execution with explicit confirmation and custom input.
  52. - **Deploy Anywhere**: Easily containerize and deploy agents on Cloud Run or
  53. scale seamlessly with Agent Runtime on Gemini Enterprise Agent Platform
  54. (formerly Vertex AI Agent Engine).
  55. ## 🚀 Installation
  56. ### Stable Release (Recommended)
  57. You can install the latest stable version of ADK using `pip`:
  58. ```bash
  59. pip install google-adk
  60. ```
  61. **Requirements:** Python 3.11+.
  62. For transitive dependency protection, we recommend installing with our companion
  63. constraints files (for python 3.11 to 3.15).
  64. Choose the constraints file matching your Python version:
  65. ```bash
  66. # For example, for Python 3.11
  67. curl -o constraints-3.11.txt https://raw.githubusercontent.com/google/adk-python/main/constraints-3.11.txt
  68. pip install google-adk -c constraints-3.11.txt
  69. rm constraints-3.11.txt
  70. ```
  71. To install optional integrations, you can use the following command:
  72. ```bash
  73. pip install "google-adk[extensions]"
  74. ```
  75. The release cadence is roughly bi-weekly.
  76. ### Development Version
  77. Bug fixes and new features are merged into the main branch on GitHub first. If you need access to changes that haven't been included in an official PyPI release yet, you can install directly from the main branch:
  78. ```bash
  79. pip install git+https://github.com/google/adk-python.git@main
  80. ```
  81. Note: The development version is built directly from the latest code commits. While it includes the newest fixes and features, it may also contain experimental changes or bugs not present in the stable release. Use it primarily for testing upcoming changes or accessing critical fixes before they are officially released.
  82. ## Quick Start
  83. > **Beginner Note:** ADK applications are built using two main classes:
  84. > **`Agent`** (defines an AI's instructions, tools, and behavior) and
  85. > **`Workflow`** (orchestrates agents and tasks in a graph-based flow).
  86. ### Agent
  87. ```python
  88. from google.adk import Agent
  89. root_agent = Agent(
  90. name="greeting_agent",
  91. model="gemini-3.5-flash",
  92. instruction="You are a helpful assistant. Greet the user warmly.",
  93. )
  94. ```
  95. ### Workflow
  96. ```python
  97. from google.adk import Agent, Workflow
  98. generate_fruit_agent = Agent(
  99. name="generate_fruit_agent",
  100. instruction="Return the name of a random fruit. Return only the name.",
  101. )
  102. generate_benefit_agent = Agent(
  103. name="generate_benefit_agent",
  104. instruction="Tell me a health benefit about the specified fruit.",
  105. )
  106. root_agent = Workflow(
  107. name="root_agent",
  108. edges=[("START", generate_fruit_agent, generate_benefit_agent)],
  109. )
  110. ```
  111. ### Run Locally
  112. ```bash
  113. # Interactive CLI
  114. adk run path/to/my_agent
  115. # Web UI (supports multi-agent directories or pointing directly to a single agent folder)
  116. adk web path/to/agents_dir
  117. ```
  118. ### Development UI
  119. A built-in development UI to help you test, evaluate, debug, and showcase your agent(s).
  120. [![ADK Web UI](https://raw.githubusercontent.com/google/adk-python/main/assets/adk-web-dev-ui.png)](https://youtu.be/TEjqk0eeNy8)
  121. [![Watch on YouTube](https://img.shields.io/badge/YouTube-Watch%20ADK%20Web%20Demo-FF0000?style=flat&logo=youtube&logoColor=white)](https://youtu.be/TEjqk0eeNy8)
  122. ### Evaluate Agents
  123. Run the bundled evaluation sample from the repo root:
  124. ```bash
  125. adk eval \
  126. contributing/samples/evaluation/home_automation_agent \
  127. contributing/samples/evaluation/basic_criteria/home_automation.evalset.json \
  128. --config_file_path contributing/samples/evaluation/basic_criteria/eval_config.json
  129. ```
  130. ### 🚀 Deployment Options
  131. Deploying the Agent Locally with Docker Container:
  132. ```bash
  133. adk deploy docker --with_ui <agent-folder>
  134. ```
  135. Deploying the Agent in Google Cloud (Cloud Run)
  136. ```bash
  137. adk deploy cloud_run --with_ui <agent-folder>
  138. ```
  139. You may set the following environment variables in adk command, or in a .env file instead.
  140. ```bash
  141. adk deploy cloud_run --with_ui --env GOOGLE_GENAI_USE_ENTERPRISE=1 <agent-folder>
  142. ```
  143. ## 📚 Documentation
  144. - **Getting Started**: https://adk.dev/
  145. - **Guides**: See
  146. [`docs/guides/`](https://github.com/google/adk-python/tree/main/docs/guides)
  147. for task-oriented walkthroughs of agents, tools, events, plugins, and
  148. workflows.
  149. - **Samples**: See
  150. [`contributing/samples/`](https://github.com/google/adk-python/tree/main/contributing/samples)
  151. for runnable example agents.
  152. ## 🤝 Contributing
  153. We welcome contributions from the community! Whether it's bug reports, feature requests, documentation improvements, or code contributions, please see our:
  154. - [General contribution guideline and flow](https://adk.dev/community/contributing-guide/).
  155. - [Code Contributing Guidelines](./CONTRIBUTING.md) to get started.
  156. ## Community Repo
  157. We have the [adk-python-community repo](https://github.com/google/adk-python-community) that is home to a growing ecosystem of community-contributed tools, third-party
  158. service integrations, and deployment scripts that extend the core capabilities
  159. of the ADK.
  160. ## Vibe Coding
  161. If you want to develop an agent via vibe coding, the [llms.txt](https://adk.dev/llms.txt) and [llms-full.txt](https://adk.dev/llms-full.txt) files published on the ADK documentation site can be used as context for an LLM. The former is a summarized version, while the latter contains the full documentation for LLMs with a large context window.
  162. ## Community Events
  163. - [Completed] ADK's 1st community meeting on Wednesday, October 15, 2025. Remember to [join our group](https://groups.google.com/g/adk-community) to get access to the [recording](https://drive.google.com/file/d/1rpXDq5NSH8-MyMeYI6_5pZ3Lhn0X9BQf/view), and [deck](https://docs.google.com/presentation/d/1_b8LG4xaiadbUUDzyNiapSFyxanc9ZgFdw7JQ6zmZ9Q/edit?slide=id.g384e60cdaca_0_658&resourcekey=0-tjFFv0VBQhpXBPCkZr0NOg#slide=id.g384e60cdaca_0_658).
  164. ## 📄 License
  165. This project is licensed under the Apache 2.0 License — see the
  166. [LICENSE](LICENSE) file for details.
  167. ______________________________________________________________________
  168. *Happy Agent Building!*

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.