Google ADK Python v2.9.0
Google ADK Python v2.9.0 adds automatic model failover, native voice integration via LiveKit, YAML-based graph workflows, and MCP SDK 2.x support alongside critical workflow and pathing behavior changes.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Google ADK Python version 2.9.0 focuses on resilience and integrations. Key additions include automatic model failover via FallbackModel, a LiveKit runner for real-time voice and telephony agents, support for authoring ADK 2.0 graphs in declarative YAML, and compatibility with MCP SDK 2.x (maintaining backward compatibility with 1.x servers). Several behavior changes were introduced: failed workflow nodes now re-execute upon workflow resumption rather than replaying as completed (requiring node idempotency); GCS tools restrict file operations strictly within a configured local file root directory; and InMemorySessionService now raises SessionNotFoundError when appending events to nonexistent sessions, aligning with database-backed services.
可执行摘要
Google ADK Python release v2.9.0 introduces FallbackModel for model failover, a LiveKit runner, YAML ADK 2.0 graph workflow loading, and MCP SDK 2.x compatibility. Notable breaking behavior changes include re-running failed workflow nodes upon resumption, strictly enforcing a local file root directory for GCS tools, and having InMemorySessionService raise SessionNotFoundError on missing sessions.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Ensure workflow node bodies are idempotent to handle re-execution upon resumption after failures.
- Configure local file root for GCS tools if reading or writing local files is required.
- Update code using InMemorySessionService to handle SessionNotFoundError when appending events to unheld sessions.
- Optionally evaluate FallbackModel for model redundancy, LiveKit runner for telephony/voice features, and YAML configurations for ADK 2.0 graphs.