unstale

pypi / google-adk

google-adk

What changed in google-adk 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

27 breaking23 security1 deprecations74 new APIs and options6 performance36 behavior and defaults6 tooling68 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

google-adk 2198 changes

Breaking changes 27

  • Restrict mutating /dev and agent builder endpoints to local clients by default, and only enable built-in agents when bound to loopback.

    2.12.0release notes

  • Parallel agent_states are now isolated by node_path.

    2.12.0release notes

  • Initial routing now uses card descriptions.

    2.12.0release notes

  • Require an OIDC audience when trigger endpoints are enabled.

    2.12.0release notes

  • Nodes marked rerun_on_resume are rerun after interrupts are resolved, waiting for all direct interrupts before rerunning.

    2.12.0release notes

  • Single-turn workflow node events and contents are now isolated by node path.

    2.12.0release notes

  • Tool nodes pause for user approval instead of passing an error downstream.

    2.11.0release notes

  • Path parameters containing '.' or '..' segments are now rejected.

    2.11.0release notes

  • The endpoint now cancels the run when the client disconnects.

    2.11.0release notes

  • VIDEO live sessions now default to a pre-built avatar.

    2.11.0release notes

  • Raises ValueError when no evaluation cases are evaluated instead of passing.

    2.10.0release notes

  • Keeps its BigQuery session in process memory rather than session state, so temporary tables do not survive restarts or carry over to another replica.

    2.10.0release notes

  • Runs a non-SELECT statement only when its dry run places it in the session's anonymous dataset; statements with no destination are rejected.

    2.10.0release notes

  • Leaves ${var} and backslash-escaped \{var} patterns unchanged instead of filling them from state.

    2.10.0release notes

  • Dynamic run_node calls isolate peer task-mode agents.

    2.10.0release notes

  • A streamed model call is traced once instead of once per chunk.

    2.10.0release notes

  • OpenAIResponsesLlm ignores thinking_config settings and warns; use OpenAIGenerateContentConfig.effort instead.

    2.10.0release notes

  • OpenAILlm now honors tool_config mode and all tool declarations.

    2.10.0release notes

  • Non-loopback agent card URLs must use HTTPS.

    2.9.0release notes

  • Appending an event to a session the service does not hold now raises SessionNotFoundError instead of accepting and discarding the event.

    2.9.0release notes

  • GCS tools restrict local file reads and writes to the configured root and refuse local file access when the setting is absent.

    2.9.0release notes

  • Tool callback chains now end on the first non-None result.

    2.9.0release notes

  • A failed node runs again when the workflow resumes instead of replaying as completed; make node bodies idempotent because external side effects may happen again.

    2.9.0release notes

  • YAML and ruamel deserialization are blocked in agent-config code references.

    2.8.0release notes

  • RemoteA2aAgent no longer forwards credential requests to the remote peer.

    2.8.0release notes

  • Agent errors are re-raised from the synchronous run method.

    2.8.0release notes

  • Tool confirmations arriving over A2A are rejected.

    2.8.0release notes

Security 17

  • Encrypt Google credentials stored in sessions.

    2.12.0release notes

  • Prevent OAuth2 secrets from leaking through run, websocket, dev server, and session endpoints.

    2.12.0release notes

  • Require human confirmation before executing workflow nodes; confirmed tools run once per approval.

    2.12.0release notes

  • Instructions are rendered in a sandbox and given a read-only state mapping.

    2.11.0release notes

  • The proxy path now applies load_web_page SSRF checks.

    2.11.0release notes

  • Attaches application default credentials only over HTTPS.

    2.10.0release notes

  • MCP attaches application default credentials only to Google API hosts.

    2.9.0release notes

  • GCS tool local file access is confined to the configured root, and paths are judged by where they resolve.

    2.9.0release notes

  • Stops sending the OAuth client secret to the client.

    2.9.0release notes

  • Agent transfers are restricted to declared transfer targets; transfers to forbidden parent or peer agents are refused.

    2.9.0release notes

  • State deltas are sanitized before they are written to JSON state columns.

    2.8.0release notes

  • BigQuery tools guard against SQL injection vulnerabilities.

    2.8.0release notes

  • Credentials are redacted from the plugin's output file.

    2.8.0release notes

  • Credentials are redacted from this field in debug logs.

    2.8.0release notes

  • Workflows are protected against prompt injection through GitHub event data.

    2.8.0release notes

  • Legacy v0 session event actions are loaded with a restricted unpickler.

    2.8.0release notes

  • File payloads are kept out of the debug log line.

    2.8.0release notes

