Repository navigation
Releases
Releases · google/adk-js
main: v2.5.0
2.5.0 (2026-11-12)
Features
- a2a: propagate trace context across A2A calls (#1226) (2f13a84)
- cli: port adk-python v1.1.1 changes to cli (#1194) (7abc99d)
- cli: port adk-python v1.2.1 changes to cli (#1236) (2ae8efb)
- cli: port adk-python v1.3.0 changes to cli (#1276) (e7ad559)
- core: add agent and run error hooks and finalize aborted runs (#1156) (c9ff7b7)
- core: add setIdProvider to control generated IDs (#1145) (f6da02f)
- dev: add --otel_to_cloud to deploy agent_engine (#1162) (0942574)
- dev: support kebab-case CLI flags and command aliases (#1290) (875f5d9)
- integrations: add AnthropicLlm for the Anthropic API and make Claude extend it (#1140) (53c6ba6)
- integrations: add BigQuery agent analytics plugin (#1134) (46d51d3)
- integrations: add BigQuery toolset to @google/adk-integrations (#1193) (d1afe11)
- integrations: add WriteMode and BigQueryToolConfig for BigQuery tools (#1292) (390b010)
- integrations: support extended thinking on Claude and skip thought and empty parts (#1160) (fb66257)
- port adk-python v1.1.1 changes to agents, auth, code_executors (+12 more) (#1190) (d22e6de)
- port adk-python v1.2.1 changes to models and sessions (#1196) (5678529)
- telemetry: add MCP HTTP exchange records and per-run telemetry overrides (#1171) (d48afb2)
- telemetry: continue Agent Engine request traces and record the support id (#1224) (4e79ff2)
- telemetry: emit the v2 span tree and GenAI log records (#1168) (e8ef65b)
- telemetry: export on the request path on Agent Runtime (#1222) (7234f6c)
- telemetry: export traces, metrics and logs to telemetry.googleapis.com (#1172) (eedc561)
- telemetry: record ADK duration, token and totals metrics (#1170) (842b96c)
- tools: add computer use tool and toolset with a BaseComputer interface (#1166) (7c2e81d)
- tools: add sortByColumns support to Application Integration list operations (#1235) (f4b5f3c)
- tools: keep supported schema formats and honor stdio MCP timeout (#1233) (75a77f3)
Bug Fixes
- a2a: keep agent instructions out of the published A2A agent card (#1255) (3c836eb)
- a2a: resume the matching peer task in mixed tool replies (#1230) (d9f971e)
- a2a: stop attributing a remote peer's message to the local user (#863) (5340a87)
- agents: fix AgentEngineClient wire protocol, SSE parsing, and optional aiplatform peer (#1271) (13912a9)
- agents: keep a tool's outputKey value when the final event has no text (#1206) (76b05dc)
- agents: keep parallel tool responses when another call asks for confirmation (#1244) (53f5861)
- agents: leave thought parts out of the outputKey value (#1205) (02e080f)
- agents: prevent thought leaks and empty parts in convertForeignEvent (#1267) (5dd7c08)
- agents: skip function calls in partial events (#1228) (41d4f03)
- agents: skip set_model_response in task mode and fix function call ID preservation (#1280) (e258ee7)
- agents: treat Object.prototype names as missing state keys in instructions (#1252) (d98ee13)
- artifacts: accept filenames starting with '..' in FileArtifactService (#1189) (06bc140)
- build: map @google/adk-devtools in tsconfig and await test server port (#1277) (e705a2b)
- cli: harden tmp log setup, honor otel_to_cloud, and set failure exit codes (#1269) (f35fb46)
- cli: keep the drive letter of an absolute Windows eval set path (#1239) (144efc5)
- cli: pin adk-devtools in deploy images to the CLI's version, overridable with --adk_version (#1215) (1604bda)
- cli: preserve Agent Engine scaling on update and fix agent staging in deploy_utils (#1266) (25be897)
- code_executors: fix ContainerCodeExecutor container lifecycle and image build caching (#1268) (e004394)
- context: retain nonadjacent tool call and response pairs (#1152) (99dc7df)
- core: clarify OpenAPI OperationParser docstring helpers and error messages (#1289) (68b4173)
- core: combine duplicate header entries in mergeTrackingHeaders (#1283) ([203e1f8](ht...
integrations: v2.5.0
2.5.0 (2026-11-12)
Features
- integrations: add AnthropicLlm for the Anthropic API and make Claude extend it (#1140) (53c6ba6)
- integrations: add BigQuery agent analytics plugin (#1134) (46d51d3)
- integrations: add BigQuery toolset to @google/adk-integrations (#1193) (d1afe11)
- integrations: add WriteMode and BigQueryToolConfig for BigQuery tools (#1292) (390b010)
- integrations: support extended thinking on Claude and skip thought and empty parts (#1160) (fb66257)
- port adk-python v1.1.1 changes to agents, auth, code_executors (+12 more) (#1190) (d22e6de)
- port adk-python v1.2.1 changes to models and sessions (#1196) (5678529)
Bug Fixes
- core: invoke plugin beforeAgentCallback and afterAgentCallback (#1137) (2fea9df)
- integrations: fix LangchainTool and CrewaiTool type compatibility and schema handling (#1273) (263cc0e)
- integrations: order browser export condition and types in package.json (#1265) (059a9f3)
- workflow: wait for the runner to store node events (adk-python parity) (#978) (a25cd30)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @google/adk bumped from ^2.4.0 to ^2.5.0
- dependencies
devtools: v2.5.0
2.5.0 (2026-11-12)
Features
- cli: port adk-python v1.1.1 changes to cli (#1194) (7abc99d)
- cli: port adk-python v1.2.1 changes to cli (#1236) (2ae8efb)
- cli: port adk-python v1.3.0 changes to cli (#1276) (e7ad559)
- dev: add --otel_to_cloud to deploy agent_engine (#1162) (0942574)
- dev: support kebab-case CLI flags and command aliases (#1290) (875f5d9)
- telemetry: continue Agent Engine request traces and record the support id (#1224) (4e79ff2)
- telemetry: emit the v2 span tree and GenAI log records (#1168) (e8ef65b)
- telemetry: export on the request path on Agent Runtime (#1222) (7234f6c)
- telemetry: export traces, metrics and logs to telemetry.googleapis.com (#1172) (eedc561)
Bug Fixes
- agents: fix AgentEngineClient wire protocol, SSE parsing, and optional aiplatform peer (#1271) (13912a9)
- build: map @google/adk-devtools in tsconfig and await test server port (#1277) (e705a2b)
- cli: harden tmp log setup, honor otel_to_cloud, and set failure exit codes (#1269) (f35fb46)
- cli: pin adk-devtools in deploy images to the CLI's version, overridable with --adk_version (#1215) (1604bda)
- cli: preserve Agent Engine scaling on update and fix agent staging in deploy_utils (#1266) (25be897)
- dev: retain agent bundles while in use during watch invalidation (#1008) (25359ab)
- server: prevent path traversal in loadDotenvForAgent and eval set routes (#1264) (f6723b8)
- server: reject non-object JSON and handle stream errors on reasoning_engine (#1285) (cdcaf15)
- workflow: wait for the runner to store node events (adk-python parity) (#978) (a25cd30)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @google/adk bumped from ^2.4.0 to ^2.5.0
- dependencies
adk: v2.5.0
2.5.0 (2026-11-12)
Features
- a2a: propagate trace context across A2A calls (#1226) (2f13a84)
- cli: port adk-python v1.1.1 changes to cli (#1194) (7abc99d)
- cli: port adk-python v1.2.1 changes to cli (#1236) (2ae8efb)
- core: add agent and run error hooks and finalize aborted runs (#1156) (c9ff7b7)
- core: add setIdProvider to control generated IDs (#1145) (f6da02f)
- dev: support kebab-case CLI flags and command aliases (#1290) (875f5d9)
- port adk-python v1.1.1 changes to agents, auth, code_executors (+12 more) (#1190) (d22e6de)
- port adk-python v1.2.1 changes to models and sessions (#1196) (5678529)
- telemetry: add MCP HTTP exchange records and per-run telemetry overrides (#1171) (d48afb2)
- telemetry: continue Agent Engine request traces and record the support id (#1224) (4e79ff2)
- telemetry: emit the v2 span tree and GenAI log records (#1168) (e8ef65b)
- telemetry: export on the request path on Agent Runtime (#1222) (7234f6c)
- telemetry: export traces, metrics and logs to telemetry.googleapis.com (#1172) (eedc561)
- telemetry: record ADK duration, token and totals metrics (#1170) (842b96c)
- tools: add computer use tool and toolset with a BaseComputer interface (#1166) (7c2e81d)
- tools: add sortByColumns support to Application Integration list operations (#1235) (f4b5f3c)
- tools: keep supported schema formats and honor stdio MCP timeout (#1233) (75a77f3)
Bug Fixes
- a2a: keep agent instructions out of the published A2A agent card (#1255) (3c836eb)
- a2a: resume the matching peer task in mixed tool replies (#1230) (d9f971e)
- a2a: stop attributing a remote peer's message to the local user (#863) (5340a87)
- agents: fix AgentEngineClient wire protocol, SSE parsing, and optional aiplatform peer (#1271) (13912a9)
- agents: keep a tool's outputKey value when the final event has no text (#1206) (76b05dc)
- agents: keep parallel tool responses when another call asks for confirmation (#1244) (53f5861)
- agents: leave thought parts out of the outputKey value (#1205) (02e080f)
- agents: prevent thought leaks and empty parts in convertForeignEvent (#1267) (5dd7c08)
- agents: skip function calls in partial events (#1228) (41d4f03)
- agents: skip set_model_response in task mode and fix function call ID preservation (#1280) (e258ee7)
- agents: treat Object.prototype names as missing state keys in instructions (#1252) (d98ee13)
- artifacts: accept filenames starting with '..' in FileArtifactService (#1189) (06bc140)
- cli: harden tmp log setup, honor otel_to_cloud, and set failure exit codes (#1269) (f35fb46)
- cli: keep the drive letter of an absolute Windows eval set path (#1239) (144efc5)
- code_executors: fix ContainerCodeExecutor container lifecycle and image build caching (#1268) (e004394)
- context: retain nonadjacent tool call and response pairs (#1152) (99dc7df)
- core: clarify OpenAPI OperationParser docstring helpers and error messages (#1289) (68b4173)
- core: combine duplicate header entries in mergeTrackingHeaders (#1283) (203e1f8)
- core: guard null and prototype keys in failover_utils (#1281) (9230e51)
- core: invoke plugin beforeAgentCallback and afterAgentCallback (#1137) (2fea9df)
- core: normalize artifact MIME types and use placeholders for binary instructions (#1282) (915dbe2)
- core: order browser export condition and types in core/package.json (#1274) (8c0bb43)
- core: propagate partial flag in NlPlanningResponseProcessor (#1286) (de7f94b)
- core: read environment variables safely in the browser (#1186) (7595ed5)
- core: skip registered global providers in maybeSetOtelProviders (#1291) (a839a9a)
- core: update LoadMemoryTool description and LoadMemoryResponse types (#1288) (c7eb73f)
- models: shallow-copy inlineData and fileData before stripping displayName (#1275) (6ac2ad2)
- server: prevent path traversal in loadDotenvForAgent and eval set routes (#1264) ([f6723b8](https://github.com/google...
main: v2.4.0
2.4.0 (2026-10-28)
Features
- agents: port adk-python v0.5.0 changes to agents (#1104) (0b905df)
- agents: port adk-python v1.0.0 changes to agents (#1109) (c33d2de)
- cli: port adk-python v1.0.0 changes to cli (#1123) (bb9a49a)
- dev: serve a sample's README.md to the web UI (#853) (a10c58e)
- devtools: export version from the @google/adk-devtools entry point (#1098) (adc9b61)
- Ergonomic TypeScript client for remote Vertex AI Agent Engine (#522) (0f28dc9)
- integrations: add the Claude model on Vertex AI (#1125) (f882b34)
- port adk-python v0.2.0 changes to agents, auth, events (+7 more) (#1080) (c5578bb)
- port adk-python v0.3.0 changes to agents, auth, cli (+6 more) (#1091) (0eb3ac5)
- port adk-python v0.4.0 changes to agents, events, tools/openapi_tool (#1100) (218b77f)
- port adk-python v0.5.0 changes to artifacts, auth, events (+7 more) (#1102) (593c451)
- port adk-python v1.0.0 changes to examples, runners, tools/apihub_tool (+1 more) (#1112) (687a201)
- skills: throw typed errors from the skill loader (#1129) (d3bf84d)
- tools: port adk-python v0.2.0 changes to tools/google_api_tool (#1079) (3cab273)
- tools: port adk-python v0.3.0 changes to tools/application_integration_tool (#1099) (7e8880a)
- tools: port adk-python v0.3.0 changes to tools/openapi_tool (#1093) (a0a04cc)
- tools: port adk-python v1.0.0 changes to tools (#1108) (f9ffb18)
- tools: port adk-python v1.0.0 changes to tools/application_integration_tool (#1122) (70944fe)
- tools: port adk-python v1.0.0 changes to tools/google_api_tool (#1113) (53d885e)
Bug Fixes
- agents: exclude foreign agent thought parts in convertForeignEvent (#1045) (17fc8e1)
- cli: pin the generated Dockerfile to Node 24 (#1075) (ccaee44)
- code-executors: define crop in the data-file helper (#994) (934d6bf)
- code-executors: isolate ContainerCodeExecutor state per session (#887) (7303749)
- core: call BaseToolset.processLlmRequest in LlmAgent (#1033) (#1083) (54dde37)
- core: honor Gemini instance vertexai config in canUseOutputSchemaWithTools (#1103) (#1106) (36b6f91)
- core: inject the text of inlineData artifacts into instructions (#1116) (dc02f45)
- core: mark rejected tasks done before await resumes (#995) (e667745)
- core: preserve repeated HTTP header values (#970) (910ad9f)
- core: remove orphaned fragment from onToolErrorCallback JSDoc (#1019) (48e5423)
- deploy: stop double-bundling the deployed agent in agent_engine/cloud_run images (#909) (0713105)
- deploy: stop echoing the rejected value in the Dockerfile newline error (#1096) (be51de9)
- dev: import Client from the @google-cloud/vertexai root in the Agent Engine deploy CLI (#1056) (afb7aca)
- dev: preserve workflow node names in bundled agents (#1149) (2a65dc1)
- dev: stop logging request headers and bodies on /api/reasoning_engine (#1163) (3a7af47)
- integrations: honor maxOutputTokens, set finishReason and sanitize tool ids on Claude (#1139) (cfb4764)
- models: fail over synchronous delegate initialization errors (#1153) (31b3500)
- preserve server-managed deployment spec fields on agent_engine update (#1159) (0515f7c)
- resolve the exit_loop built-in tool in YAML agent configs (#572) (fa62265)
- resolve Windows CI port-exclusion EACCES and temp-dir EBUSY failures (#1071) (ecfe257)
- sessions: reject a stale session in appendEvent instead of reloading it (#1182) (1b7d94f)
- skills: report a missing or non-directory path in validateSkillDir (#1086) (9da07da)
- skills: require a line of exactly --- as the SKILL.md frontmatter delimiter (#1136) (05739b5)
- telemetry: avoid duplicate tracer registration (#1082) (120c282)
- telemetry: report tool error types on spans (#956) (b255d60)
- test: run the unit:integrations vitest project from the root scripts (#1157) ([eed3147](eed3147...
integrations: v2.4.0
devtools: v2.4.0
2.4.0 (2026-10-28)
Features
- dev: serve a sample's README.md to the web UI (#853) (a10c58e)
- devtools: export version from the @google/adk-devtools entry point (#1098) (adc9b61)
- port adk-python v0.3.0 changes to agents, auth, cli (+6 more) (#1091) (0eb3ac5)
Bug Fixes
- cli: pin the generated Dockerfile to Node 24 (#1075) (ccaee44)
- deploy: stop double-bundling the deployed agent in agent_engine/cloud_run images (#909) (0713105)
- deploy: stop echoing the rejected value in the Dockerfile newline error (#1096) (be51de9)
- dev: import Client from the @google-cloud/vertexai root in the Agent Engine deploy CLI (#1056) (afb7aca)
- dev: preserve workflow node names in bundled agents (#1149) (2a65dc1)
- dev: stop logging request headers and bodies on /api/reasoning_engine (#1163) (3a7af47)
- preserve server-managed deployment spec fields on agent_engine update (#1159) (0515f7c)
- resolve the exit_loop built-in tool in YAML agent configs (#572) (fa62265)
- resolve Windows CI port-exclusion EACCES and temp-dir EBUSY failures (#1071) (ecfe257)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @google/adk bumped from ^2.3.0 to ^2.4.0
- dependencies
adk: v2.4.0
2.4.0 (2026-10-28)
Features
- agents: port adk-python v0.5.0 changes to agents (#1104) (0b905df)
- agents: port adk-python v1.0.0 changes to agents (#1109) (c33d2de)
- cli: port adk-python v1.0.0 changes to cli (#1123) (bb9a49a)
- Ergonomic TypeScript client for remote Vertex AI Agent Engine (#522) (0f28dc9)
- port adk-python v0.2.0 changes to agents, auth, events (+7 more) (#1080) (c5578bb)
- port adk-python v0.3.0 changes to agents, auth, cli (+6 more) (#1091) (0eb3ac5)
- port adk-python v0.4.0 changes to agents, events, tools/openapi_tool (#1100) (218b77f)
- port adk-python v0.5.0 changes to artifacts, auth, events (+7 more) (#1102) (593c451)
- port adk-python v1.0.0 changes to examples, runners, tools/apihub_tool (+1 more) (#1112) (687a201)
- skills: throw typed errors from the skill loader (#1129) (d3bf84d)
- tools: port adk-python v0.2.0 changes to tools/google_api_tool (#1079) (3cab273)
- tools: port adk-python v0.3.0 changes to tools/application_integration_tool (#1099) (7e8880a)
- tools: port adk-python v0.3.0 changes to tools/openapi_tool (#1093) (a0a04cc)
- tools: port adk-python v1.0.0 changes to tools (#1108) (f9ffb18)
- tools: port adk-python v1.0.0 changes to tools/application_integration_tool (#1122) (70944fe)
- tools: port adk-python v1.0.0 changes to tools/google_api_tool (#1113) (53d885e)
Bug Fixes
- agents: exclude foreign agent thought parts in convertForeignEvent (#1045) (17fc8e1)
- code-executors: define crop in the data-file helper (#994) (934d6bf)
- code-executors: isolate ContainerCodeExecutor state per session (#887) (7303749)
- core: call BaseToolset.processLlmRequest in LlmAgent (#1033) (#1083) (54dde37)
- core: honor Gemini instance vertexai config in canUseOutputSchemaWithTools (#1103) (#1106) (36b6f91)
- core: inject the text of inlineData artifacts into instructions (#1116) (dc02f45)
- core: mark rejected tasks done before await resumes (#995) (e667745)
- core: preserve repeated HTTP header values (#970) (910ad9f)
- core: remove orphaned fragment from onToolErrorCallback JSDoc (#1019) (48e5423)
- integrations: honor maxOutputTokens, set finishReason and sanitize tool ids on Claude (#1139) (cfb4764)
- models: fail over synchronous delegate initialization errors (#1153) (31b3500)
- resolve Windows CI port-exclusion EACCES and temp-dir EBUSY failures (#1071) (ecfe257)
- sessions: reject a stale session in appendEvent instead of reloading it (#1182) (1b7d94f)
- skills: report a missing or non-directory path in validateSkillDir (#1086) (9da07da)
- skills: require a line of exactly --- as the SKILL.md frontmatter delimiter (#1136) (05739b5)
- telemetry: avoid duplicate tracer registration (#1082) (120c282)
- telemetry: report tool error types on spans (#956) (b255d60)
- tools: match adk-python's empty-object schema, OAuth2 exchange and object-body parsing in op... (#1181) (0a96b46)
- tools: return full memory entries from LoadMemoryTool (#1177) (0607350)
- tools: send array query parameters as repeated keys in RestApiTool (#1135) (f799919)
Performance Improvements
main: v2.3.0
2.3.0 (2026-10-13)
Features
- agents: port agents features from adk-python (#1070) (31a56e8)
- auth: bring auth to parity with adk-python v0.1.0 (#1013) (4cefafc)
- cli: bring cli to parity with adk-python v0.1.0 (#1049) (ecb6bd1)
- dev: accept customMetadata on the API server run endpoints (#964) (b3e3d2f)
- events: reserve _adk_internal customMetadata keys for ADK (adk-python parity) (#977) (2dc6f47)
- flows: bring flows to parity with adk-python v0.1.0 (#1048) (94b547b)
- models: bring models to parity with adk-python v0.1.0 (Scott's foundry impl with task generation pipeline and one task for subsystem) (#981) (03206c8)
- plugins: add DebugLoggingPlugin with full Python parity (#920) (6482917)
- plugins: add ToolCallIntegrityPlugin (adk-python parity) (#979) (d7b6f04)
- runner: add opt-in autoCreateSession (adk-python parity) (#967) (5ad45af)
- runners: bring runners to parity with adk-python v0.1.0 (#1007) (22f3bf9)
- samples: add a rerunOnResume human-input workflow sample (#973) (d5d130d)
- sessions: bring sessions to parity with adk-python v0.1.0 (#1004) (a4e3cb5)
- telemetry: bring telemetry to parity with adk-python v0.1.0 (#963) (4395fad)
- tools: bring apihub_tool to parity with adk-python v0.1.0 (#1015) (0e78193)
- tools: bring application_integration_tool to parity with adk-python v0.1.0 (#1016) (d315993)
- tools: bring google_api_tool to parity with adk-python v0.1.0 (#1014) (ef1b383)
- tools: bring mcp_tool to parity with adk-python v0.1.0 (#1047) (6362192)
- tools: bring tools to parity with adk-python v0.1.0 (#1046) (e4bb8ee)
- tools: validate ExampleTool examples at construction (#968) (46c6feb)
Bug Fixes
- artifacts: populate canonicalUri on in-memory artifact versions (#966) (8657909)
- code_executors: run client-side code by default and match adk-python output (#1003) (9839754)
- core: consolidate the two extension to MIME type tables (#972) (6c52d29)
- core: convert JSON Schema boolean nodes to object schemas in toGeminiSchema (#937) (5d13f15)
- core: end call_llm span in finally when runAsync exits early (#1068) (966d49c)
- core: give VertexAiSessionService a null-prototype Session.state (#971) (31dc067)
- core: keep ${...} and escaped braces in instructions as literal text (#959) (ebf94c6)
- core: keep one event id across partial chunks of a streamed response (#1042) (#1069) (5e31749)
- core: normalize tool responses before afterToolCallback runs (#1035) (#1061) (43ba911)
- core: persist sandbox name in _code_execution_context state delta (#1039) (#1065) (3700444)
- core: prefer explicit appName over app.name in Runner (#1040) (#1066) (67ea8a6)
- core: require HTTPS for implicit Google API auth (#952) (98cb542)
- core: set llmRequest.model to selected route model in RoutedLlm (#1062) (5e7af7e)
- core: stop parent step loop after transfer_to_agent in SSE mode (#1063) (f42e5c2)
- core: use ^1.9.0 range for @opentelemetry/api (#1041) (#1067) (47fadc9)
- dev: install the cli_create console spies per test (#1028) (14c9c3d)
- dev: match adk-python's agent-graph cluster label, outline and edge color (#974) (937f2da)
- dev: validate replay input before running agent (#954) (d5ab177)
- logger: map numeric levels to Winston names (#960) (e894d35)
- models: forward abortSignal in RoutedLlm.generateContentAsync (#1038) (#1064) (8efe0fe)
- models: respect explicit vertexai: false when enterprise env vars are set (#1044) (ce75d16)
- pin a fetched agent card's RPC url(s) to the origin it was fetched from (#829) (8429fce)
- planners: keep all leading parallel function calls (#991) (f744748)
- preserve falsy tool errors (#957) (4f21d6f)
- runner: seal aborted invocations in session histo...
integrations: v2.3.0
2.3.0 (2026-10-13)
Miscellaneous Chores
- integrations: Synchronize adk versions
Dependencies
- The following workspace dependencies were updated
- dependencies
- @google/adk bumped from ^2.2.0 to ^2.3.0
- dependencies