Skip to content

Google ADK connector: targeted version and verified APIs

Package: google-adk (published by Google). Targeted: 2.14.1 (extra credencestack[adk], >=2.14.1,<3). Checked against the installed source on 2026-11-22.

2.15.0 is the latest release, but it requires watchdog>=7 while strands-agents 1.65 requires watchdog<7. 2.14.1 is the newest ADK that installs alongside Strands, so the lock and the tests use it. Installed on its own, the extra resolves 2.15.0; its offline conformance (3 epochs) is Conformant, checked on 2026-11-22 and by every scripts/release_check.sh run.

APIs used, as found in 2.14.1

Need API in 2.14.1 Where
Agent and runner google.adk.agents.LlmAgent(name, model, instruction, tools); google.adk.apps.App(name, root_agent, plugins); google.adk.runners.InMemoryRunner(app=) with its in-memory session service; runner.run_async(user_id, session_id, new_message) yields events google/adk/agents, apps/app.py, runners.py
Native tools a google.adk.tools.base_tool.BaseTool subclass: _get_declaration() returns types.FunctionDeclaration(..., parameters_json_schema=...); run_async(args=, tool_context=) google/adk/tools/base_tool.py, google.genai.types
Events a BasePlugin (runner-wide): before_model_callback, after_model_callback (llm_response.usage_metadata), before_tool_callback (returning a dict skips the tool) google/adk/plugins/base_plugin.py
Tool confirmation BaseTool.check_require_confirmation(args, tool_context); ADK then emits an adk_request_confirmation function call (originalFunctionCall, toolConfirmation); answer with a FunctionResponse(id=, name="adk_request_confirmation", response={"confirmed": bool}) google/adk/tools/_confirmation_utils.py, flows/llm_flows/tools/_confirmation.py
Offline model a google.adk.models.base_llm.BaseLlm subclass implementing generate_content_async(llm_request, stream) that yields LlmResponse google/adk/models/base_llm.py

Differences from the plan's hints

  • Tools: a BaseTool subclass instead of FunctionTool, because FunctionTool derives its schema from a Python signature. Confirmation uses the same check_require_confirmation hook that FunctionTool(require_confirmation=...) uses.
  • Callbacks: runner-wide plugin callbacks instead of the agent's own before_/after_*_callback fields, so a user's agent callbacks are left untouched.
  • Errors: ADK wraps exceptions raised in plugin callbacks in RuntimeError; connectors report a wrapped BudgetExhausted by its root cause (credencestack.connectors.errors).
  • Gemini: a model name string uses Gemini (needs GOOGLE_API_KEY or Vertex AI settings); offline runs use the scripted model and need none.