Deprecations 1

  • Use this module instead of the legacy live-audio modules under google.adk.flows.llm_flows, which now emit DeprecationWarning on import.

    2.10.0release notes

New APIs and options 71

  • Intercept and filter tool outputs before they are returned to the model.

    2.12.0release notes

  • Add skill-level security support when building agent cards.

    2.12.0release notes

  • Add schema error and schema ready callback hooks to BigQueryLoggerConfig.

    2.12.0release notes

  • Deploy agents to Agent Engine using dedicated custom service accounts.

    2.12.0release notes

  • Resume Gemini generations that were paused with a continuation token.

    2.12.0release notes

  • retry_config is now supported for dynamic node failures in NodeRunner.

    2.12.0release notes

  • Persist outputs from skill scripts as artifacts.

    2.12.0release notes

  • Add a state-file option to adk run.

    2.12.0release notes

  • Pass abort_signal to Runner, Workflow, and nodes to stop a run gracefully.

    2.11.0release notes

  • Server commands now accept avatar configuration.

    2.11.0release notes

  • The data agent toolset function now supports pagination.

    2.11.0release notes

  • Server commands now support setting a maximum number of LLM calls.

    2.11.0release notes

  • An opt-in path allows connections to MCP servers over the modern protocol.

    2.11.0release notes

  • Lets an agent consult another model mid-task, with per-turn and per-session budgets.

    2.11.0release notes

  • Selects the built-in SQLite memory service for keeping agent memory in a local SQLite database.

    2.11.0release notes

  • Adds an optional plugin for tool-call integrity.

    2.11.0release notes

  • Opts in to validation and coercion of function tool argument types when set to 1.

    2.10.0release notes

  • Enables experimental skill lifecycle management, including lifecycle modes, active-skill limits, and unloading skills.

    2.10.0release notes

  • Exposes session options through the REST endpoint.

    2.10.0release notes

  • Adds name-based request processor helpers.

    2.10.0release notes

  • Adds a field to control Live non-blocking function calls.

    2.10.0release notes

  • Adds default_project_id and default_dataset_id fields to BigQueryToolConfig.

    2.10.0release notes

  • Adds an evaluation metric for tracking duration.

    2.10.0release notes

  • Adds an experimental skill lifecycle that lasts one turn.

    2.10.0release notes

  • Adds an OpenAI integration extra for installing the OpenAI-related dependencies.

    2.10.0release notes

  • OpenAI models move to this module; google.adk.labs.openai continues to re-export them.

    2.10.0release notes

  • Adds token-consumption and model-call-count metrics to evaluation.

    2.10.0release notes

  • Adds abort signal primitives; the Runner and workflows do not act on an abort yet.

    2.10.0release notes

  • Adds MongoDB tools for vector and hybrid search within agent flows.

    2.10.0release notes

  • Adds an on_error handler to skill listing functions.

    2.10.0release notes

  • Adds OpenAI generation configuration, including per-model reasoning effort; use its effort setting instead of thinking_config with OpenAIResponsesLlm.

    2.10.0release notes

  • Adds api_key and base_url configuration with per-request key resolution, adapts parameters for reasoning models, and reports reasoning tokens on Chat Completions.

    2.10.0release notes

  • Supports OpenAPI basic authentication.

    2.10.0release notes

  • Adds an optional context_builder.

    2.10.0release notes

  • Exposes the serving tier through RunConfig and sends deferred service tier on interactions API requests.

    2.10.0release notes

  • Controls how the skill catalog is disclosed.

    2.10.0release notes

  • Adds programmatic skill activation, lifecycle modes, an active-skill cap, and an opt-in unload_skill tool; lifecycle features are experimental and off by default.

    2.10.0release notes

  • State supports key iteration.

    2.10.0release notes

  • OpenAILlm surfaces streaming usage and finish reason.

    2.10.0release notes

  • Allows experimental telemetry to be enabled per feature.

    2.10.0release notes

  • Claude adaptive thinking tasks now request visible thoughts, allowing developers to access the models’ step-by-step reasoning process.

    2.9.1release notes

  • Adds automatic failover between models when the primary model encounters errors, helping safeguard agent uptime.

    2.9.0release notes

  • Adds a method to retrieve an authenticated URL for a GCS artifact.

    2.9.0release notes

  • Adds a method to retrieve a signed URL for a GCS artifact.

    2.9.0release notes

  • Adds an option to tool trajectory evaluation.

    2.9.0release notes

  • Adds a runner for building voice and telephony agents using LiveKit.

    2.9.0release notes

  • Adds support for MCP SDK 2.x while retaining backward compatibility with 1.x servers.

    2.9.0release notes

  • MCP integration now supports SDK 2.x alongside 1.x.

    2.9.0release notes

  • Adds optional OIDC verification for Pub/Sub and Eventarc triggers.

    2.9.0release notes

  • Adds transfer_reason to help prevent agent transfer loops.

    2.9.0release notes

  • ADK 2.0 graph workflows can now be authored and loaded from declarative YAML configurations.

    2.9.0release notes

  • Opt in to experimental token-spend and workflow inference and tool-call telemetry with this environment variable.

    2.8.0release notes

  • Set this environment variable to configure the maximum LLM calls limit.

    2.8.0release notes

  • AgentEvaluator supports custom metrics.

    2.8.0release notes

  • Agent Engine deploy supports Cloud Build worker pools.

    2.8.0release notes

  • The data_agent toolset adds a tool for creating data agents.

    2.8.0release notes

  • Custom LLM clients can be injected into Gemini and AnthropicLlm.

    2.8.0release notes

  • The data_agent toolset adds a tool for deleting data agents.

    2.8.0release notes

  • Live interaction_status is surfaced on LlmResponse and Event.

    2.8.0release notes

  • This tool accepts a location parameter.

    2.8.0release notes

  • A live streaming tool can send messages directly to the user.

    2.8.0release notes

  • A Model Armor guardrail plugin is available.

    2.8.0release notes

  • The plugin supports opt-in session retention.

    2.8.0release notes

  • RemoteA2aAgent supports native task mode.

    2.8.0release notes

  • RemoteA2aAgent supports auth_scheme and auth_credential.

    2.8.0release notes

  • Opt in to experimental telemetry with this RunConfig field.

    2.8.0release notes

  • Streaming tools can set response scheduling separately for each yield.

    2.8.0release notes

  • The data_agent toolset adds a tool for updating data agents.

    2.8.0release notes

  • Developers can configure the Vertex AI API version.

    2.8.0release notes

  • Vertex Memory Bank supports memory_id and allowed_topics.

    2.8.0release notes

  • VIDEO is now an allowed modality in the ADK API server.

    2.8.0release notes

