Skip to content

v0.5.0 — ADK-Rust 0.5.0 with 14 Providers & Resilience

Latest

Choose a tag to compare

@jkmaina jkmaina released this 03 Apr 06:42
· 2 commits to main since this release

⚡ Upgraded to ADK-Rust 0.5.0

New Providers (14 total)

Gemini, OpenAI, Anthropic, DeepSeek, Groq, Ollama, Fireworks, Together, Mistral, Perplexity, Cerebras, SambaNova, Amazon Bedrock, Azure AI

Tool Resilience

  • Tool timeout (5 min) — prevents hung tool calls
  • Retry budget (2 retries, 500ms delay) — auto-recovers transient failures
  • Circuit breaker (threshold: 5) — disables tools after consecutive failures

Context Compaction

Loop agent uses LlmEventSummarizer to automatically summarize older events every 5 invocations, keeping context bounded during long implementation sessions.

Other Improvements

  • Shared model factory (model_factory.rs) — eliminates 4× code duplication
  • Per-agent temperature and max_output_tokens via LlmAgentBuilder
  • DeepSeek auto-selects reasoner vs chat based on model name
  • Anthropic auto-enables with_thinking() when configured
  • GOOGLE_API_KEY as primary env var (with GEMINI_API_KEY fallback)
  • OpenTelemetry upgraded to 0.31
  • Typed UserId/SessionId, Content::new() builder pattern

Breaking Changes

  • Minimum adk-rust version: 0.5.0
  • SUPPORTED_PROVIDERS expanded from 4 to 14

See CHANGELOG.md for full details.