@google/adk
2.5.0 · 12 Nov 2026Apache-2.0449.1k / weekRepositoryHomepagenpmAtom feed
29 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.5.0
12 Nov 2026- Security
server: prevent path traversal in loadDotenvForAgent and eval set routes
a2a: propagate trace context across A2A calls
cli: port adk-python v1.1.1 changes to cli
Features
a2a: propagate trace context across A2A calls
cli: port adk-python v1.1.1 changes to cli
cli: port adk-python v1.2.1 changes to cli
core: add agent and run error hooks and finalize aborted runs
core: add setIdProvider to control generated IDs
dev: support kebab-case CLI flags and command aliases
Port adk-python v1.1.1 changes to agents, auth, code_executors (+12 more)
Port adk-python v1.2.1 changes to models and sessions
telemetry: add MCP HTTP exchange records and per-run telemetry overrides
telemetry: continue Agent Engine request traces and record the support id
telemetry: emit the v2 span tree and GenAI log records
telemetry: export on the request path on Agent Runtime
telemetry: export traces, metrics and logs to telemetry.googleapis.com
telemetry: record ADK duration, token and totals metrics
tools: add computer use tool and toolset with a BaseComputer interface
tools: add sortByColumns support to Application Integration list operations
tools: keep supported schema formats and honor stdio MCP timeout
Bug Fixes
a2a: keep agent instructions out of the published A2A agent card
a2a: resume the matching peer task in mixed tool replies
a2a: stop attributing a remote peer's message to the local user
agents: fix AgentEngineClient wire protocol, SSE parsing, and optional aiplatform peer
agents: keep a tool's outputKey value when the final event has no text
agents: keep parallel tool responses when another call asks for confirmation
agents: leave thought parts out of the outputKey value
agents: prevent thought leaks and empty parts in convertForeignEvent
agents: skip function calls in partial events
agents: skip set_model_response in task mode and fix function call ID preservation
agents: treat Object.prototype names as missing state keys in instructions
artifacts: accept filenames starting with '..' in FileArtifactService
cli: harden tmp log setup, honor otel_to_cloud, and set failure exit codes
cli: keep the drive letter of an absolute Windows eval set path
code_executors: fix ContainerCodeExecutor container lifecycle and image build caching
context: retain nonadjacent tool call and response pairs
core: clarify OpenAPI OperationParser docstring helpers and error messages
core: combine duplicate header entries in mergeTrackingHeaders
core: guard null and prototype keys in failover_utils
core: invoke plugin beforeAgentCallback and afterAgentCallback
core: normalize artifact MIME types and use placeholders for binary instructions
core: order browser export condition and types in core/package.json
core: propagate partial flag in NlPlanningResponseProcessor
core: read environment variables safely in the browser
core: skip registered global providers in maybeSetOtelProviders
core: update LoadMemoryTool description and LoadMemoryResponse types
models: shallow-copy inlineData and fileData before stripping displayName
- Security
server: prevent path traversal in loadDotenvForAgent and eval set routes
sessions: fix DatabaseSessionService datetime precision, schema init, and StaleSessionError
sessions: keep temp: state in the session for the rest of the invocation
sessions: preserve empty user ID filters in database lists
skills: key nested skill resources by forward-slash paths on Windows
skills: run a skill script named without the scripts/ prefix
skills: validate frontmatter delimiters, empty mappings, and 0-byte zip files
telemetry: ignore blank error types and support numeric tool error codes
tools: pass the parent's current state to a reused AgentTool session
tools: serialize array and object fields in RestApiTool form bodies
tools: serialize OpenAPI path, header, and cookie parameters and omit null values
tools: validate GoogleApiToolset config, keep path schemas, and scope sample fetch
utils: keep schema constraints in the Gemini converter
workflow: handle thrown objects without constructors
workflow: stop storing a node's input as a user turn (#1169) (22a244e), closes #720
workflow: wait for the runner to store node events (adk-python parity)
2.4.0
28 Oct 2026agents: port adk-python v0.5.0 changes to agents
agents: port adk-python v1.0.0 changes to agents
cli: port adk-python v1.0.0 changes to cli
Features
agents: port adk-python v0.5.0 changes to agents
agents: port adk-python v1.0.0 changes to agents
cli: port adk-python v1.0.0 changes to cli
Ergonomic TypeScript client for remote Vertex AI Agent Engine
Port adk-python v0.2.0 changes to agents, auth, events (+7 more)
Port adk-python v0.3.0 changes to agents, auth, cli (+6 more)
Port adk-python v0.4.0 changes to agents, events, tools/openapi_tool
Port adk-python v0.5.0 changes to artifacts, auth, events (+7 more)
Port adk-python v1.0.0 changes to examples, runners, tools/apihub_tool (+1 more)
skills: throw typed errors from the skill loader
tools: port adk-python v0.2.0 changes to tools/google_api_tool
tools: port adk-python v0.3.0 changes to tools/application_integration_tool
tools: port adk-python v0.3.0 changes to tools/openapi_tool
tools: port adk-python v1.0.0 changes to tools
tools: port adk-python v1.0.0 changes to tools/application_integration_tool
tools: port adk-python v1.0.0 changes to tools/google_api_tool
Bug Fixes
agents: exclude foreign agent thought parts in convertForeignEvent
code-executors: define crop in the data-file helper
code-executors: isolate ContainerCodeExecutor state per session
core: call BaseToolset.processLlmRequest in LlmAgent
core: honor Gemini instance vertexai config in canUseOutputSchemaWithTools
core: inject the text of inlineData artifacts into instructions
core: mark rejected tasks done before await resumes
core: preserve repeated HTTP header values
core: remove orphaned fragment from onToolErrorCallback JSDoc
integrations: honor maxOutputTokens, set finishReason and sanitize tool ids on Claude
models: fail over synchronous delegate initialization errors
Resolve Windows CI port-exclusion EACCES and temp-dir EBUSY failures
sessions: reject a stale session in appendEvent instead of reloading it
skills: report a missing or non-directory path in validateSkillDir
skills: require a line of exactly --- as the SKILL.md frontmatter delimiter
telemetry: avoid duplicate tracer registration
telemetry: report tool error types on spans
tools: match adk-python's empty-object schema, OAuth2 exchange and object-body parsing in op...
tools: return full memory entries from LoadMemoryTool
tools: send array query parameters as repeated keys in RestApiTool
Performance Improvements
sessions: move stale-session event reload out of appendEvent's row lock
2.3.0
13 Oct 2026agents: port agents features from adk-python
auth: bring auth to parity with adk-python v0.1.0
cli: bring cli to parity with adk-python v0.1.0
Features
agents: port agents features from adk-python
auth: bring auth to parity with adk-python v0.1.0
cli: bring cli to parity with adk-python v0.1.0
events: reserve _adk_internal customMetadata keys for ADK (adk-python parity)
flows: bring flows to parity with adk-python v0.1.0
models: bring models to parity with adk-python v0.1.0 (Scott's foundry impl with task generation pipeline and one task for subsystem)
plugins: add DebugLoggingPlugin with full Python parity
plugins: add ToolCallIntegrityPlugin (adk-python parity)
runner: add opt-in autoCreateSession (adk-python parity)
sessions: bring sessions to parity with adk-python v0.1.0
telemetry: bring telemetry to parity with adk-python v0.1.0
tools: bring apihub_tool to parity with adk-python v0.1.0
tools: bring application_integration_tool to parity with adk-python v0.1.0
tools: bring google_api_tool to parity with adk-python v0.1.0
tools: bring mcp_tool to parity with adk-python v0.1.0
tools: bring tools to parity with adk-python v0.1.0
tools: validate ExampleTool examples at construction
Bug Fixes
artifacts: populate canonicalUri on in-memory artifact versions
code_executors: run client-side code by default and match adk-python output
core: consolidate the two extension to MIME type tables
core: convert JSON Schema boolean nodes to object schemas in toGeminiSchema
core: end call_llm span in finally when runAsync exits early
core: give VertexAiSessionService a null-prototype Session.state
core: keep ${...} and escaped braces in instructions as literal text
core: keep one event id across partial chunks of a streamed response
core: normalize tool responses before afterToolCallback runs
core: persist sandbox name in _code_execution_context state delta
core: prefer explicit appName over app.name in Runner
core: require HTTPS for implicit Google API auth
core: set llmRequest.model to selected route model in RoutedLlm
core: stop parent step loop after transfer_to_agent in SSE mode
core: use ^1.9.0 range for @opentelemetry/api
logger: map numeric levels to Winston names
models: forward abortSignal in RoutedLlm.generateContentAsync
models: respect explicit vertexai: false when enterprise env vars are set
Pin a fetched agent card's RPC url(s) to the origin it was fetched from
planners: keep all leading parallel function calls
Preserve falsy tool errors
runner: seal aborted invocations in session history
sessions: follow nextPageToken when listing events in VertexAiSessionService.getSession
utils: decode base64 as UTF-8 in the browser
2.2.1
6 Oct 2026events: reserve _adk_internal customMetadata keys for ADK (adk-python parity)
plugins: add ToolCallIntegrityPlugin (adk-python parity)
2.2.0
30 Sep 2026a2a: attach session metadata to the task, working and input-required events
a2a: publish the code-execution skill on the agent card
agents: add planner support to LlmAgent
Features
a2a: attach session metadata to the task, working and input-required events
a2a: publish the code-execution skill on the agent card
agents: add planner support to LlmAgent
core: add WebMCPToolset for Chrome WebMCP (document.modelContext) tools
core: export the logger facade from the @google/adk public API
mcp: send ADK tracking headers on MCP HTTP requests
memory: forward MemoryEntry.id as the Vertex memoryId and declare customMetadata
planners: port BasePlanner, BuiltInPlanner and PlanReActPlanner
tools: add tool_context module aliasing ToolContext to Context
tools: bring openapi_tool to parity with adk-python v0.1.0
Bug Fixes
artifacts: stop a nested artifact leaking versions into its parent
artifacts: stringify GcsArtifactService customMetadata values
code-executors: render an empty text part when a code execution result has no output
core: convert boolean branches in anyOf and type arrays to object schemas
core: drop no-unused-vars suppressions from BasePlugin default callbacks
core: exclude Gemini 3.5 Live Translate from Gemini 3.x Live routing (adk-python parity)
core: make safeStringify total in content_processor_utils
memory: keep tool and code execution events in Memory Bank writes
models: close the Chrome reply envelope, and never show it
models: emit one input transcription on Gemini 3.x Live
openapi: emit the body argument for a schema-less media type
openapi: scan every 2xx media type for the return schema
schema: drop a null member from an enum in toGeminiSchema
security: update adm-zip past vulnerable releases
skills: close the skill registry when the skill toolset closes
utils: inline reused Zod v3 sub-schemas in genai declarations
2.1.0
15 Sep 2026- Security
a2a: harden agent-card resolution against SSRF and a silent file read
Add ContainerCodeExecutor for Docker-sandboxed code execution
Add VertexAiRagMemoryService (Vertex AI RAG memory backend)
Features
Add ContainerCodeExecutor for Docker-sandboxed code execution
Add VertexAiRagMemoryService (Vertex AI RAG memory backend)
auth: emit a PKCE S256 code challenge on the OAuth2 authorization URI
core: export resetLogger from the @google/adk public API
models: add a Chrome Prompt API BaseLlm for the on-device model
plugins: add ReflectAndRetryToolPlugin and ReflectAndRetryModelPlugin for self-healing error recovery
Port the typed-errors module (errors/) from adk-python
Rethinking ForwardingArtifactService Interface (Part 2/2)
Rethinking ForwardingArtifactService Interface and Removing Unnecessary Parameters in ADK JS (Part 1/2)
tools: port the adk-python v0.1.0 retrieval tools
Bug Fixes
- Security
a2a: harden agent-card resolution against SSRF and a silent file read
a2a: propagate request metadata to agent execution
agent-registry: declare the synthesised card default modes as media types
agents: carry request-input resume inputs in their own type
Always emit an array for the OpenAPI argument schema required key
artifacts: list artifacts nested under another artifact
auth: redact OAuth2 authorization code from malformed-callback-URI log
auth: reject an empty credentialKey before storing the credential
build: make the web build loadable outside Node
Check every function response, not just the first, when resolving which agent to resume
Close two remaining author-blind confirmation-resolution paths
context: respect isolation scopes during compaction
core: configure VertexAiSessionService from environment for vertexai:// URIs
core: drop the unused @mikro-orm/reflection dependency and pin the DB-driver manifest contract
core: gracefully handle unregistered tool calls
core: keep winston out of the published browser build by splitting the logger by platform
core: load artifacts and MCP resources when other tools are call…
core: make built-in tools resolvable by name
core: make transfer and runtime tool confirmation work across runtimes
core: redact inline data payloads from the resumption debug event dump
core: render an empty code block when an executableCode part has no code
core: stop a surviving grandchild from hanging code execution (#793) (173462a), closes #622
core: type the live session mock in gemini_llm_connection_test
Drop the redundant ExtendedInteractionSSEEvent self-cast in the streaming loop
Make the web build bundle and run in a browser
memory: log the memory bank create and generate responses at debug
Name the searched app and user in the session not found error
Preserve EventActions when a long-running tool returns no response
Scrub credential material before forwarding to a remote A2A peer
sessions: handle Cloud SQL Unix socket connections
sessions: import Client from the @google-cloud/vertexai package root
sessions: store the event timestamp with sub-second precision on MySQL
telemetry: declare the discarded responseSchema binding instead of disabling the lint rule
telemetry: prune credential-bearing httpOptions from the traced request
tools: drop no-unused-vars suppressions in BaseToolset.processLlmRequest
tools: reject an unusable OpenAPI HTTP credential instead of sending an unauthenticated request
Type the load_mcp_resource LlmRequest fixtures instead of double-casting
utils: drop the unused zod value behind MCPToolSchema instead of disabling the lint rule
Performance Improvements
core: import MikroORM on first database use
2.0.0
21 Aug 2026- 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 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
- 1.x
1.6.0
6 Aug 2026Reading the note…
1.5.0
30 Jul 2026Reading the note…
1.4.0
21 Jul 2026Reading the note…
1.3.0
23 Jun 2026Reading the note…
1.2.0
3 Jun 2026Reading the note…
1.1.0
28 Apr 2026Reading the note…
1.0.0
21 Apr 2026Reading the note…
- 0.6.x
0.6.1
31 Mar 2026Reading the note…
0.6.0
25 Mar 2026Reading the note…
- 0.5.x
0.5.0
9 Mar 2026Reading the note…
- 0.4.x
0.4.0
25 Feb 2026Reading the note…
- 0.3.x
0.3.0
31 Jan 2026Reading the note…
- 0.2.x
0.2.5
29 Jan 2026Reading the note…
0.2.4
17 Jan 2026Reading the note…
0.2.3
15 Jan 2026Reading the note…
0.2.2
8 Jan 2026Reading the note…
0.2.1
17 Dec 2025Reading the note…
0.2.0
15 Dec 2025Reading the note…
- 0.1.x
0.1.3
5 Nov 2025Reading the note…
0.1.2
21 Oct 2025Reading the note…
0.1.1
15 Oct 2025Reading the note…
0.1.0
9 Oct 2025Reading the note…
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.