Performance 6

  • Unused providers are no longer imported on the first LLM request.

    2.12.0release notes

  • Time to first model request is cut by 40% in long sessions.

    2.12.0release notes

  • Time to the first model request in long sessions is reduced by 40%.

    2.12.0release notes

  • Imports in code executors are deferred, improving performance.

    2.9.0release notes

  • The session is no longer rescanned for every user response event, improving performance.

    2.9.0release notes

  • The workflow replay index is extended instead of rebuilt for each event, improving performance.

    2.9.0release notes

Behavior and default changes 25

  • Synchronous FunctionNode tools run their callable on the tool thread pool.

    2.12.0release notes

  • Allow OIDC token exchange without a client secret.

    2.12.0release notes

  • ADK can now be installed and run on Python 3.15.

    2.12.0release notes

  • The system now warns when session state is dropped.

    2.12.0release notes

  • Automatically box scalar inputs for ToolNode.

    2.12.0release notes

  • BigQuery tools can now run where CMEK is required.

    2.11.0release notes

  • The Vertex project now defaults from GCP metadata.

    2.11.0release notes

  • Stamps the Agent Registry URN as gen_ai.main_agent.id.

    2.10.0release notes

  • Content inputs are unwrapped for parallel workers after START.

    2.10.0release notes

  • Can now fan out to several workflow nodes.

    2.10.0release notes

  • Model adapters stream partial function-call arguments.

    2.10.0release notes

  • Resolved interrupts can resume without requiring rerun_on_resume.

    2.10.0release notes

  • AgentCardBuilder now defaults streaming to true.

    2.9.0release notes

  • BigQuery tools now support column names containing hyphens.

    2.9.0release notes

  • Supports automatic inference for FunctionNode instances.

    2.9.0release notes

  • Thought parts are filtered from user-facing responses.

    2.8.0release notes

  • Nested agents run in unary mode under the caller's RunConfig.

    2.8.0release notes

  • An agent tool runs under the caller's RunConfig.

    2.8.0release notes

  • Anthropic prompt cache breakpoints are emitted for ContextCacheConfig.

    2.8.0release notes

  • Search results are ranked and bounded.

    2.8.0release notes

  • Before and after model callbacks run in live mode.

    2.8.0release notes

  • The tool supports spreadsheet MIME types.

    2.8.0release notes

  • Idle sessions are evicted from the MCP session pool.

    2.8.0release notes

  • ParallelAgent supports sub-agent escalation events.

    2.8.0release notes

  • State merges use dict.update() semantics.

    2.8.0release notes

