Skip to content

chore(release/candidate): release 2.16.0 - #8489

Open
adk-bot wants to merge 3 commits into
release/candidatefrom
release-please--branches--release/candidate--components--google-adk
Open

adk-bot wants to merge 3 commits into
release/candidatefrom
release-please--branches--release/candidate--components--google-adk

Conversation

@adk-bot

@adk-bot adk-bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

2.16.0 (2026-12-03)

Highlights

This release adds grounding verification and multi-objective agent optimization, introduces Gemini Decisions API classification and Markdown skill loading, opens compatibility with google-genai 3.x, promotes Eventarc tools to stable, and hardens remote sandboxes and the default A2A task store.

  • GroundingPlugin: Verify agent responses against session- and turn-scoped facts (with optional agent_names filtering) using the experimental GroundingPlugin. See the unit guide for more details. (9efe125, 8f4e747)
  • GridSearchAgentOptimizer: Sweep dotted parameter overrides across agent trees and score candidates on multiple objectives with GridSearchAgentOptimizer and clone_agent_with_params. See the unit guide for more details. (276b7e0, d723cb8)
  • GeminiDecisionsClassifier: Route workflows and tool gates through the Gemini Decisions API with GeminiDecisionsClassifier (now the default in classifier samples). See the unit guide for more details. (b4ae4fb, 5697bbd)
  • Skills, integrations, and dependencies: Build skills directly from Markdown text with load_skill_from_markdown (see the unit guide for more details), promote EventarcToolset and EventarcToolConfig to stable, support Azure artifact metadata in FsspecArtifactService, and allow google-genai 3.x (<4). (6686413, e357631, 481e1b2, 163bfc0)
  • Workflow retries and security hardening: Retry failed static Workflow children in place without cancelling running siblings (see the unit guide for more details), bound and user-scope the default in-memory A2A task store, reject workspace-escaping paths in remote sandbox environments, and add SECURITY.md. (f04b5fe, a492932, b72f466, 740eacc)

Breaking changes

  • Workflow.retry_config is frozen and child policies replace parent fallback: Assigning retry_config on a Workflow after construction (including in model_post_init) now raises pydantic.ValidationError; pass Workflow(..., retry_config=...) or node(workflow, retry_config=...) instead. A child's own retry_config now replaces Workflow.retry_config for that child rather than falling back to a whole-workflow retry. (f04b5fe)

Behavior changes

  • Default in-memory A2A task store bounds and user scoping: The default task store in to_a2a and get_fast_api_app(a2a=True) now drops finished tasks after 1 hour (capped at 10,000 tasks) and scopes authenticated tasks to their creator; pass an explicit task_store or task_store_uri if you need cross-user lookup or longer retention. (a492932)
  • Remote sandbox workspace path validation: read_file, read_file_stream, and write_file on DaytonaEnvironment, E2BEnvironment, OpenSandboxEnvironment, and AgentEngineEnvironment now raise ValueError for relative or workspace-prefixed paths escaping the workspace root via .. (pass an explicit outer absolute path instead); EditFileTool returns an error dict on ValueError instead of raising. (b72f466)
  • Live before_model_callback isolation: In live runs, a before_model_callback's in-place edits to the request config and tools are discarded; configure them on the agent instead. (17c4a10)
All changes

Features

  • add GroundingPlugin for grounding verification (9efe125)
  • artifacts: support artifact metadata on Azure in FsspecArtifactService (481e1b2)
  • classifiers: add GeminiDecisionsClassifier for the Gemini Decisions API (b4ae4fb)
  • cli: warn on duplicate Agent Engine display name and add --update_if_exists (84cb074)
  • features: promote the Eventarc toolset and its config to stable (e357631)
  • integrations: add session and turn scoped facts and agent_names to the experimental GroundingPlugin (8f4e747)
  • optimization: add agent tree cloner for dotted parameter overrides (d723cb8)
  • optimization: add multi-objective GridSearchAgentOptimizer (276b7e0)
  • skills: add load_skill_from_markdown to build a skill from SKILL.md text (6686413)
  • telemetry: record gen_ai.client.inference.duration (8d064dc)
  • telemetry: support experimental reasoning parts in gen_ai messages (0019b86)

Bug Fixes

  • a2a: propagate CancelledError raised inside runner.run_async (5096169)
  • allow google-genai 3 (163bfc0)
  • artifacts: preserve display names for URI-backed artifacts (6700fc9)
  • artifacts: tighten S3 metadata checks in FsspecArtifactService (4d9e2c7)
  • compaction: use initial_prompt_token_count for token-threshold checks (9f0ed1f)
  • copy the request config and tools when screening live user input (17c4a10)
  • eval: count capitalized and multi-word judge verdicts in final_response_match_v2 (f9c5331)
  • eval: stop detail printing from discarding the eval result (0cbbe7c), closes #8149
  • eval: stop failing Thai, Lao, Khmer and Myanmar answers with digits (a60ed1b)
  • keep a langchain tool's name and description in from_config (f578fcd), closes #7900
  • keep ModelArmorPlugin's shared client open on runner close (bee78e7), closes #8066
  • limit the default A2A task store and scope tasks to their creator (a492932)
  • match BigQuery schema case-insensitively and harden write retries (f5ace77)
  • plugins: add tiebreakers and SessionRollup root_agent in BQAA eval SQL (851b770)
  • plugins: expose lazy exports in dir() for Sphinx docs (9fd6b33)
  • plugins: keep secret_key and passwd args out of tracing spans (e3dbdc1)
  • plugins: pair transfer_to_agent calls with empty function_response (8fe561f)
  • plugins: resolve per-turn scoped_system_prompt in BQAA eval SQL (3e322e9)
  • plugins: use text_summary for custom non-inline BQAA user messages (7d7a275)
  • preserve empty-text signed thinking blocks in LiteLlm (cd867da)
  • reject paths that escape remote sandbox workspaces (b72f466), closes #7699
  • save each image of a code execution response as its own artifact (3b4c72e)
  • telemetry: record a Gemini inference once when the google-genai instrumentor is installed (8c0d2f8)
  • telemetry: record invocation_id on workflow and node spans (b1566b8)
  • workflow: retry a failed workflow child in place (f04b5fe)

Performance Improvements

  • telemetry: skip serializing request history when content capture is off (825a44c)

Documentation

  • add SECURITY.md with the ADK threat model, scope, and hardening guidance (740eacc)
  • classifiers: default classifier samples to GeminiDecisionsClassifier (5697bbd)
  • skills: update the bigquery-ai-ml skill (36873b3)

@adk-bot
adk-bot force-pushed the release-please--branches--release/candidate--components--google-adk branch from 9c06dd4 to 968925a Compare December 3, 2026 00:25
@i-yliu i-yliu changed the title chore(release/candidate): release 3.0.0 chore(release/candidate): release 2.16.0 Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

Release artifact check: PASS

Comparing 2.16.0 against 2.15.1.
Modules swept: 836 candidate, 830 baseline.

No module regressed against the baseline.

New modules that do not import (1)

Not a failure. New modules usually sit behind an optional extra, so this is expected on a bare install -- but a module that is meant to work without extras belongs on the list above, so it is worth a glance.

  • google.adk.a2a.utils._bounded_task_store
    • ModuleNotFoundError: No module named 'a2a'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants