dotsagent.io
Idioma:Español
Framework · Google

Google ADK de un vistazo

El Agent Development Kit de Google ofrece SDK para Python, TypeScript, Go, Java y Kotlin, y evaluación integrada en el núcleo. Está pensado primero para Gemini, pero permite usar otros modelos mediante adaptadores y desplegar en Agent Runtime en Google Cloud.

Ideal para: Equipos que trabajan con varios lenguajes y necesitan agentes pensados primero para Gemini, evaluaciones integradas y una vía directa a Google Cloud.

Datos clave

Mantenedor
Google
Lenguajes
Python, TypeScript, Go, Java, Kotlin
Licencia
Apache-2.0
Última versión
Python 2.10.0 · 25 de septiembre de 2026
Repositorio
google/adk-python · 21.687 estrellas
Opción alojada
Agent Runtime on Gemini Enterprise Agent Platform (formerly Vertex AI Agent Engine); also Cloud Run, GKE
Agent Runtime antes se llamaba Vertex AI Agent Engine; la llamada de despliegue sigue siendo client.agent_engines.create(...).

Inicio rápido

Instala el paquete, configura las credenciales y ejecuta el agente más sencillo de la documentación oficial. Los ID de modelo son los que usa la documentación y puede que no estén habilitados en tu cuenta.

Python

Instalar
pip install google-adk && adk create my_agent  (run with: adk run my_agent  or  adk web --port 8000)

Requiere GOOGLE_API_KEY in my_agent/.env

Python
from google.adk.agents.llm_agent import Agent

# Mock tool implementation
def get_current_time(city: str) -> dict:
    """Returns the current time in a specified city."""
    return {"status": "success", "city": city, "time": "10:30 AM"}

root_agent = Agent(
    model='gemini-flash-latest',
    name='root_agent',
    description="Tells the current time in a specified city.",
    instruction="You are a helpful assistant that tells the current time in cities. Use the 'get_current_time' tool for this purpose.",
    tools=[get_current_time],
)

Fuente de la guía de inicio rápido

TypeScript

Instalar
npm install @google/adk (inferred from package name; not copied from docs)

Requiere GOOGLE_API_KEY

TypeScript
import { LlmAgent, GOOGLE_SEARCH } from '@google/adk';

const agent = new LlmAgent({
  name: 'researcher',
  model: 'gemini-flash-latest',
  instruction: 'You help users research topics thoroughly.',
  tools: [GOOGLE_SEARCH],
});

Fuente de la guía de inicio rápido

Funciones

Cualquier modeloSíPensado primero para Gemini; otros modelos mediante LiteLLM y adaptadores locales
Cliente MCPSíMcpToolset, con confirmación opcional para cada herramienta
Servidor MCPSíExpón un agente con to_mcp_server()
MultiagenteSíÁrboles de subagentes y flujos de trabajo basados en grafos desde ADK 2.0
Ejecuciones duraderasSíReanuda agentes detenidos; Agent Runtime conserva el estado durante ejecuciones largas
Aprobación humanaSíConfirmación de herramientas mediante require_confirmation=True
TrazasSíBasado en OpenTelemetry, con Cloud Trace en Google Cloud
EvaluacionesSíLa evaluación es una función esencial de ADK

Cambios recientes

  • ADK 2.0 añadió flujos de trabajo basados en grafos.
  • Se añadió un SDK de Kotlin a los de Python, TypeScript, Go y Java.
  • La documentación se trasladó a adk.dev.
  • Vertex AI Agent Engine pasó a llamarse Agent Runtime dentro de Gemini Enterprise Agent Platform.

Alternativas en el mismo lenguaje

Fuentes

  1. google.github.io/adk-docs/
  2. google.github.io/adk-docs/get-started/python/
  3. adk.dev/tools-custom/confirmation/
  4. adk.dev/tools-custom/mcp-tools/advanced/
  5. adk.dev/tools-custom/mcp-tools/agent-as-server/
  6. docs.cloud.google.com/gemini-enterprise-agent-platform/vertex-ai-name-changes
  7. cloud.google.com/blog/products/ai-machine-learning/introducing-gemini-enterprise-agent
  8. docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/quickstart-adk
  9. pypi.org/pypi/google-adk/json
  10. registry.npmjs.org/@google%2fadk
  11. api.github.com/repos/google/adk-python