Tooling 5

  • The dev server now warns when it binds a non-loopback address.

    2.12.0release notes

  • Eval scenarios are now generated using the project backend.

    2.12.0release notes

  • Config-based project creation now skips __init__.py.

    2.11.0release notes

  • Adds gemini-3.8-flash to the model options offered by the command.

    2.10.0release notes

  • The CLI automatically configures session and memory services on Agent Runtime.

    2.10.0release notes

Fixes and other changes 46

  • Vertex AI sessions now update last_update_time when append_event is called.

    2.12.0release notes

  • Resolving the effective mode no longer mutates LlmAgent.mode.

    2.12.0release notes

  • ParallelWorker now waits for in-flight workers when a HITL interrupt occurs.

    2.12.0release notes

  • Bindings are now resolved for the deployed agent at runtime.

    2.11.0release notes

  • url_prefix is now propagated to FastAPI root_path.

    2.11.0release notes

  • NodeTool failures are surfaced to on_tool_error, and dict validation errors are returned.

    2.11.0release notes

  • An inbound new_message is now treated as a user turn.

    2.11.0release notes

  • The configuration is now honored for sync tools outside live mode.

    2.11.0release notes

  • Importing Agent no longer loads authlib.

    2.10.0release notes

  • Validates the target data subquery for detect_anomalies.

    2.10.0release notes

  • Adds opt-in validation and coercion of function tool argument types, enabled with ADK_ENABLE_FUNCTION_TOOL_ARG_VALIDATION=1.

    2.10.0release notes

  • Can be imported on OpenTelemetry 1.39; google.adk.telemetry.google_cloud still requires a newer OpenTelemetry.

    2.10.0release notes

  • Rejects num_samples=0 at construction time.

    2.10.0release notes

  • Rejects parallelism below 1 instead of hanging.

    2.10.0release notes

  • Widens the MCP version bound to admit MCP 2.x.

    2.10.0release notes

  • Rebuilds a session when the server reports it no longer holds it.

    2.10.0release notes

  • RestApiTool handles HTTP 401 and recovers stale OAuth2 credentials.

    2.10.0release notes

  • Adds support for basic authentication in OpenAPI tools.

    2.10.0release notes

  • Interrupted agent transfers can resume in static workflows.

    2.10.0release notes

  • Integral floats in list[int] tool parameters are coerced to integers.

    2.10.0release notes

  • Event names are preserved outside Agent Engine and dropped only on Agent Engine, ensuring more accurate and consistent tracking.

    2.9.2release notes

  • Normalizes session_id before checking for duplicates.

    2.9.0release notes

  • Forwards the agent's generation settings, including temperature, top_p, top_k, max_output_tokens, seed, and media_resolution, to the Live API.

    2.9.0release notes

  • Forwards the agent's generation configuration to the Live API.

    2.9.0release notes

  • MCP 1.x continues to be resolved by default.

    2.9.0release notes

  • Supports zero-argument nodes.

    2.9.0release notes

  • The command preserves non-ASCII text.

    2.8.0release notes

  • Built-in search tools work in agent hierarchies when transfer_to_agent is present.

    2.8.0release notes

  • Workflow runs now honor an early exit from before_run_callback.

    2.8.0release notes

  • Workflow runs honor an early exit from before_run_callback.

    2.8.0release notes

  • Duplicate function execution is prevented when support_cfc is enabled.

    2.8.0release notes

  • Keyword extraction is Unicode-aware.

    2.8.0release notes

  • Events are deduplicated when appended.

    2.8.0release notes

  • Events are deduplicated by equality rather than by id.

    2.8.0release notes

  • START is treated as a satisfied predecessor.

    2.8.0release notes

  • ContextCacheConfig is honored on the LiteLLM path.

    2.8.0release notes

  • Background tool tasks stop when a live agent run ends.

    1.39.0, 2.8.0release notesrelease notes

  • Live runs no longer write back into the caller's RunConfig.

    2.8.0release notes

  • Node auth resumes from the node's own auth config.

    2.8.0release notes

  • Parallel sub-agent failures are delivered to the caller.

    2.8.0release notes

  • Parallel worker items are cancelled when the worker is cancelled.

    2.8.0release notes

  • AgentRegistry resolves auth for RemoteA2aAgent.

    2.8.0release notes

  • Path parameter values are percent-encoded.

    2.8.0release notes

  • Live sessions use the session resumption handle when opened.

    1.39.0, 2.8.0release notesrelease notes

  • SQL identifiers are validated in the Spanner search tool.

    2.8.0release notes

  • Session initialization events are validated.

    1.39.0, 2.7.1release notesrelease notesrelease notes

