Full-Code · Agent SDKsactive

Agent Development Kit (ADK)

Type: full-code  ·  Vendor: Google  ·  Language: Python, Java  ·  License: Apache-2.0  ·  Status: active  ·  Status in practice: mature  ·  First released: 2025-03-17

Links: homepage docs repo

Provide a code-first, model-agnostic Python and Java framework for composing LLM agents with deterministic workflow agents into multi-agent applications that can be evaluated and deployed at enterprise scale.

Description. Agent Development Kit (ADK) is Google's open-source, Apache-2.0 framework for building, evaluating, and deploying AI agents from a single LlmAgent up to multi-agent workflows. The 2.0 release adds a graph-based Workflow Runtime that interleaves deterministic execution flows with LLM reasoning, plus a Task API for structured agent-to-agent delegation. Core abstractions include LlmAgent (instructions + model + tools), the workflow agents Sequential / Parallel / Loop, sub_agents trees, MCP tool integration via McpToolset, an evaluation harness (AgentEvaluator, eval sets, tool-trajectory and response-match criteria), and first-class deployment to Cloud Run, GKE, and Vertex AI Agent Runtime.

Agent loop shape. Hierarchical agent tree with a graph-based Workflow Runtime. An LlmAgent runs the standard reason-act-observe loop over its tools; workflow agents (Sequential / Parallel / Loop) compose sub_agents with fixed execution logic; in collaborative workflows an LlmAgent coordinator dynamically routes work across sub_agents. ADK 2.0 adds a graph-based execution engine that interleaves deterministic nodes with LLM agents inside one run.

Primary use cases

  • production multi-agent workflows on Google Cloud (Agent Runtime, Cloud Run, GKE)
  • deterministic orchestration via SequentialAgent / ParallelAgent / LoopAgent
  • LLM-coordinated dynamic routing across sub-agents
  • evaluation-driven agent development with eval sets and trajectory matching
  • MCP-tool integration into Gemini and other LLMs

Key concepts

  • LlmAgent tool-use (docs)Self-contained execution unit: model + instructions + tools. The core building block, often aliased simply as Agent.
  • Workflow Agents (Sequential / Parallel / Loop) orchestrator-workers (docs)Specialised agents that control execution flow over sub-agents with predefined, deterministic logic.
  • Collaborative workflow supervisor (docs)Single LlmAgent acts as dynamic coordinator over a set of sub_agents.
  • McpToolset mcp (docs)Bridges an MCP server into ADK: connects, lists tools, converts them to ADK BaseTool instances, manages shutdown.
  • output_schema / output_key structured-output (docs)output_schema enforces a JSON shape on the final response; output_key auto-saves the response to session state.
  • AgentEvaluator + eval sets eval-harness (docs)Evaluation harness comparing actual trajectories to expected ones via tool_trajectory_avg_score, response_match_score, rubric_based_final_response_quality_v1, and similar criteria.

Patterns this full-code implements

Neighbourhood

Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.