Google ADK 2.15: Power-User Guide to pass@k Evals, Live Tools and Sandboxes

Last updated: November 29, 2026

Google ADK 2.15 is the latest release of Google’s open-source Agent Development Kit for Python. Version 2.15.0 (November 19, 2026) adds pass@k reliability evals, partial-credit tool argument scoring, non-blocking live tools, per-session sandbox scopes and buffered session writes, and removes the Visual Agent Builder. Version 2.15.1 fixes bugs.

Contents

What’s new in ADK 2.15

The Agent Development Kit (ADK) is Google’s open-source framework for building, evaluating and deploying agents. The 2.15.0 release notes describe a release that “keeps voice streams and agent turns responsive under slow tools and session storage, measures multi-run reliability and partial tool-call accuracy, isolates sandboxes per user or session” (v2.15.0 release notes). A patch, 2.15.1, followed on November 24 (v2.15.1 release notes).

Key changes:

  • Reliability metrics. adk eval can report pass_at_k (pass@k) and pass_hat_k (pass^k) across repeated runs and saves per-case summaries to .evalset_result.json.
  • Partial-credit tool scoring. The new tool_parameter_match metric scores each argument instead of failing a whole tool call on one mismatch.
  • Non-blocking live tools. run_live now runs every tool call in a background task.
  • Sandbox scopes. BaseEnvironment.scope accepts SHARED, USER or SESSION, so one slow sandbox start no longer blocks other sessions.
  • Storage. An experimental BufferedSessionService batches session writes in the background.
  • Integrations. GoogleMapsToolset adds Street View, address validation and reverse geocoding tools.

The notes also report RAG memory search up to 6x faster in VertexAiRagMemoryService (release notes).

ADK 2.14 vs 2.15

Area Before 2.15 ADK 2.15
Multi-run evals Pass rate across runs Adds pass@k, pass^k and eval-set means
Tool argument scoring One mismatch fails the call tool_parameter_match gives partial credit
Live tool calls Slow tools could stall audio Every call runs in a background task
Sandbox start-up One shared lock for all sessions Locks per user or session
ADK Web Visual Agent Builder included Builder removed
Dynamic instructions Appended to system instruction User-role message by default, keeping the prefix cacheable

Both columns are drawn from the 2.15.0 change descriptions (v2.15.0). If you are choosing between frameworks, compare this with the OpenAI Agents SDK 0.26 guide and the Mastra 1.86 durable agents guide.

How to upgrade safely

  1. Upgrade the package with pip install --upgrade google-adk, or pin google-adk==2.15.1 to pick up the patch release.
  2. Search your code for McpInstructionProvider. It no longer fills prompt arguments from session.state, so pass arguments= as a mapping or a callable over ReadonlyContext.
  3. Remove any scripts that call the /dev/apps/{app_name}/builder* routes or import google.adk.cli.built_in_agents. Both are gone.
  4. Review live agents. Tool exceptions now return an error response, and parallel calls answer in separate FunctionResponse events in the order they finish.
  5. Check prompt caching. If you rely on dynamic instructions inside system_instruction, set ADK_DISABLE_DYNAMIC_INSTRUCTION_ROUTING=1 to keep the old placement.
  6. Re-run your eval sets with adk eval --num_runs 3 to get a baseline before and after the upgrade.

The MCP change is labeled security hardening: it stops unrelated session.state keys from reaching external MCP servers (breaking changes). Builder-made agents are standard Agent Config YAML and keep working; for new agents, Google points to a coding agent such as Antigravity or adk create. Our Antigravity CLI 1.5 guide covers that tool.

Multi-run evals with pass@k and pass^k

multi_run_config runs each case more than once, and 2.15 adds two methods that look at k runs at a time (eval config guide):

  • pass_at_k measures capability: the chance that at least one of k runs passes.
  • pass_hat_k measures reliability: the chance that all k runs pass.

A minimal test config looks like this:

{
  "criteria": {"tool_trajectory_avg_score": 1.0},
  "multi_run_config": {
    "num_runs": 3,
    "cross_run_criteria": [
      {"method": "pass_at_k", "k": 2},
      {"method": "pass_hat_k", "k": 2}
    ]
  }
}

