@google/adk
2.5.0 · 12 Nov 2026Apache-2.0449.1k / weekRepositoryHomepagenpmAtom feed
2.5.0 is the newest release of 2.x.
In short
6 breaking1 deprecated20 new1 faster49 fixed2 internal
- Breaking
workflow:
LLMAgentWrapperandLLMAgentWrapperConfigare removed. An agent is a workflow node as itself — pass it to an edge ornode()directly. A non-LlmAgentagent used as a node no longer has the node input appended to its conversation, nor its final model text promoted to the node output. - Breaking
workflow:
InvocationContext.agentis now optional. Code reading it outside an agent's own execution must handleundefined; inside one, preferrequireAgent(ctx). - Breaking
agents: constructing a
SequentialAgent,ParallelAgentorLoopAgentnow logs a deprecation warning once per class per process. The classes are otherwise unchanged and keep working. - Breaking
agents:
BaseAgentnow extendsBaseNode, so subclasses inheritrerunOnResume,waitForOutput,retryConfig,timeout,inputSchema,outputSchemaandstateSchema. A subclass that declares a field of the same name now collides with the inherited one.BaseAgent.descriptionis also no longerundefinedwhen unset. - Breaking
workflow: a dynamic
ctx.runNode()child that raises an interrupt and re-readsctx.resumeInputson re-run must now declarererunOnResume: true. With the default it is completed with the raw reply as its output instead of re-running.Workflowis still @experimental. - Breaking
workflow: add engine core — execution model, graph, and node registry (Part 2)
- Deprecated
agents: deprecate SequentialAgent, ParallelAgent and LoopAgent
Release note
Breaking changes
- Breaking
workflow:
LLMAgentWrapperandLLMAgentWrapperConfigare removed. An agent is a workflow node as itself — pass it to an edge ornode()directly. A non-LlmAgentagent used as a node no longer has the node input appended to its conversation, nor its final model text promoted to the node output. - Breaking
workflow:
InvocationContext.agentis now optional. Code reading it outside an agent's own execution must handleundefined; inside one, preferrequireAgent(ctx). - Breaking
agents: constructing a
SequentialAgent,ParallelAgentorLoopAgentnow logs a deprecation warning once per class per process. The classes are otherwise unchanged and keep working. - Breaking
agents:
BaseAgentnow extendsBaseNode, so subclasses inheritrerunOnResume,waitForOutput,retryConfig,timeout,inputSchema,outputSchemaandstateSchema. A subclass that declares a field of the same name now collides with the inherited one.BaseAgent.descriptionis also no longerundefinedwhen unset. - Breaking
workflow: a dynamic
ctx.runNode()child that raises an interrupt and re-readsctx.resumeInputson re-run must now declarererunOnResume: true. With the default it is completed with the raw reply as its output instead of re-running.Workflowis still @experimental. - Breaking
workflow: add engine core — execution model, graph, and node registry (Part 2)
Features
- Deprecated
agents: deprecate SequentialAgent, ParallelAgent and LoopAgent
agents: make BaseAgent a BaseNode
core: accept a bare Workflow as a root — runner, App and agent loader
core: graduate RoutedAgent and RoutedLlm out of experimental
core: implement Runner.runLive and LlmAgent live flow
dev: render graph workflows in the dev UI agent graph
Honor GOOGLE_GENAI_USE_ENTERPRISE in getExpressModeApiKey() (adk-python parity)
plugins: add before/after node callbacks
Port the environment abstraction (BaseEnvironment, ExecutionResult, LocalEnvironment) from adk-python
tools: FunctionTool require_confirmation — HITL approval (Part 7)
utils: enforce schemas declared in the genai dialect, not just Zod
workflow: add engine core — execution model, graph, and node registry (Part 2)
workflow: built-in Function and Tool nodes (Part 3)
workflow: drive workflows as nodes and remove WorkflowAgent
workflow: enforce a node's declared stateSchema
workflow: let ctx.runNode() take what edges take
workflow: LLM-agent-as-node, task mode, and node-as-tool (Part 6)
workflow: make isolationScope real by filtering LLM contents on it
workflow: ParallelWorker and JoinNode (Part 4)
workflow: record a failed node as a NodeErrorEvent
workflow: trace workflow and node execution with OpenTelemetry
workflow: workflow runner and public API (Part 5)
Bug Fixes
agents: bind a human-in-the-loop confirmation to the action it approves
agents: keep usage metadata from content-less streaming responses (#646) (2e58422), closes #645
agents: persist processLlmRequest state changes
agents: stop warning about transfer config the author never set (#746) (5860560), closes #725 #726
auth: bind a credential response to the request that asked for it
cli: keep one broken agent from killing the dev server; surface HITL prompts and errors in
adk rundev: stop an empty node response vanishing from the transcript (#765) (af3a821), closes #728
Encode and validate OpenAPI path parameters in RestApiTool
models: consult GOOGLE_API_KEY on the Gemini API path (#748) (60a3c67), closes #712
Resolve the browser export condition in core and integrations
runner: stop warning about workflow nodes when resuming
sessions: keep workflow event fields across the Agent Engine fallback path
sessions: redact connection-URI password in unsupported-URI errors
sessions: restore event round trip in VertexAiSessionService
sessions: send the agent-transfer action under the name the API defines
sessions: stop a late event commit rolling a state key back
skills: materialize script output into a dedicated dir, not process.cwd()
skills: preserve binary skill assets as Buffer
Skip identity preamble when agent transfer is disabled
telemetry: make a workflow's spans retrievable so its traces render
Three defects found bug-bashing the graph-workflow docs samples
workflow: apply node overrides to an already-built node
workflow: check a structured HITL reply against its responseSchema
workflow: don't replay a finished run on the next turn
workflow: emit the interrupt schema under the key clients read
workflow: fail a node that reports an error instead of throwing
workflow: hand the START node the user's text, attachment or not
workflow: keep a jittered retry delay inside maxDelay
workflow: let a child's pending interrupt hold its caller (#759) (8b43818), closes #734
workflow: let a resumed graph route back through a node it already ran
workflow: let an agent node converse and finish a confirmed tool call
workflow: let an item that asks the user pause the whole worker
workflow: let two route keys share a destination node (#763) (172ccb1), closes #740
workflow: match a retryable exception by its class name
workflow: record which nodes an output answers for
workflow: refuse a numeric custom runId whichever call comes first
workflow: refuse a reply that answers no open interrupt
workflow: refuse a runId that collides with an automatic one
workflow: report an aborted node as aborted, not timed out
workflow: resume a waiting parent on its original input
workflow: resume dynamic HITL children instead of livelocking
workflow: say which node failed, and when a route goes nowhere
workflow: stamp the invocation id on an event a node built itself (#747) (b339f75), closes #715
workflow: stop delivering a workflow's output as two events
workflow: stop duplicating a delegated output, and parse a structured reply
workflow: stop node state writes from being rolled back mid-run
workflow: stop re-running a dynamic node that already settled
workflow: stop reinterpreting a text reply the schema asked for as text (#761) (022fcc9), closes #737
workflow: unwind a caller past a dynamic child that paused or failed
Performance Improvements
core: make situational subsystems optional peers, 591 → 172 packages on install
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.