Google ADK(Agent Development Kit)
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
In one line: Google ADK is a code-first agent orchestration framework whose core…
Cloud / API · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- Default sandbox mechanism, filesystem permission model, network access control
- Cross-process, cross-machine task resume and recovery granularity
- State-storage schemes under distributed deployment
- The implementation layer of MCP integration (framework-level dependency vs tool source)
- Capability alignment between the Python and TypeScript editions
- How state is hosted when deploying to Vertex AI Agent Engine
- Gemini unit prices and the actual rates of Vertex AI Agent Engine / Cloud Run (the meaning of
GOOGLE_GENAI_USE_ENTERPRISEis verified; the rates are not) - What exactly "optimized for Gemini" optimizes (not stated officially; Models page and LiteLLM page checked)
- Tool-calling and structured-output reliability comparison under non-Gemini models (not given officially)
What it is, in one line: Google ADK is a "code-first agent orchestration framework whose core asset is a graph execution engine". It organises several agents into one flow; it does not run a single agent for you.
The official README states its identity in the first feature it lists:
Workflow Runtime: A graph-based execution engine for composing deterministic execution flows for agentic apps, with support for routing, fan-out/fan-in, loops, retry, state management, dynamic nodes, human-in-the-loop, and nested workflows.
When to use it, when not to
Fits: organising multiple agents into deterministic flows with branches, loops and human intervention; defining agents and tools code-first so they are testable and versionable; a team inside the Google ecosystem (Cloud Run / Vertex / Gemini); needing built-in eval and a development UI; wanting one framework across Python and TypeScript; needing tool-level human confirmation, session persistence and resume. Not a fit: running a single agent with no graph structure (OpenAI Agents SDK or Deep Agents are lighter); needing built-in file- or network-sandbox boundaries — the official docs provide none, so file access goes through the Artifacts abstraction or a tool you wire up yourself; wanting self-hosted weights out of the box without going through the LiteLLM adaptor layer.
China availability domestic / direct access / CAC filing · snapshot 2026-10-23
- Origin
- foreign-made foreign entity (no matching filing entity in the CAC registry).
- Direct access
- direct OK adk.dev measured 200 direct.
- CAC filing
- not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
Official line: optimized for Gemini, but it is also model-agnostic.
README verbatim: "While optimized for Gemini, ADK is model-agnostic, deployment-agnostic, and compatible with other frameworks."
So non-Gemini models can be connected. The official "Models for Agents" page gives three integration mechanisms:
- ① direct string / registry — Gemini, Claude, Agent Platform hosted models
- ② model connectors —
LiteLlm/ApigeeLlmwrapper classes - ③ model routing — runtime dynamic model selection + automatic failover
Official wording: "providing a standardized, OpenAI-compatible interface to over 100+ LLMs"
Local / self-hosted models have dedicated official pages: Ollama, vLLM, LiteRT-LM.
⚠ Not stated officially: what "optimized for Gemini" actually optimizes.
⚠ Nor is there a reliability comparison of tool calling and structured output under non-Gemini models. Checked: the Models page and the LiteLLM page.
- Where it runs
Four run forms, all provided by the
adkCLI or containers (README verified).- ① interactive CLI —
adk run <agent-folder> - ② built-in Web UI —
adk web <agent-folder>. The official docs state support for multi-agent directories or pointing directly at a single agent folder
- ③ Development UI — the built-in development/debug console
- ④ containerized deployment —
adk deploy docker --with_ui <agent-folder>
Official wording: "A built-in development UI to help you test, evaluate, debug, and showcase your agent(s)"
⚠ All four are your local or your cloud processes. ADK itself provides no hosted service.
Hosting requires Vertex AI Agent Engine or Cloud Run — those are Google products, not this framework's.
- ① interactive CLI —
- Local files
The official answer to "files" is the abstraction layer Artifacts, not the raw filesystem (verified on 2026-10-08). In other words, it does not read or write disks itself.
Official Artifacts page verbatim:
Official wording: Artifacts "represent a crucial mechanism for managing named, versioned binary data associated either with a specific user interaction session or persistently with a user"
Where things land is decided by the ArtifactService you choose. Official wording: "Their storage and retrieval are managed by a dedicated Artifact Service"
Two backends:
InMemoryArtifactService— lost on restartGcsArtifactService— persistent, versioned
ADK is a library; it does not ship Read/Write/Bash style file tools. Disk access means writing your own function tool, or connecting MCP. The official MCP page example is exactly a filesystem MCP server.
⚠ Not provided officially: any sandbox mechanism or filesystem permission model (Artifacts, tools, deploy pages checked). The default access boundary depends on whatever tools you connect.
- Tasks after shutdown
It does not host a background. The official docs give two explicit pieces of evidence: session/state persistence, and resume-after-interruption.
① Persistence — SessionService comes in three tiers:
InMemorySessionService— official wording: "All conversation data is lost if the application restarts"
DatabaseSessionService— "Data survives application restarts"VertexAiSessionService— hosted
MemoryService separately has InMemory and Vertex AI Memory Bank tiers.
② Resume — ADK Python 1.16+ can configure an App with
ResumabilityConfig(is_resumable=True).Official verbatim:
Official wording: "allows an agent workflow to pick up where it left off"
Resume by Invocation ID. Works via
/run_sseorrunner.run_async.ADK itself is a library and hosts nothing. A true background means deploying to Cloud Run / Vertex AI Agent Engine — that is your cloud resource.
⚠ Two official boundaries:
- Resume is currently "not currently supported" triggered from the Web UI / CLI
- tools may be re-executed (the official docs remind: side-effectful tools need your own dedup)
- Tools & extensions
The tool ecosystem is what it emphasizes most, and MCP is a first-class capability in the official docs.
README verbatim:
"Utilize pre-built tools, custom functions, OpenAPI specs, MCP tools or integrate existing tools"
There is also a dedicated MCP tools documentation page. It provides the
McpToolsetclass, and it is bidirectional:- let ADK act as an MCP client, connecting external MCP servers (examples include filesystem / Google Maps MCP servers)
- ADK tools can also be wrapped as an MCP server and exposed outward
- transports cover stdio and Streamable HTTP
Tool-level human confirmation (HITL) Official wording: "a tool confirmation flow (HITL) that can guard tool execution with explicit confirmation and custom input"
Corresponding doc
tools/confirmation. Mechanism details in the permissions axis.This is a rare "tool-level human confirmation" among objects collected on this site. It is a different layer from the OpenAI Agents SDK's input/output guardrail.
- Context & memory
The official docs draw a clear distinction among session / memory, and there is a dedicated context-compaction feature.
Three sentences on the official sessions page, official wording:
Sessionis "single, ongoing interaction",Stateis "data within the current conversation",Memoryis "searchable, cross-session information"The first two are managed by
SessionService. Long-term knowledge is managed byMemoryService.Compaction: ADK Python 1.16.0+ provides Context Compaction. Official wording: "reduce the size of context as an agent is running by summarizing older parts of the agent workflow event history"
The mechanism is a sliding window:
- configure
EventsCompactionConfig(compaction_interval, overlap_size) - at the threshold, earlier events get summarized
summarizercan swap models
⚠ Per this site's "state ≠ context":
stategoverns flow data. Compaction governs history compression. These are two mechanisms, and the official docs describe them separately.- configure
- Permissions & limits
The officially explicit mechanism is tool-level human confirmation, Tool Confirmation (HITL).
Doc
tools/confirmation(since v1.14.0, labeled Experimental) official wording: "allows an ADK Tool to pause its execution and interact with a user or other system for confirmation"Two usage styles verified.
- ① simple confirmation —
FunctionTool(..., require_confirmation=True)asks once yes/no; you can also pass a function returning a boolean (e.g. "only ask when amount > 1000")
- ② advanced confirmation —
tool_context.request_confirmation(hint, payload). Can pause the tool, collect structured data (e.g. approval days) and then resume
Without a UI, the ADK server's
/runor/run_sseREST endpoints allow remote confirmation.This is only "ask before executing", not boundary-setting. The official docs provide no sandbox or filesystem permission model. Checked: confirmation, Artifacts, deploy pages.
⚠ Official known limitation: DatabaseSessionService and VertexAiSessionService do not support this feature.
- ① simple confirmation —
- Best for
Fits these cases.
- organizing multiple agents into a deterministic flow with branching, loops and human intervention
- defining agents and tools code-first, for testability and version control
- teams inside the Google ecosystem (Cloud Run / Vertex / Gemini)
- needing built-in eval and a development UI
- wanting one framework covering both Python and TypeScript
- needing tool-level human confirmation, session persistence and resume-after-interruption
Does not fit these cases.
- running a single agent only, no graph structure needed — OpenAI Agents SDK or Deep Agents are lighter
- needing framework-built file / network sandbox boundaries — not provided officially. File access relies on the Artifacts abstraction or tools you connect yourself
- wanting out-of-the-box self-hosted weights without going through the LiteLLM adapter layer
Licence and terms of use
Apache-2.0
Top misconception
- Assuming it is "Google's version of the OpenAI Agents SDK" — it is an orchestration framework whose core asset is the Workflow Runtime graph engine, not single-agent primitives
- Reading
state managementas "has context management" — the former is process state; the latter is the separate Context Compaction mechanism (1.16+) - Treating MCP as a core dependency — the README lists MCP only as one tool source, which is not the same as OpenAI Agents SDK putting
mcp>=1.19.0independencies - Assuming Tool Confirmation equals a sandbox — it is "ask once before running", not a boundary
- Assuming open source and free means zero cost — Cloud Run / Vertex Agent Engine costs are yours, and there is a
GOOGLE_GENAI_USE_ENTERPRISEswitch - Assuming it is Python-only — there is a separate TypeScript repo (
google/adk-js, 1,426★); the Python body is the only thing indexed here - Mixing up repo names — the sample repo shows as
google/adk-recipeswhile the description says adk-samples
Evidence sources
Checked 2026-10-23,Content updated 2026-10-01。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| repo | google/adk-python · repository (21,966★, Apache-2.0, rolling check 2026-10-23) | https://github.com/google/adk-python |
| docs | Main README (Workflow Runtime / Task API / Tool Confirmation / deployment methods / eval) | https://github.com/google/adk-python/blob/main/README.md |
| docs | Official docs home | https://google.github.io/adk-docs/ |
| docs | Official docs · Tool Confirmation (HITL) (require_confirmation / request_confirmation mechanism, Experimental, known limits, verified 2026-10-08) | https://google.github.io/adk-docs/tools/confirmation/ |
| docs | Official docs · Models for Agents (three model-integration mechanisms: direct registry / model connectors / model routing, verified 2026-10-08) | https://google.github.io/adk-docs/agents/models/ |
| docs | Official docs · LiteLLM connector (LiteLlm wrapper class, OpenAI-compatible, over 100+ LLMs, verified 2026-10-08) | https://google.github.io/adk-docs/agents/models/litellm/ |
| docs | Official docs · Sessions & Memory (Session/State/Memory distinction, SessionService three-tier persistence, verified 2026-10-08) | https://google.github.io/adk-docs/sessions/ |
| docs | Official docs · Context Compaction (sliding-window summarization, v1.16.0+, verified 2026-10-08) | https://google.github.io/adk-docs/context/compaction/ |
| docs | Official docs · Artifacts (ArtifactService, InMemory/GCS storage, verified 2026-10-08) | https://google.github.io/adk-docs/artifacts/ |
| docs | Official docs · Resume stopped agents (ResumabilityConfig, resume by Invocation ID, verified 2026-10-08) | https://google.github.io/adk-docs/runtime/resume/ |
| docs | Official docs · MCP tools (McpToolset, ADK as MCP client / ADK tools exposed as MCP server, verified 2026-10-08) | https://google.github.io/adk-docs/tools/mcp-tools/ |
| docs | Official docs · Agent Config (building agents without code) | https://google.github.io/adk-docs/agents/config/ |
| docs | Google official codelab · Building AI Agents with ADK: The Foundation (official item-by-item explanation of the three variables GOOGLE_GENAI_USE_ENTERPRISE / GOOGLE_CLOUD_PROJECT / GOOGLE_CLOUD_LOCATION, including the "enable billing" wording, verified 2026-10-01) | https://codelabs.developers.google.com/devsite/codelabs/build-agents-with-adk-foundation |
| docs | Google Cloud docs · Manage sessions with Agent Development Kit (the same three variables with TRUE / True spellings, verified 2026-10-01) | https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/sessions/manage-with-adk |
| repo | google/adk-js · TypeScript edition (1,426★, Apache-2.0) | https://github.com/google/adk-js |
| repo | google/adk-recipes · sample collection (10,404★) | https://github.com/google/adk-recipes |
| changelog | Releases (v2.12.0 @ 2026-10-13) | https://github.com/google/adk-python/releases |
Test notes
This site has not completed measured runs.
The test protocol is at protocols/framework/_protocol.md.
Suggested measurement (tailored to the orchestration-framework dimension):
| # | What to test | Why it is worth testing |
|---|---|---|
| 1 | Default file and network permission boundaries after container deployment | fills this site's biggest gap, and is a selection prerequisite |
| 2 | The minimal complete case of running adk eval | it is the only object with built-in eval; its real cost is worth seeing |
| 3 | Recovery semantics after killing the process mid-flow | the official docs have retry / state management, but recovery granularity is unverified |
| 4 | How often Tool Confirmation interrupts humans in a long loop | officially it can guard, but the actual interruption count needs measuring |
| 5 | Tool-calling and structured-output reliability after switching to a non-Gemini model | officially model-agnostic; verify the cost |
| 6 | The capability gap between the Python and TS editions | two separate repositories; the official docs never say they are aligned |
Why it is classified as orchestration rather than coding-base
This site's first four coding bases are the OpenAI Agents SDK, Deep Agents, Claude Agent SDK, Codex SDK.
They all answer the same question:
how do you run one agent?
ADK answers a different question:
how do you organize multiple agents into a flow with branching, loops and human intervention?
The keyword is deterministic: what it sets out to solve is not "whether an agent can work". (deterministic means "certainty".)
What it sets out to solve is whether a flow composed of multiple agents is repeatable and predictable across runs.
This lands directly on the distinction this site cares about:
| The surface this site watches | What ADK gives |
|---|---|
| state (flow control) | ✅ graph execution engine: routing / loops / retry / state management / nested workflows |
| context (long-task compression) | ✅ Context Compaction since 1.16+: sliding-window summarization of earlier events (EventsCompactionConfig(compaction_interval, overlap_size)), summarizer swappable |
The tool ecosystem: MCP is one member, but note the weight
README verbatim:
Utilize pre-built tools, custom functions, OpenAPI specs, MCP tools or integrate existing tools to give agents diverse capabilities, all for tight integration with the Google ecosystem.
⚠ This site's judgment (inference; implementation not verified): the README lists MCP alongside OpenAPI specs.
This suggests it integrates MCP as "one source of tools".
This differs from the OpenAI Agents SDK.
That one puts mcp>=1.19.0,<3 directly in dependencies. That is a framework-level dependency.
The two are not first-class citizens of the same weight.
One official capability worth a separate look: Tool Confirmation (HITL)
A tool confirmation flow (HITL) that can guard tool execution with explicit confirmation and custom input.
The doc is at tools/confirmation.
This is a rare "tool-level human confirmation" among objects collected on this site. input/output guardrails are a different layer from it:
- guardrails validate content (is this input / output compliant)
- tool confirmation gates execution (should this tool really run, optionally with custom input)
Deployment: four commands, from local to Google cloud
All four run/deployment forms given by the README are verified:
adk run <agent-folder> # interactive CLI
adk web <agent-folder> # built-in Web UI
adk deploy docker --with_ui <agent-folder> # containerized
adk deploy cloud_run --with_ui <agent-folder> # Cloud Run
Two more points this site considers notable.
① Built-in development UI and built-in eval.
Official wording:
A built-in development UI to help you test, evaluate, debug, and showcase your agent(s)
There is also the adk eval <agent-folder> <evalset.json> command and the .evalset.json config format.
This is the only object collected on this site that makes "evaluation" a framework-built-in command. Against the "no measured runs" rule, this kind of capability deserves a note: it lets users run their own evaluations.
② There is a deployment-level switch to note, and it is essentially a "billing-path switch."
The README's Cloud Run example contains GOOGLE_GENAI_USE_ENTERPRISE=1.
Verified clearly the 2026-10-08 check (2026-10-01, Google's official codelab and Cloud docs): it is not a switch that "unlocks enterprise features".
It is a routing switch: moving requests from the Gemini Developer API to the Google Cloud enterprise platform (Gemini Enterprise Agent Platform / Vertex AI), and the billing basis changes with it.
In other words, what changes is where requests go, not feature entitlements.
The official codelab's explanation of the three variables, verbatim:
| Variable | Official meaning |
|---|---|
GOOGLE_GENAI_USE_ENTERPRISE | "This tells the ADK that you intend to use Google's Gemini Enterprise Agent Platform service for your Generative AI operations." |
GOOGLE_CLOUD_PROJECT | "ADK needs this to correctly associate your agent with your cloud resources and enable billing." |
GOOGLE_CLOUD_LOCATION | region, e.g. global |
The single most important line.
The official docs write "enable billing" explicitly against GOOGLE_CLOUD_PROJECT.
Set all three variables together and the agent lands in your Google Cloud project and starts billing. Unset, it goes the Gemini Developer API route (which has its own free tier and quotas).
Two more points worth recording:
- the three variables must appear as a group — every official example (README, codelab, the Cloud docs' Live API guide) sets all three; there is no set-one-only style
- values are inconsistent — the README and codelab
.envfiles write1, the Cloud docs writeTRUEorTrue. All are truthy by boolean semantics, but the official inconsistency itself is worth noting
⚠ Still unverified: Gemini's specific unit prices. And the actual rates of Vertex AI Agent Engine and Cloud Run.
Local files and sandbox: this site's biggest evidence gap
When the README discusses the tool ecosystem it lists pre-built tools, custom functions, OpenAPI specs, MCP tools.
All of that is "how to connect tools in".
It does not list "reading/writing local files" as a capability.
It also does not describe a default file-access boundary.
Compare what other objects on this site do here:
- OpenHands gives an explicit Docker sandbox form and API-key mechanism, and hangs a WARNING on the no-sandbox install option
- Codex SDK source has a three-tier
SandboxModeenum - on the ADK side this site has obtained no official statement of any sandbox or permission boundary
⚠ Not provided officially: default sandbox mechanism, filesystem permission model, network access control. If you choose it, container isolation is yours to confirm.
Same-vendor dual versions + the samples repository
| Repository | Purpose | Verified (2026-10-01) |
|---|---|---|
google/adk-python | Python mainline (collected by this entry) | 21,966★ · Apache-2.0 |
google/adk-js | TypeScript edition | 1,426★ · Apache-2.0 |
google/adk-recipes | sample collection (description says adk-samples) | 10,404★ |
⚠ Per this site's "one object = one decision basis" granularity, only the Python mainline is collected.
Verification notes
Basis for confidence: partial.
Why not verified. Three dimensions were verified against official mechanics the 2026-10-08 check:
local_files— the Artifacts abstractioncontext— Context Compaction since 1.16permissions— Tool Confirmation
But permissions is only "confirm before executing". The official docs provide no sandbox or filesystem permission model.
The remaining gaps concentrate on rates and deployment semantics:
- Gemini unit prices and the actual rates of Vertex AI Agent Engine / Cloud Run
- cross-process cross-machine resume semantics
- distributed state storage
Verified: repository exists and star count (21,966 · rolling check 2026-10-23), license (Apache-2.0, via the license API), last push (2026-10-22, still active), latest version v2.12.0 (releases @ 2026-10-13), the README's full six-feature list and four run forms, the twoadk deploycommands and theGOOGLE_GENAI_USE_ENTERPRISEenv var, theadk evalcommand and.evalset.jsonformat, metadata of thegoogle/adk-js(1,426★ · Apache-2.0) andgoogle/adk-recipes(10,404★) repositories
Added the 2026-10-08 check (2026-10-01): the exact meaning ofGOOGLE_GENAI_USE_ENTERPRISE. It is a billing-path switch (moving to Gemini Enterprise Agent Platform / Vertex AI), not an enterprise-feature switch. The official docs hang "enable billing" onGOOGLE_CLOUD_PROJECT; the three variables must be set as a group. Sources: Google's official codelab and Cloud docs.
Not verified: tool-calling and structured-output reliability (alignment) under non-Gemini models, default sandbox and file permission models, network access control, cross-process/cross-machine resume semantics, distributed state storage, the implementation layer of MCP integration (framework-level dependency vs tool source), Gemini unit prices and the actual rates of Vertex AI Agent Engine / Cloud Run
Related entries
- LangGraphThe pair this site should contrast most: both are graph-execution orchestration frameworks, and LangGraph's checkpointer / interrupt mechanisms vs ADK's state management + HITL are two answers to the same class of problem. Only after collecting the latter can this site offer an internal comparison of orchestration frameworks.
- CrewAIBoth orchestration frameworks, but CrewAI centers on the "roles/tasks/flows" abstraction while ADK centers on "graph nodes" — different abstraction levels.
- OpenAI Agents SDKBoth vendor-line frameworks but opposite in form: that one is single-agent primitives (primitives-only); ADK is multi-agent orchestration.
- OpenHands Agent CanvasThe negative contrast: OpenHands is a scheduling platform with a Web UI that can also attach third-party agents; ADK is a code-first library. Both orchestrate, but one faces the interface and one faces the code.
- Gemini CLIOther layer · AI coding
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| AG2 | Local / self-hosted | Open licence | 8 questions checked Active | The community continuation of AutoGen after the original repo stalled. T |
| Mastra | Local / self-hosted | Open licence | 8 questions checked Active | Mastra is the batteries-included agent framework for TypeScript - offici |
| Microsoft Agent Framework | Local / self-hosted | Open licence | 8 questions checked Active | The Microsoft-official agent foundation that merged Semantic Kernel and |
Same vendor
More from Google
One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.