google-adk 143 changes

Security 6

  • API registry credentials are sent only to Google API endpoints in v1.

    1.39.1release notes

  • BigQuery analytics rows are sanitized in v1.

    1.39.1release notes

  • Credential and inline-data fields are excluded from logs, reprs, and spans in v1.

    1.39.1release notes

  • Database URLs are redacted in v1.

    1.39.1release notes

  • The local API server checks the Host header on every request in v1.

    1.39.1release notes

  • Google Agent Development Kit (ADK) has a Code Injection and Missing Authentication vulnerability

    1.28.1security advisory

New APIs and options 3

Behavior and default changes 11

  • A2A agent card RPC target origins are validated in v1.

    1.39.1release notes

  • The v1 A2A implementation now applies the event action allowlist.

    1.39.1release notes

  • Resume flattening is now implemented in the v1 A2A path.

    1.39.1release notes

  • File artifact storage is scoped to the app in v1.

    1.39.1release notes

  • The v1 code executor has the container and pod isolation defaults.

    1.39.1release notes

  • Custom eval metrics are scoped per registry, and their function path is resolved from the eval config in v1.

    1.39.1release notes

  • Eval identifiers are validated in v1.

    1.39.1release notes

  • Artifact payload paths are derived from layout in v1.

    1.39.1release notes

  • Artifact path segments are validated in v1.

    1.39.1release notes

  • Persona template rendering is supported in v1.

    1.39.1release notes

  • Thread-pool and live-mode tool dispatch now route through run_async in v1.

    1.39.1release notes

Tooling 1

Fixes and other changes 22