Repository navigation
Releases
Releases · google/adk-java
v1.15.0
1.15.0 (2026-11-18)
Features
- add FunctionNode, a workflow step with typed Java ports (d627147)
- add TypeReference ports and a build-time port check to FunctionNode (01f899f)
- check workflow edges by assignability (a0cc1dc)
- classifiers: add ClassifierNode for workflow routing (61e0eb8)
- classifiers: add LlmClassifier backed by BaseLlm (f3e1cea)
- classifiers: add the experimental Classifier interface and its question and answer types (739c231)
- classifiers: read and write questions and answers as JSON (ef5f798)
- dev: serve workflow graph images (677557b)
- hide another node's input from an agent node (0f1b2c8)
- infer schemas for FunctionNode ports (020c95c)
- keep a
SINGLE_TURNLlmAgentnode to its own node path (f14e184) - let models report whether they take an output schema with tools (5ce839b)
- make a
SINGLE_TURNLlmAgentnode's answer its output (d122338) - mcp: add opt-in
CallToolResultMapperfor tool results (4dfe0b5) - models: bring Claude to parity with ADK Python (62003c1)
- run a
SINGLE_TURNLlmAgentnode on its node input (e264177) - run a
SINGLE_TURNLlmAgentnode without history by default (8e56693) - tokt: carry transcriptions and turnComplete across the interop (30edd99)
- tokt: convert speech and transcription configs (ab34617)
- tokt: run agents through the ADK Java runner's runLive (3582f1a)
- tokt: send blobs and run a held session through runLive (1f1537d)
- tokt: stream a Flowable FunctionTool in a live run (42b2f9c)
- workflow: add JoinNode.create for a join that needs only a name (d100738)
- workflow: ask the user to approve a FunctionNode run (1b11290)
- workflow: check an untyped enum on an edge as the number or boolean it spells (beda447)
- workflow: interrupt a canceled FunctionNode's body (3c07372)
- workflow: let a FunctionNode body ask for input with requestInput (61ce022)
- workflow: let a FunctionNode body send events with ctx.emit (c90ac7c)
- workflow: reject port types that ADK Kotlin rejects, such as ZoneId (8ddd5b4)
- workflow: run a FunctionNode body on the node's scheduler (d0c3338)
Bug Fixes
- a2a: continue the remote context on the next turn (5ade857)
- a2a: keep the metadata of a message reply (efedf4c)
- a2a: read the error code ADK Python and Go agents send (659f5ab)
- a2a: resume a remote agent's task when the user answers its call (7c80a14)
- agents: stop saving a transfer target's reply to the parent's outputKey (abb86a7)
- aggregate live text chunks and skip partial events in runLive (9435377)
- count events after the last model response toward the compaction threshold (587d252)
- declare set_model_response parameters as an object for untyped schemas (a33af4c)
- dev: listen on 127.0.0.1 by default in AdkWebServer.main() and start() (464cf48)
- flows: run onModelErrorCallback when a model throws synchronously (e5cd285)
- flows: share the persist barrier with copies of callbackContextData (f9ec28c)
- gemini: build lists from streamed function call argument paths (def4ffa)
- keep apigee/gemini/ models on the Gemini API even when the environment selects Vertex AI (1f7efe3)
- keep whole numbers in streamed function call arguments as integers (be4984e)
- langchain4j: accept free-form schemas in tool declarations (8c15ce5)
- langchain4j: end a streamed turn with one response that holds the whole answer (8a9b6d0)
- let a sub-agent transfer back to its parent in a resumed invocation (7fb0a3b)
- live: answer a replayed history that ends in a user turn (f688c80)
- plugins: make BQAA GCS uploads create-only so transient errors retry (6a497da)
- plugins: prevent BQAA offload data loss and preserve binary MIME (94b5bac)
- show an agent the user's answer to another agent's call (658faba)
- spring-ai: report cached prompt tokens in usage metadata (a4182a5)
- stop logging model input and output in Gemini (e10a7b6)
- tokt: forward model capabilities to the Kotlin engine (d3bd749)
- tokt: merge a Java plugin's replacement onto the original, as ADK Python does (0bb7f4a)
- tools: keep the null of a required nullable property in
set_model_response(e868293) - use set_model_response on the Gemini API and for Vertex AI models that fail in JSON mode (faac2f4)
- validate free-form schemas instead of crashing (ad4ab50)
- workflow: don't start a canceled FunctionNode's confirmation predicate (c7f906c)
- workflow: keep a node timeout from interrupting a FunctionNode's output (ea20742)
- workflow: keep a state write made while NodeRunner moves pending deltas (fca65ef)
- **work...
v1.14.0
1.14.0 (2026-11-02)
Features
- add a Spring Boot chat app backed by an ADK agent (bca0591)
- add a Spring Boot chat that streams replies and mixes ADK and Spring AI tools (7391fa8)
- add App.toBuilder() (2e8dbea)
- add bidirectional conversion between ADK and Spring AI (9949265)
- add Event.isolationScope (86f3130)
- add NodeInfo.name, runId, and parentRunId, and Event.nodeName (52f2be7)
- add RunConfig.dollarEscapedPlaceholders to leave escaped placeholders in instructions as written (72b4af8)
- load apps, agents and workflows through AppLoader (9c3d550)
- pause a workflow for user input (8578068)
- plugins: port DebugLoggingPlugin from adk-python (3c3633e)
- plugins: port SaveFilesAsArtifactsPlugin from adk-python (272ea6c)
- rebuild a workflow's node progress from session events (7096019)
- reject node names that corrupt node paths (08d4b62)
- resume a paused workflow from its session events (2e88a6d)
- run a node once per item of a list input (528a99d)
- run a tool as a workflow node (8b560fc)
- run child nodes from a workflow node with Context.runNode (e293898)
- serve an app's structure, including workflow graphs (6fd21b5)
- share one run per Context.runNode run ID (a313ce4)
- validate workflow graphs at construction time (7674c2b)
- workflow: add NodeExecutionException as the base of NodeTimeoutException (a4c8ac1)
- workflow: let RetryConfig match exceptions by class (fb4c916)
Bug Fixes
- close the Gemini response stream after a read error (461f7d6)
- drop a delegating node's own output, as Python ADK does (5177269)
- enforce node retry policies and timeouts (367b402)
- fail a timed-out node with NodeTimeoutException (0c661e1)
- flows: propagate downstream cancellation to the model stream (cce02ae)
- harden disabled mode, config checks and error capture (64ce48c)
- keep context cache metadata in events and model responses (2c84291)
- keep event isolation scopes in an adapted Java session service (c2ab2e3)
- let a timeout cancel the node a workflow is starting (a017879)
- live: replay stored transcriptions as conversation history (9a15855)
- never retry a WorkflowConfigurationException (fd8c360)
- restrict live
transfer_to_agentto the agent, its sub-agents, parent, and peers (f4d6de4) - restrict turn-based
transfer_to_agentto declared targets (9837e1b) - resume Kotlin workflows behind an adapted Java session service (aab51ef)
- runner: keep callbackContextData on a resumed invocation (08876c4)
- skills: remove unregistered script tool from default instructions (9d68053)
- store grounded events in an adapted Java session service (beca776)
- stream partial chunks, then one aggregated response (3a4742e)
- workflow: fix replay branches and shared runs on resume (a155d30)
Reverts
v1.13.0
1.13.0 (2026-10-21)
Features
- add a builder for workflow graph edges (4721491)
- expose turnComplete for live content (857ee63)
- langchain4j: make modelName optional when ChatModel or StreamingChatModel is provided (03036c3)
- run a single workflow node (28f2606)
- run a workflow graph (cecad8f)
- run a workflow node as the invocation root (66eab8c)
Bug Fixes
- dev: allow only same-origin requests by default for CORS and /run_live (5667d38)
- dev: reject DNS-rebinding requests that reach the server over loopback (1ae5078)
- mcp: emit valid JSON Schema when converting ADK tools to MCP tools (60250a9)
- omit caller values from VertexAiSessionService error messages (dc56f11)
- round-trip thinking blocks in the Claude model (d1d9dc2)
v1.12.0
1.12.0 (2026-10-14)
Features
- add a context caching demo sample (91a1838)
- add a Gemini context cache manager (e5083e3)
- add an injectable scheduler for ADK's internal fan-out (1b89d23)
- add cacheIntervals and createHttpOptions to ContextCacheConfig, as in ADK Python (3afe4e5)
- add Context as the common base of CallbackContext and ToolContext (1309d38)
- add injectable time and UUID providers for timestamps and ids (caccc7c)
- add the experimental Edge and Start workflow types (a7b317a)
- add the experimental JoinNode workflow node (5137604)
- add the experimental Node and BaseNode workflow types (189d463)
- add the experimental Workflow type for workflow graphs (4c77cdf)
- add the workflow fields Event.output, Event.nodeInfo and EventActions.route (e823fba)
- carry context cache config and metadata on LlmRequest, LlmResponse and Event (187a4e1)
- carry the continuation token across the Kotlin engine interop (b3f0665)
- make BaseAgent extend BaseNode so every agent is a workflow node (dbc973b)
- mcp: allow rejecting config-supplied stdio MCP servers (28810cd)
Bug Fixes
- a2a: skip an unconvertible remote A2A part instead of failing the turn (9debe96)
- create and use Gemini context caches when ContextCacheConfig is set (68914c5), closes #1530
- run approved tool confirmations for agents under a ParallelAgent (f866804)
- send MCP tool input schemas in chat completions requests (ce88237)
- spring-ai: order SpringAIAutoConfiguration after Spring AI model auto-configurations (d342a95)
- spring-ai: preserve enum and items in tool schema conversion (7b1a5b8), closes #1609
- stop losing event fields on Vertex AI session reloads (887f9da)
- wait for the transfer event to be persisted before running the transfer target (9f5d5ce)
v1.11.0
1.11.0 (2026-10-02)
Features
- add rewindBeforeInvocationId to EventActions and carry it through the Kotlin interop (4ff229b)
- add thread-safe immutableEvents, addEvent, and addEvents helpers to Session (950b869)
- carry code-execution, media resolution and more config across the Java/Kotlin interop (4f3b02d)
- dev: add the /version and /health endpoints (849e1f6)
- drop model-name checks from GoogleSearchTool and UrlContextTool (887da0e)
- honor the plain-text continuation flag and allow only one resumability flag (f5c7561)
- let the ADK Java <-> Kotlin interop run on a caller-supplied dispatcher (29481a9)
- resume Gemini 4 Argon generations paused with a continuation token (e8dfcb0)
- sessions: add an opt-in switch for rejecting a duplicate session id (e6a46b1)
- support pausing and resuming a session invocation (8361c5f)
- support the resume runAsync overload when adapting a Kotlin runner to the Java Runner API (4e67b3d)
Bug Fixes
- agents: only stop ParallelAgent on direct sub-agent escalation (fc3e352)
- dev: ignore an unusable adk.web.backend-url instead of serving it (f7d7a7c)
- dev: let the dev UI's public address be configured (2c5bd9e)
- keep structuredContent and non-text content in MCP tool results (9b128df)
- make Java session appends on the Kotlin engine update the caller's session in place (650e950)
- record the thinking budget and level on the call_llm telemetry span (ed72ddb)
- respect OpenTelemetry LIFO scoping in reactive streams (33e28e3)
- scope the tool-confirmation resume scan to the current branch (b00e25d)
- sessions: reject a duplicate session id in FirestoreSessionService (9fe5830)
- sessions: reject negative numRecentEvents in GetSessionConfig (3adb8cf)
- tools: run an AgentTool under the caller's RunConfig (18560ba)
Reverts
- keeping structuredContent and non-text content in MCP tool results (c897cdb)
Documentation
- add @deprecated guidance to two deprecated event setters (a88b093)
- add placeholder AGENTS.md, CLAUDE.md, and .gemini styleguide (e0d71c0)
- fix inaccuracies in the tokt interop KDoc (1afd839)
v1.10.1
1.10.1 (2026-09-18)
Features
- add @experimental annotation for unstable ADK APIs (69914f4)
- add EventActions.agentState for session-resumability checkpoints (8505a01)
- add one-way ADK Java to Kotlin engine interop module (baff584)
- add opt-in ResumabilityConfig flag for plain-text continuation auto-resume (f0fb722)
- Add unique event_id to BigQuery agent analytics events (15c70de)
- bridge ADK Java plugin onRunErrorCallback to the Kotlin engine (4ee155b)
- fire ADK Java plugin tool callbacks for native Kotlin tools (fda5a10)
- run an ADK Kotlin-engine runner behind the ADK Java Runner API (6ff8241)
Bug Fixes
- dev: serve the dev UI and its assets under a /dev-ui path (6866919)
- memory: format search timestamps as epoch millis (5269b87)
- models: set additionalProperties on schemas for OpenAI strict structured outputs (4b058cd)
- sessions: forward the caller-supplied session id in VertexAiSessionService (77eae25)
- sessions: validate HTTP status before parsing Vertex AI session responses (4192aca)
Documentation
- remove TODO regarding default InMemoryRunner.appName (99adf57)
v1.10.0
1.10.0 (2026-09-16)
Features
- add @experimental annotation for unstable ADK APIs (69914f4)
- add EventActions.agentState for session-resumability checkpoints (8505a01)
- add one-way ADK Java to Kotlin engine interop module (baff584)
- add opt-in ResumabilityConfig flag for plain-text continuation auto-resume (f0fb722)
- Add unique event_id to BigQuery agent analytics events (15c70de)
- bridge ADK Java plugin onRunErrorCallback to the Kotlin engine (4ee155b)
- fire ADK Java plugin tool callbacks for native Kotlin tools (fda5a10)
- run an ADK Kotlin-engine runner behind the ADK Java Runner API (6ff8241)
Bug Fixes
- dev: serve the dev UI and its assets under a /dev-ui path (6866919)
- memory: format search timestamps as epoch millis (5269b87)
- models: set additionalProperties on schemas for OpenAI strict structured outputs (4b058cd)
- sessions: forward the caller-supplied session id in VertexAiSessionService (77eae25)
- sessions: validate HTTP status before parsing Vertex AI session responses (4192aca)
v1.9.0
1.9.0 (2026-08-28)
Features
- add a GeminiLiveTransport seam to GeminiLlmConnection (e8b1c20)
Bug Fixes
- artifacts: honor the "user:" namespace in InMemoryArtifactService (0f46d5c)
- artifacts: honor user: namespace, prevent phantom keys, sort listing (01e1e41)
- avoid setting Part.partMetadata when metadata is empty (c05206f)
- chat: expose non-success HTTP status via typed exception (052f31a)
- preserve tool responses and thought signatures in Spring AI message conversion (6eef478)
- support typed responseSchema in ChatCompletionsRequest (8c06011)
- update Java ADK ResponseConverter to propagate long-running tool IDs on AUTH_REQUIRED state (2d20d1b)
v1.8.0
1.8.0 (2026-08-13)
Features
- Add onRunErrorCallback to ADK Plugin and Runner (3e6b915)
Bug Fixes
- a2a: drop unparseable A2A metadata instead of aborting conversion (b75c916)
- a2a: fail the A2A stream in the handler, not via the transport (faa3482)
- a2a: guard null DataPart metadata in ResponseConverter (fcfd9bd)
- a2a: require explicit adk_type metadata to convert A2A DataParts (b704c5f)
- core: only resume tool confirmations for calls this agent emitted (e5aba3a)
- keep thought signature and tool call parts through streaming and history (d7355a7)
- runner: build a new message when saving input blobs, instead of writing into the caller's Content (80c1a21)
- stop returning exception text to remote A2A peers (a3df463)
- Update default BigQueryLoggerConfig table name and remove default dataset ID (723a2ef)
- update stream completion check in A2A SDK to handle all terminal and interrupted task states (2b87d65)
v1.7.1
1.7.1 (2026-07-28)
Bug Fixes
- codeexecutors: add opt-in strict sandbox to ContainerCodeExecutor (8049f7e)
- core: fallback to name when Agent description is missing (233b83b)
- events: accumulate endOfAgent in EventActions.merge to preserve parallel stop requests (03b04fa)
- mcp: honor stdioServerParams in McpToolset.fromConfig (cf71d7b)
- preserve all parallel function calls on the live (BIDI) connection (edc330d)
- sessions: apply afterTimestamp and numRecentEvents together in VertexAiSessionService (24a4588)
- sessions: apply numRecentEvents and afterTimestamp together in InMemorySessionService (4d19f7d)