Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

google/adk-python

AI EngineeringAgent frameworks

A code-first Python framework for building, evaluating, and deploying modular AI agents and workflows.

This project ships 17 agent skillsSkill list and install →
22,559
4,503
Python
Apache-2.0
1 year old

Overview

Agent Development Kit (ADK) is a code-first Python framework for building AI agents and composing them into workflows. Agents declare a model, instructions, and tools in Python; Workflow objects connect agents and tasks through a graph-based execution engine that supports routing, fan-out/fan-in, loops, retries, state management, dynamic nodes, human-in-the-loop steps, and nested workflows. ADK is optimized for Gemini but is model- and deployment-agnostic, and it integrates with the Google ecosystem through tools, OpenAPI specs, and MCP tools.

It suits Python developers who need testable, versioned agent logic rather than a low-code interface, from single agents up to multi-agent hierarchies and multi-turn agent-to-agent delegation via the Task API.

Quick start

Requirements: Python 3.11 or later.

  1. Install the stable package:
pip install google-adk

For dependency pinning, the README recommends installing with the constraints file matching your Python version, e.g. for 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
  1. Define an agent in Python:
from google.adk import Agent

root_agent = Agent(
    name="greeting_agent",
    model="gemini-3.5-flash",
    instruction="You are a helpful assistant. Greet the user warmly.",
)
  1. Run it locally from the project root:
adk run path/to/my_agent

To try the web interface with multiple agents:

adk web path/to/agents_dir

Runnable examples live under contributing/samples/, and evaluation can be run with adk eval against the bundled home-automation sample and eval set cited in the README. For deployment, adk deploy docker packages an agent container, and adk deploy cloud_run targets Google Cloud.

Constraints and operations

  • Python 3.11+ is required.
  • The stable release comes from PyPI and updates roughly bi-weekly; installing from main pulls the latest commits and may include experimental changes or bugs.
  • Optional integrations require pip install "google-adk[extensions]".
  • Cloud Run and Agent Runtime deployment target Google Cloud; local Docker deployment does not require that platform but does require a container setup.
  • Tool confirmation provides a human-in-the-loop gate before tool execution, useful for side-effecting tools.
  • The project is Apache-2.0 licensed.

HotRepo's take

ADK was announced in April 2025 and drew small Hacker News threads: the launch-level post received 6 points and 3 comments, and a follow-up post drew 1 point and 1 comment. The substantive discussion came from a commenter who highlighted the library's use of typing and pydantic, compared the explicit agent handover to Pydantic AI, and noted limited model coverage at the time, expecting it to improve in the discussion. That matches the repository's positioning: a typed, code-first framework whose model-agnostic layer is still maturing, so teams should evaluate model support against their own needs. The multi-language siblings (Java, Kotlin, Go, TypeScript) and the community repo signal an ecosystem effort beyond the Python package.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

Hacker News

Agent Development Kit (ADK) from Google
▲ 6 · 3 comments · April 9, 2025
Google ADK
▲ 1 · 1 comment · April 11, 2025

You might also like

  1. crewAIInc/crewAIA Python framework for coordinating role-based LLM agents and wrapping them in controlled, event-driven workflows.Python60,208
  2. YT-Proteus-bot/MineAgentA local canvas for visually assembling multi-agent workflows and compiling them into standalone Python projects.Python104
  3. google/adk-recipesRunnable Agent Development Kit recipes and vertical plugins that give developers a working starting point for building agents.Python10,753
  4. agentscope-ai/agentscope-javaA Java framework for running long-lived, distributed LLM agents with permissions, event streams and persistent memory.Java6,136
  5. ruvnet/rufloA harness that wraps Claude Code and Codex with swarms, persistent memory, and cross-machine federation for multi-agent work.TypeScript82,818