Skip to content

v1.6.0

Latest

Choose a tag to compare

@adk-java-releases-bot adk-java-releases-bot released this 17 Nov 18:32

1.6.0 (2026-11-17)

Features

  • add a batch writer for the Storage Write API (e863fac)
  • add FunctionNodes.requestInput(RequestInput) and a State.REMOVED field for Java (dd72922)
  • auth: add Context.requestCredential and getAuthResponse (4b84da4)
  • auth: add CredentialService and InMemoryCredentialService (79adeeb)
  • auth: add internal authorization URL building (72b068f)
  • auth: add internal PKCE code verifier and S256 challenge (02b2985)
  • auth: add internal secure random string generation (3d2d6aa)
  • auth: add SignInRequest and Event.signInRequests (8b1dbe5)
  • auth: build the sign-in request for a credential (eb9361b)
  • auth: emit sign-in requests and end the agent call (d245af1)
  • auth: make AuthConfig.credentialKey a CredentialKey (c6c7168)
  • auth: store sign-in responses and re-run the tools that asked (024c8ff)
  • bigquery: write analytics rows in background batches (3d002e1)
  • carry a Java caller's coroutine context into runs and reflective tools (73cfb2e)
  • classifiers: add ClassifierNode for workflow routing (0e1417c)
  • classifiers: add Java future bridges for Classifier (c1b4910)
  • classifiers: add LlmClassifier backed by Model (9c011fb)
  • classifiers: add the experimental Classifier interface and its question and answer types (98f6a8e)
  • classifiers: serialize questions and answers as JSON (03978aa)
  • core: add ToolExecutionMode to RunConfig for sequential tool calls (f778bff)
  • let Java code call a Context's suspend methods through InteropContextView (d5ee7bf)
  • let models report whether they take an output schema with tools (b7f1081)
  • let tools stream through a Reactive Streams Publisher (5083147)
  • live: add an avatar configuration for live conversations (6e45a79)
  • live: add BaseTool.behavior to declare tools blocking or non-blocking (2740a81)
  • live: declare streaming tools NON_BLOCKING to the model (a8c4c7f)
  • live: let a streaming tool read the live input from Context.liveRequests (248cb5b)
  • live: let the operator pick the avatar for VIDEO sessions (193b343)
  • live: serve /run_live from adkApiModule and the servers (01fa7ad)
  • processor: let @tool functions return a Flow (cabec44)
  • run Java calls in the caller's context (abe2aa4)
  • support requireConfirmation in ReflectiveTools (f44991b)
  • telemetry: mark failed spans with an ERROR status (1059162)
  • telemetry: trace each model call in a generate_content span (d465344)
  • webserver: export traces over OTLP when OTEL_* endpoints are set (db1a637)
  • webserver: let Java start the server without passing wait (471b4dc)
  • workflow: Java typed workflow ports follow the port coercion rules (db1e3db)
  • workflow: let Java FunctionNode builders require confirmation (7d920c9)
  • workflow: let Java read node timeouts and retry delay defaults in millis (99b4450)
  • workflow: let Java write new Edge(from, to) (12cec28)
  • workflow: let RetryConfig match exceptions by class (9948e13)
  • workflow: name every node failure by its own class (45ee185)
  • workflow: read message text on Java String ports (b9ce132)
  • workflow: run Java FunctionNode bodies on a dispatcher for blocking work (9060bc5)
  • workflow: trace workflows and nodes as invoke_workflow and invoke_node spans (e82b358)

