github google/adk-python v1.25.0

9 hours ago

1.25.0 (2026-02-11)

Features

  • [Core]

    • Add a demo for the simple prompt optimizer for the optimization interface (0abf4cd)
    • Add --auto_create_session flag to adk api_server CLI (40c15d0)
    • Add add_events_to_memory facade for event-delta (59e8897)
    • Add post-invocation token-threshold compaction with event retention (a88e864)
    • Add report generation to adk conformance test command (43c437e)
  • [Models]

    • Add base_url option to Gemini LLM class (781f605)
  • [Tools]

    • Enhance google credentials config to support externally passed access token (3cf43e3)
    • Update agent simulator by improving prompts and add environment data (7af1858)
    • Add a load MCP resource tool (e25227d)
    • Add SkillToolset to adk (8d02792)
  • [Web]

    • Add /health and /version endpoints to ADK web server (25ec2c6)

Bug Fixes

  • Use async iteration for VertexAiSessionService.list_sessions pagination (758d337)
  • Fix event loop closed bug in McpSessionManager (4aa4751)
  • Preserve thought_signature in function call conversions for interactions API integration (2010569)
  • Propagate grounding and citation metadata in streaming responses (e6da417)
  • Add endpoints to get/list artifact version metadata (e0b9712)
  • Support escaped curly braces in instruction templates (7c7d25a)
  • Strip timezone for PostgreSQL timestamps in DatabaseSessionService (19b6076)
  • Prompt token may be None in streaming mode (32ee07d)
  • Pass invocation_id from /run endpoint to Runner.run_async (d2dba27)
  • Conditionally preserve function call IDs in LLM requests (663cb75)
  • Migrate VertexAiMemoryBankService to use the async Vertex AI client (64a44c2)
  • Handle list values in Gemini schema sanitization (fd8a9e3)
  • Used logger to log instead of print in MCP (6bc70a6)

Improvements

  • Replace check of instance for LlmAgent with hasAttribute check (7110336)
  • Log exception details before re-raising in MCP session execution (de79bf1)

Don't miss a new adk-python release

NewReleases is sending notifications on new releases.