What is Google Agent Development Kit (ADK)?
Google Agent Development Kit (ADK) is Un framework de Python basado en código para crear, evaluar y desplegar agentes de IA. It sits in the Agent Frameworks & Builders category of the Agents & Automation tools and is open-source, written in Python and licensed Apache-2.0. To get started: instalar ADK.
Resumen
Agent Development Kit (ADK) es un framework de Python de código abierto y basado en código, creado por Google, para crear, evaluar y desplegar agentes de IA. Defines los agentes en Python y mantienes el control de su comportamiento, en lugar de conectarlo todo mediante una interfaz gráfica o archivos de configuración.
Está pensado para desarrolladores que quieren crear agentes individuales o coordinar varios agentes juntos. ADK 2.0 añade un Workflow Runtime basado en grafos para componer flujos de ejecución deterministas (enrutamiento, fan-out/fan-in, bucles, reintentos, intervención humana y flujos de trabajo anidados) y una Task API para la delegación estructurada de tareas entre agentes.
Como framework de agentes de propósito general, te ofrece los componentes básicos para definir agentes, conectarlos en flujos de trabajo, ejecutarlos en local mediante una CLI o una interfaz web y avanzar hacia su despliegue.
Qué hace
- API de Python basada en código para definir agentes con un nombre, un modelo y una instrucción
- Workflow Runtime: un motor basado en grafos para el enrutamiento, fan-out/fan-in, bucles, reintentos, gestión del estado y flujos de trabajo anidados
- Task API para la delegación estructurada de tareas entre agentes, incluido el modo de tareas multituno y la intervención humana (human-in-the-loop)
- Herramientas integradas para ejecutar en local: CLI interactiva (adk run) y una interfaz web (adk web)
- Compatibilidad nativa con configuraciones multiagente compuestas mediante conexiones (edges) de Workflow
- Integraciones opcionales que se instalan con el extra [extensions]
Primeros pasos
Instala el paquete con pip (se requiere Python 3.10+), define un agente en Python y ejecútalo en local con la CLI o la interfaz web de ADK.
Instalar ADK
Instala el framework desde PyPI. Si quieres añadir integraciones opcionales, instala el extra extensions en su lugar.
pip install google-adkDefinir un agente
Crea un agente con un nombre, un modelo y una instrucción. Expónlo como root_agent para que la CLI y la interfaz web puedan encontrarlo.
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.",
)Componer un flujo de trabajo (opcional)
Conecta varios agentes mediante edges para ejecutarlos en secuencia con el Workflow Runtime.
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)],
)Ejecutar en local
Usa la CLI interactiva para una sesión en la terminal, o inicia la interfaz web apuntando al directorio de tus agentes.
# Interactive CLI
adk run path/to/my_agent
# Web UI
adk web path/to/agents_dirCommands and code are distilled from the project's own documentation — always check the repositorio oficial para lo último.
Cuándo usarlo
- Crear un agente individual basado en LLM en Python, con un modelo y una instrucción definidos
- Coordinar varios agentes en un flujo de trabajo determinista con enrutamiento, bucles o fan-out/fan-in
- Delegar subtareas entre agentes con la Task API, incluidos los pasos con intervención humana
- Prototipar y probar agentes en local con la CLI o la interfaz web de ADK antes de desplegarlos
How Google Agent Development Kit (ADK) compares
Google Agent Development Kit (ADK) alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.
| Herramienta | Estrellas | Qué hace |
|---|---|---|
| DeepSeek Harness | ★ 289k | DeepSeek AI's open-source agent harness (dsh), built on Cordis, where models, tools, skills, sessions, sandboxes, storage and the UI are all plugins composed through profiles. |
| AutoGPT | ★ 188k | One of the earliest autonomous agent projects, now a platform for building and running agents from reusable blocks and workflows. |
| DeerFlow | ★ 86k | ByteDance's open-source super agent harness built on LangGraph: skills, sub-agents, sandboxes, a filesystem and long-term memory for long-horizon research, coding and content tasks. |
| nanobot | ★ 50.5k | Lightweight self-hosted personal AI agent framework in Python, with a WebUI, terminal and chat-app channels, tools, long-term memory, MCP and scheduled automations. |
| LangGraph | ★ 45.6k | A library from the LangChain team for building stateful, graph-based agent workflows with explicit control over steps, memory, and human-in-the-loop checkpoints. |
| Agno | ★ 43.3k | A fast Python framework (formerly Phidata) for building agents with memory, tools, and multimodal inputs, plus a runtime for deploying them in production. |
| AgentGPT | ★ 36.3k | AgentGPT lets you name a custom AI, give it a goal, and watch it plan tasks, run them, and learn from the results, all from a web browser. |
| Google Agent Development Kit (ADK) | ★ 22.5k | Un framework de Python basado en código para crear, evaluar y desplegar agentes de IA |