Without a threshold, these criteria are informational and never fail a case. Add one to gate CI. The file fails to load if k is missing or below 1, and adk eval stops before inference when k exceeds the number of runs. A low pass_hat_k next to a high pass_at_k marks a flaky case.

For tool arguments, tool_parameter_match takes a threshold, a match_type (IN_ORDER by default, or EXACT or ANY_ORDER) and per-argument matchers such as casefold, numeric with a tolerance, or ignore for values like request IDs. Each paired call scores the mean of its argument scores, and an unpaired expected call scores 0.

Live tools that keep talking

ADK now runs every function call in a background task and keeps streaming audio, transcriptions and interruptions while it works (live tools guide). Two BaseTool attributes control the model:

  • behavior: NON_BLOCKING lets the model keep talking; BLOCKING makes it wait unless the user interrupts.
  • response_scheduling: WHEN_IDLE adds the result without interrupting, INTERRUPT cuts in, and SILENT only adds it to context.

A practical pattern is to set tool.behavior = types.Behavior.NON_BLOCKING on slow lookups and tell the agent to keep conversing while they run. Sync def tools still run on the event loop thread unless you set RunConfig.tool_thread_pool_config, so convert slow tools to async or enable the thread pool.

For other voice stacks, see our Gemini 3.5 Transcribe voice editing guide.

Buffered sessions and sandbox scopes

BufferedSessionService wraps any session service, applies each event to the session object at once and writes it to the store in the background, in order (BufferedSessionService guide). Retries are off by default and can be enabled with retry_config. The runner does not flush it yet, so call flush_session after each run, before telling the client the turn is done, and aclose on shutdown.

For sandboxes, an environment can return EnvironmentScope.SESSION or USER from its scope property. With the default SHARED scope, one session creating a sandbox makes every other session’s tool calls wait; with narrower scopes, initialization runs in parallel (release notes).

Known limitations

  • Buffered sessions are experimental. A crash loses writes that had not reached the store, Runner.run cancels in-flight writes when its loop closes (use run_async), and the service is not thread-safe.
  • Live scheduling varies by model. The guide says thinker-talker models in Gemini 3.5 Live restrict explicit response_scheduling, so NON_BLOCKING without scheduling is more portable.
  • Mixed transfers are undefined. Calling transfer_to_agent or task_completed in the same event as other function calls is undefined behavior.

Version 2.15.1 also handles Claude sampling settings on Anthropic SDK 1.x and 2.x and reverts a change to streamed RemoteA2aAgent output (v2.15.1). For a Python alternative with built-in history stores, read the Pydantic AI 2.77 guide.

Frequently asked questions

What is new in Google ADK 2.15?

ADK Python 2.15.0, released November 19, 2026, adds pass@k and pass^k eval metrics, partial-credit tool argument scoring, background tool calls in live sessions, per-session sandbox scopes and an experimental BufferedSessionService.

Did Google remove the Visual Agent Builder from ADK Web?

Yes. Version 2.15.0 removes it from ADK Web. Agents built with it are standard Agent Config YAML and still run with adk web, adk run and adk deploy.

What is the difference between pass@k and pass^k in ADK evals?

pass_at_k is the chance that at least one of k runs passes (capability). pass_hat_k is the chance that all k runs pass (reliability). Both go in cross_run_criteria with a k value.

Is BufferedSessionService safe for production?

It is experimental. A crash loses writes that had not reached the store, and you must call flush_session after each run and aclose on shutdown.

What does ADK 2.15.1 fix?

Version 2.15.1, released November 24, 2026, fixes Claude sampling settings on Anthropic SDK 1.x and 2.x, streamed RemoteA2aAgent output, Apigee argument errors and dynamic instruction routing.

How do I upgrade to Google ADK 2.15?

Run pip install –upgrade google-adk or pin google-adk==2.15.1, then check MCP prompt arguments, removed builder routes and live tools that assume blocking execution.

Sources

Featured image: Agent Development Kit logo from the google/adk-python repository (Apache License 2.0). Google is a trademark of Google LLC. FreeAnswers is not affiliated with Google.

Related answers

Leave a Comment