Packages

@google/adk

2.5.0 · 12 Nov 2026Apache-2.0449.1k / weekRepositoryHomepagenpmAtom feed

Your version

2.1.0

15 Sep 2026Where it was published

2.5.0 is the newest release of 2.x.

In short

1 security10 new1 faster37 fixed

  • Security

    a2a: harden agent-card resolution against SSRF and a silent file read

Release note

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

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.