Bug Fixes

  • a2a: carry file names and media control fields over A2A (c3c003f)
  • a2a: give the merged and no-parts events their branch (8ce1941)
  • a2a: keep the context of a message reply (1a25e31)
  • a2a: let the app answer a remote task that asks for input (10344ab)
  • a2a: record a failed request to the remote agent (5c69f45)
  • a2a: record task and context ids under ADK Python's keys (ac0d2e7)
  • a2a: record the A2A request and response as objects (e07a121)
  • a2a: record the A2A response on merged streaming events (d004360)
  • a2a: resume a paused remote task on a plain-text reply (cacfc7f)
  • a2a: send untyped data parts back as data parts with their metadata (05e6155)
  • a2a: stop failing the run when a remote request fails (4e07889)
  • a2a: treat a finished remote task's output as its final response (781d183)
  • accept null optional fields in set_model_response arguments (619ae29)
  • accept whole-number doubles for integer schema fields (5a5819e)
  • agents: make ParallelAgent sub-agents see their own earlier events (e83085d)
  • assemble streamed function call arguments with array indices (b430dcb)
  • carry code execution parts through A2A and agent history (544489e)
  • carry thought flags and thought signatures over A2A (2809a83)
  • contain skill names to the skills directory (d0fc0ad)
  • convert tool call and response parts to and from A2A (8f242e2)
  • declare set_model_response parameters as an object (d442ce1)
  • downgrade kotlinx-coroutines to 1.10.2 and Ktor to 3.4.3 (db97db5)
  • end the run when a blocking remote call returns (47be658)
  • fail a Flow tool call outside a live run (7d7f458)
  • fix replay branches and delegated outputs on resume (5f697a6)
  • interop: let Java publisher agents and nodes see state set by their earlier events (e8933d0)
  • keep credentials out of requests to remote agents (cab085a)
  • keep the caller's context in background coroutines (27868ff)
  • keep whitespace-only text in the LLM context (299ed66)
  • leave part metadata out of Vertex AI requests (07689c6)
  • live: store a queued typed turn when the run stops right after an answer (45899af)
  • live: store each answer before the next queued input (f3bd87c)
  • live: word streaming-tool warnings as in ADK Python (c0a1e05)
  • load artifacts from all parallel tool responses (61b471d)
  • pair reused tool call IDs by occurrence during compaction and history rewrite (553dd47)
  • plugins: leave private keys out of DebugLoggingPlugin output (8274fd5)
  • processor: name every missing @tool argument, worded as in ADK Python (9c55bcf)
  • propagate non-404 GCS listing errors (7ef30ff)
  • relay only the parts ADK Python relays from other agents' events (ab2d83c)
  • rerun a resumed workflow agent only for a reply meant for it (925d87f)
  • return set_model_response validation errors to the model (a0dde7f)
  • run agents off the Ktor call thread (ad1961d)
  • runners: make every message a user turn and keep user content on resume (970e62d)
  • send Claude only the current turn's thinking blocks (9e83a53)
  • serialize longRunningToolIds as a sorted list (7fd87c8)
  • skip agent after-tool callbacks when a plugin replaces the result (4b97cd0)
  • spring-ai: report cached prompt tokens in usage metadata (7b5abf0)
  • telemetry: keep a shell agent's sub-agents under its span (80e6dd4)
  • telemetry: keep model calls after a tool under their agent span (8a49f71)
  • telemetry: keep the caller's span current while it collects events (c126c78)
  • telemetry: leave thought signatures and inline media out of model-call traces (2ee7361)
  • telemetry: mark a tool's reported failure on its execute_tool span (94038f9)
  • telemetry: match Python's schema v1 span attributes (53e4d85)
  • telemetry: record a recovered model failure only on generate_content (534a78a)
  • telemetry: run callbacks inside the span they observe (e199792)
  • tools: return a failed wrapped agent's error message from AgentTool (f641e0b)
  • use set_model_response on the Gemini API and for Vertex AI models that fail in JSON mode (3ecdde3)
  • webserver: answer 404 for runs on a session that does not exist (462ed14)
  • webserver: reject remote peers, rebound hosts, and untrusted origins (b580447)
  • webserver: serve artifact versions by path (dd48efa)
  • webserver: show runs without a model call in the session trace view (968852e)
  • workflow: give a tool node's rerun tool its resume inputs (649a705)
  • workflow: keep a node waiting on an interrupt it raises again (4658fb6)
  • workflow: keep an LlmAgent node's history after an earlier node's interrupt (c0ae040)
  • workflow: list no associated events on a failed node attempt (f051336)
  • workflow: pause a tool node when its tool asks for confirmation (5210ea0)
  • workflow: read Java enums and booleans written as numbers (0cdde71)
  • workflow: skip the state schema for keys with a colon (421718c)
  • wrap non-object output schemas for set_model_response (2cd2ef9)

Documentation

  • examples: add a classifier node workflow sample (8fbbaf9)
  • examples: add a voice demo in Kotlin and Java (f7386a6)
  • examples: add the PCM format and a bounded device open in Kotlin and Java (e665796)
  • examples: align the Java workflow twins with their Kotlin examples (d4c9be3)
  • examples: capture microphone audio in Kotlin and Java (6b2fba3)
  • examples: fix workflow example behavior and comments (f1433c6)
  • examples: fix workflow example comments (7bc125d)
  • examples: open the workflow examples with their graph (6c54b6d)
  • examples: pass agent answers between workflow nodes (7d8a75b)
  • examples: pass the user's request to single-turn agent nodes through state (2733258)
  • examples: play the model's voice in Kotlin and Java (0c04f5b)
  • examples: port the agent_in_workflow and input_output_schema samples (26feef0)
  • examples: port the dynamic_nodes, dynamic_fan_out_fan_in and use_as_output samples (f55d84b)
  • examples: port the fan_out_fan_in, parallel_worker and request_input_advanced samples (9b00ef0)
  • examples: port the request_input and request_input_rerun workflow samples (b961c9e)
  • examples: port the sequence, route and loop workflow samples (336add2)
  • examples: port the task_sub_agent and single_turn_sub_agent samples (80157fb)
  • examples: read the user's message as text in three workflow examples (b557afb)
  • examples: serve a live agent to the dev UI in Kotlin and Java (a690ae1)
  • examples: show the reject and decline paths in workflow demos (00fe0fa)
  • firebase: use the Agent Platform backend in examples and integration tests (11d6139)
  • port the Spring Boot WebFlux order-support service to Java (223dcbb)