Skip to content

v0.5.0

Choose a tag to compare

@adk-java-releases-bot adk-java-releases-bot released this 06 Jul 09:42

0.5.0 (2026-07-03)

Features

  • add addEventsToMemory to MemoryService (93e40d9)
  • add addMemory to MemoryService (ebe280e)
  • add built-in request_input and get_user_choice human-in-the-loop tools (7c0de10)
  • agents: support RunConfig.maxLlmCalls (70f69c3)
  • firebase: map citation/usage/grounding fields and errorCode in Firebase conversions (932e2e1)
  • handle long-running input requests in the debug REPL (1e0d96e)
  • implement bypassMultiToolsLimit for google_search (1ed4481)
  • implement bypassMultiToolsLimit for vertex_ai_search (d4e9353)
  • models: add errorCode and customMetadata to LlmResponse (9834ded)
  • telemetry: honor ADK_CAPTURE_MESSAGE_CONTENT_IN_SPANS env var (23250e6)
  • telemetry: propagate gcp.mcp.server.destination.id on execute_tool (7b13efd)
  • telemetry: record full token-usage and reasoning-budget attributes (89cf418)
  • types: add avgLogprobs and logprobsResult to LlmResponse (37a5fbf)
  • types: add penalties, responseLogprobs, mediaResolution and serviceTier to GenerateContentConfig (2bb2ac2)
  • types: add safetySettings to GenerateContentConfig (e6d7bce)
  • types: add thoughts/tool-use token counts and modality details to UsageMetadata (79330ef)
  • types: add toolConfig/FunctionCallingConfig to GenerateContentConfig (8898fe2)
  • types: add videoMetadata and partMetadata to Part (40775ea)
  • types: carry grounding chunks/supports/search payload in GroundingMetadata (af3c573)
  • types: carry uri and span indices on Citation (46ac924)

Bug Fixes

  • add artifact sharing in AgentTool between the parent and wrapped agent (b26adbe)
  • agents: don't route the next user turn into a workflow agent's child (1a686e9)
  • agents: support resuming from a pending transfer_to_agent call (ead993d)
  • build: avoid OOM in adk-kotlin gradle build (0e61328)
  • fix agent transfer to return control to the parent after a sub-agent completes (339deca)
  • fix long-running result replay (895827e)
  • fix per-turn loop termination for tool confirmations (8e31b5b)
  • keep adk_request_input events in LLM context so the model sees the answer (d28e7ed)
  • make AgentTool run wrapped agent in an isolated session (7b280cf)
  • mergestateDelta into session state before onUserMessage/agent run (faa9816)
  • pass plugins from parent to wrapped agent's runner (e107906)
  • scope ADK Kotlin docs release analyzer to a single language (563a4f7)
  • stop gating built-in tools on model name (0858301)
  • suppress function-response for long-running tools that return Unit (1269fa6)
  • telemetry: drop inline_data and response_schema from traced llm_request (553e5ed)
  • types: tolerate unknown FinishReason values when deserializing (5bf2036)
  • widen ADK Kotlin Frontmatter.metadata type to Map<String, Any?> (2f69ddd)

Documentation

  • document the null default of Toolset.getTools readonlyContext (f7f4e81)