Google ADK Python v2.10.0
Google ADK Python v2.10.0 introduces experimental skill lifecycle management, a new MongoDB toolset, updated evaluation metrics, enhanced OpenAI reasoning model support, and several breaking behavior changes across BigQuery modes, OpenAI configuration, and evaluation suites.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Google ADK Python v2.10.0 delivers major functional additions alongside critical behavioral breaking changes. Key Highlights & Features: - Skill Lifecycle Management (Experimental): Controlled via ADK ENABLE SKILL LIFECYCLE=1 , introduces active skill limits, an opt-in unload skill tool, instruction removal upon unloading, and an EPHEMERAL lifecycle lasting one turn. - Database Integrations: Adds a MongoDB toolset supporting high-performance vector and hybrid search. - Evaluation Metrics: Introduces tracking for duration efficiency, token consumption, and model call counts to optimize execution costs and latency. - Model Support: Enhances OpenAI reasoning model integration with automated request parameter adaptation, streaming usage surfacing, and reasoning token reporting. Behavior Changes & Deprecations: - BigQuery Protected Write Mode: Restricts non-SELECT statements strictly to those where dry runs resolve to the session's anonymous dataset (rejecting multi-statement scripts, CALL , EXPORT DATA ). BigQuery sessions are now stored in process memory rather than session state, preventing temporary tables from surviving restarts or cross-replica shifts. - OpenAI Configuration: OpenAIResponsesLlm ignores thinking level / thinking budget with a warning; callers must transition to OpenAIGenerateContentConfig.effort . - Evaluation Assertions: AgentEvaluator.evaluate and evaluate eval set now raise a ValueError instead of silently passing when zero evaluation cases are executed. - Instruction Templating: Variables formatted as ${var} or escaped as \{var} are now left literal…
可执行摘要
Google ADK Python v2.10.0 adds experimental skill lifecycles (via ADK ENABLE SKILL LIFECYCLE=1), a MongoDB toolset for vector/hybrid search, and cost/latency evaluation metrics. Critical behavior changes include stricter BigQuery protected mode execution and in-memory session handling, rejection of empty test runs in AgentEvaluator, deprecation of thinking configs in favor of OpenAIGenerateContentConfig.effort, and…
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Switch OpenAI thinking configuration from thinking budget/level to OpenAIGenerateContentConfig.effort.
- Update BigQuery workflows relying on session state or multi-statement scripts under protected write mode, noting temporary tables are now strictly in-process.
- Migrate imports of legacy live-audio modules (audio cache manager, audio transcriber, transcription manager) from google.adk.flows.llm flows to google.adk.live to prevent failures under -W error.
- Ensure test suites calling AgentEvaluator.evaluate contain at least one valid evaluation case to avoid new ValueError exceptions.