Bumps the langchain group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@langchain/anthropic](https://github.com/langchain-ai/langchainjs) | `1.5.1` | `1.5.2` | | [@langchain/core](https://github.com/langchain-ai/langchainjs) | `1.2.3` | `1.2.4` | | [langchain](https://github.com/langchain-ai/langchainjs) | `1.5.3` | `1.5.4` | | [@langchain/quickjs](https://github.com/langchain-ai/deepagentsjs) | `0.6.0` | `1.0.0` | | [langsmith](https://github.com/langchain-ai/langsmith-sdk) | `0.8.4` | `0.8.9` | Updates `@langchain/anthropic` from 1.5.1 to 1.5.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/anthropic's releases</a>.</em></p> <blockquote> <h2><code>@langchain/anthropic</code><a href="https://github.com/1"><code>@1</code></a>.5.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11255">#11255</a> <a href="https://github.com/langchain-ai/langchainjs/commit/c8bd4c4a6dbde07fb24deb5870c02dc29c51ab53"><code>c8bd4c4</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - feat(anthropic): add claude-opus-5 support</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d829cb490112454b3cf8718a526f28450ff37062"><code>d829cb4</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11204">#11204</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c8bd4c4a6dbde07fb24deb5870c02dc29c51ab53"><code>c8bd4c4</code></a> feat(anthropic): add Claude Opus 5 support (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11255">#11255</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/741f380ae54afd2e920495b3042ea6346865836a"><code>741f380</code></a> chore(deps): bump <code>@hono/node-server</code> from 2.0.4 to 2.0.10 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11244">#11244</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/5103cee12ae0e3e56038f0c20edda5159b252daa"><code>5103cee</code></a> chore(deps): bump js-yaml from 5.1.0 to 5.2.2 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11256">#11256</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/db29a6a8060d9d8998f5fb566368e3bad5b32a5b"><code>db29a6a</code></a> chore(deps): bump axios from 1.16.1 to 1.18.0 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11228">#11228</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/3eeeb8ace227289625380dedf9e0fef3ce4ab466"><code>3eeeb8a</code></a> chore(deps-dev): bump typeorm from 1.0.0 to 1.1.0 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11247">#11247</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/ee76ea0347fb611153e5ec7d0e70fa405f5293a3"><code>ee76ea0</code></a> chore(deps): patch websocket-driver Dependabot advisories (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11213">#11213</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/e5d9de5df9e48a54cbcd95c6fc22a4ac8e78e155"><code>e5d9de5</code></a> fix(deps): resolve Dependabot security alerts (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11212">#11212</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/b7b5c525ddc3388e767474d3ad37cb9101424ff4"><code>b7b5c52</code></a> chore: add Socket optimized dependency overrides (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11205">#11205</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/a8cd4d9ae35ae8ae05e011115a351d976560ade9"><code>a8cd4d9</code></a> feat(langchain): add tool error middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11201">#11201</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/anthropic@1.5.1...@langchain/anthropic@1.5.2">compare view</a></li> </ul> </details> <br /> Updates `@langchain/core` from 1.2.3 to 1.2.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">@langchain/core's releases</a>.</em></p> <blockquote> <h2><code>@langchain/core</code><a href="https://github.com/1"><code>@1</code></a>.2.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11190">#11190</a> <a href="https://github.com/langchain-ai/langchainjs/commit/9654bde694af4e78080a76a0b39d7edd35683449"><code>9654bde</code></a> Thanks <a href="https://github.com/pawel-twardziak"><code>@pawel-twardziak</code></a>! - Coalesce nested LangChain tracer callbacks that share run bookkeeping.</p> </li> <li> <p><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11153">#11153</a> <a href="https://github.com/langchain-ai/langchainjs/commit/84ce6d65ef0ab2c556d5a5a3b5651b5cf3d73303"><code>84ce6d6</code></a> Thanks <a href="https://github.com/parveshsaini"><code>@parveshsaini</code></a>! - fix(core): bind splitText when trimMessages receives a TextSplitter instance</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/f6dbb882d1d4a591d69020145b6a871fe7801b35"><code>f6dbb88</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11268">#11268</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/9654bde694af4e78080a76a0b39d7edd35683449"><code>9654bde</code></a> fix(core): coalesce duplicate tracer copies sharing run state (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11190">#11190</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/84ce6d65ef0ab2c556d5a5a3b5651b5cf3d73303"><code>84ce6d6</code></a> fix(core): bind splitText when trimMessages receives a TextSplitter instance ...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/710d74f3fc0ff98d5088c8e0c86752829cfaaa2c"><code>710d74f</code></a> fix: resolve open Dependabot alerts (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11259">#11259</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/5226cddb0d0b31d33bb78fc51230e4283cd6cc64"><code>5226cdd</code></a> chore(deps-dev): bump <code>@hono/node-server</code> from 2.0.4 to 2.0.10 in /libs/langcha...</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d829cb490112454b3cf8718a526f28450ff37062"><code>d829cb4</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11204">#11204</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c8bd4c4a6dbde07fb24deb5870c02dc29c51ab53"><code>c8bd4c4</code></a> feat(anthropic): add Claude Opus 5 support (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11255">#11255</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/741f380ae54afd2e920495b3042ea6346865836a"><code>741f380</code></a> chore(deps): bump <code>@hono/node-server</code> from 2.0.4 to 2.0.10 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11244">#11244</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/5103cee12ae0e3e56038f0c20edda5159b252daa"><code>5103cee</code></a> chore(deps): bump js-yaml from 5.1.0 to 5.2.2 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11256">#11256</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/db29a6a8060d9d8998f5fb566368e3bad5b32a5b"><code>db29a6a</code></a> chore(deps): bump axios from 1.16.1 to 1.18.0 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11228">#11228</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/@langchain/core@1.2.3...@langchain/core@1.2.4">compare view</a></li> </ul> </details> <br /> Updates `langchain` from 1.5.3 to 1.5.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchainjs/releases">langchain's releases</a>.</em></p> <blockquote> <h2>langchain@1.5.4</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/langchain-ai/langchainjs/pull/11201">#11201</a> <a href="https://github.com/langchain-ai/langchainjs/commit/a8cd4d9ae35ae8ae05e011115a351d976560ade9"><code>a8cd4d9</code></a> Thanks <a href="https://github.com/hntrl"><code>@hntrl</code></a>! - feat(langchain): add middleware for handling tool execution errors</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchainjs/commit/d829cb490112454b3cf8718a526f28450ff37062"><code>d829cb4</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11204">#11204</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/c8bd4c4a6dbde07fb24deb5870c02dc29c51ab53"><code>c8bd4c4</code></a> feat(anthropic): add Claude Opus 5 support (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11255">#11255</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/741f380ae54afd2e920495b3042ea6346865836a"><code>741f380</code></a> chore(deps): bump <code>@hono/node-server</code> from 2.0.4 to 2.0.10 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11244">#11244</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/5103cee12ae0e3e56038f0c20edda5159b252daa"><code>5103cee</code></a> chore(deps): bump js-yaml from 5.1.0 to 5.2.2 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11256">#11256</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/db29a6a8060d9d8998f5fb566368e3bad5b32a5b"><code>db29a6a</code></a> chore(deps): bump axios from 1.16.1 to 1.18.0 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11228">#11228</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/3eeeb8ace227289625380dedf9e0fef3ce4ab466"><code>3eeeb8a</code></a> chore(deps-dev): bump typeorm from 1.0.0 to 1.1.0 (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11247">#11247</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/ee76ea0347fb611153e5ec7d0e70fa405f5293a3"><code>ee76ea0</code></a> chore(deps): patch websocket-driver Dependabot advisories (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11213">#11213</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/e5d9de5df9e48a54cbcd95c6fc22a4ac8e78e155"><code>e5d9de5</code></a> fix(deps): resolve Dependabot security alerts (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11212">#11212</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/b7b5c525ddc3388e767474d3ad37cb9101424ff4"><code>b7b5c52</code></a> chore: add Socket optimized dependency overrides (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11205">#11205</a>)</li> <li><a href="https://github.com/langchain-ai/langchainjs/commit/a8cd4d9ae35ae8ae05e011115a351d976560ade9"><code>a8cd4d9</code></a> feat(langchain): add tool error middleware (<a href="https://redirect.github.com/langchain-ai/langchainjs/issues/11201">#11201</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langchainjs/compare/langchain@1.5.3...langchain@1.5.4">compare view</a></li> </ul> </details> <br /> Updates `@langchain/quickjs` from 0.6.0 to 1.0.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/deepagentsjs/releases">@langchain/quickjs's releases</a>.</em></p> <blockquote> <h2><code>@langchain/quickjs</code><a href="https://github.com/1"><code>@1</code></a>.0.0</h2> <p>No release notes provided.</p> <h2><code>@langchain/quickjs</code><a href="https://github.com/1"><code>@1</code></a>.0.0-rc.0</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/langchain-ai/deepagentsjs/commit/d25097f78d0e66741da34e1d74551f3c19991126"><code>d25097f</code></a>, <a href="https://github.com/langchain-ai/deepagentsjs/commit/dd142fe4fc54c986d5bcf51211d9a839a427e931"><code>dd142fe</code></a>]: <ul> <li>deepagents@1.12.0-rc.0</li> </ul> </li> </ul> <h2><code>@langchain/quickjs</code><a href="https://github.com/1"><code>@1</code></a>.0.0-alpha.0</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/langchain-ai/deepagentsjs/commit/4faca20343089ee2d8ecaf4c8ad3b5f8fcf1e8f8"><code>4faca20</code></a> Thanks <a href="https://github.com/colifran"><code>@colifran</code></a>! - feat(deepagents): support multimodal files for backends</p> </li> <li> <p><a href="https://github.com/langchain-ai/deepagentsjs/commit/07800c04d56bf2b9cb8ed99f769fd199908fd589"><code>07800c0</code></a> Thanks <a href="https://github.com/colifran"><code>@colifran</code></a>! - chore(deepagents): refactor backend method names - lsInfo -> ls, grepRaw -> grep, globInfo -> glob</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/langchain-ai/deepagentsjs/commit/b1a2c8ddaef59f40aebe225cde458ce70d5fbdd3"><code>b1a2c8d</code></a>, <a href="https://github.com/langchain-ai/deepagentsjs/commit/bca71ed044edc438389a4ca19d81f43dabe01fa7"><code>bca71ed</code></a>, <a href="https://github.com/langchain-ai/deepagentsjs/commit/4faca20343089ee2d8ecaf4c8ad3b5f8fcf1e8f8"><code>4faca20</code></a>, <a href="https://github.com/langchain-ai/deepagentsjs/commit/07800c04d56bf2b9cb8ed99f769fd199908fd589"><code>07800c0</code></a>, <a href="https://github.com/langchain-ai/deepagentsjs/commit/6b76b39cfc6a87ccb034d6e27888f7f6f2f91b97"><code>6b76b39</code></a>]:</p> <ul> <li>deepagents@1.9.0-alpha.0</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/bed2d344bc815b5f550b35c6f1972f7a25fea603"><code>bed2d34</code></a> chore: version packages (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/712">#712</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/b17714892227a0dbc797cf932bb4cd9a7e6cf437"><code>b177148</code></a> chore: exit pre-release (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/711">#711</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/149f4585f1e5e9511ac40ab398c72bd13665fbe2"><code>149f458</code></a> chore: version packages (rc) (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/709">#709</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/79e4654efaafb156ea1c39d2d6c1e0d4c17152cb"><code>79e4654</code></a> fix(deps): resolve Dependabot alerts (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/710">#710</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/1225a7ff8673686c2a3c0411636a9511b7d8d0d0"><code>1225a7f</code></a> feat(deepagents): make todo middleware opt-in (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/708">#708</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/71000c0b705226c3730fb97c7215dfbb8a6141ed"><code>71000c0</code></a> build(deps): bump the minor-deps-updates-main group across 1 directory with 1...</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/24ea7fa8ac4f0dd3319a375b721ef8cfd7657f64"><code>24ea7fa</code></a> build(deps): bump the major-deps-updates-main group across 1 directory with 2...</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/0e6a35b647fb872753fc7d3132d9a3f5026e88db"><code>0e6a35b</code></a> fix(deno): extend reconnect readiness retry (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/706">#706</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/a55022dc2f4aa0d2701edcaebb39c33a67dd1df8"><code>a55022d</code></a> chore: version packages (rc) (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/699">#699</a>)</li> <li><a href="https://github.com/langchain-ai/deepagentsjs/commit/d25097f78d0e66741da34e1d74551f3c19991126"><code>d25097f</code></a> feat(deepagents): simplify prompting (<a href="https://redirect.github.com/langchain-ai/deepagentsjs/issues/703">#703</a>)</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/deepagentsjs/compare/@langchain/quickjs@0.6.0...@langchain/quickjs@1.0.0">compare view</a></li> </ul> </details> <br /> Updates `langsmith` from 0.8.4 to 0.8.9 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langsmith-sdk/releases">langsmith's releases</a>.</em></p> <blockquote> <h2>v0.8.9</h2> <h2>What's Changed</h2> <ul> <li>feat(sandbox): add JS Dockerfile snapshots by <a href="https://github.com/langchain-infra"><code>@langchain-infra</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2951">langchain-ai/langsmith-sdk#2951</a></li> <li>chore(deps-dev): bump the js-minor-and-patch group across 1 directory with 11 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2931">langchain-ai/langsmith-sdk#2931</a></li> <li>chore(deps): bump websockets from 15.0.1 to 16.0 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2811">langchain-ai/langsmith-sdk#2811</a></li> <li>chore(deps): update myst-parser requirement from >=3 to >=4.0.1 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2841">langchain-ai/langsmith-sdk#2841</a></li> <li>chore(deps): bump the py-minor-and-patch group across 1 directory with 19 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2934">langchain-ai/langsmith-sdk#2934</a></li> <li>chore(deps): bump typescript from 5.9.3 to 6.0.3 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2839">langchain-ai/langsmith-sdk#2839</a></li> <li>chore(deps-dev): bump google-adk from 1.10.0 to 2.1.0 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2960">langchain-ai/langsmith-sdk#2960</a></li> <li>chore(deps-dev): bump wrapt from 1.17.3 to 2.2.1 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2961">langchain-ai/langsmith-sdk#2961</a></li> <li>chore(deps-dev): bump the py-minor-and-patch group in /python with 6 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2958">langchain-ai/langsmith-sdk#2958</a></li> <li>chore(deps-dev): bump types-tqdm from 4.67.3.20260408 to 4.67.3.20260518 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2959">langchain-ai/langsmith-sdk#2959</a></li> <li>ci: add minimum workflow permissions by <a href="https://github.com/jkennedyvz"><code>@jkennedyvz</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2967">langchain-ai/langsmith-sdk#2967</a></li> <li>chore: update dependabot.yml to comply with posture checks by <a href="https://github.com/jkennedyvz"><code>@jkennedyvz</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2966">langchain-ai/langsmith-sdk#2966</a></li> <li>test(python): deflake test_tracing_queue_limit_drops_when_full by <a href="https://github.com/baskaryan"><code>@baskaryan</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2964">langchain-ai/langsmith-sdk#2964</a></li> <li>feat(sandbox): size the dockerfile-build sandbox via vcpus/mem_bytes (python) by <a href="https://github.com/langchain-infra"><code>@langchain-infra</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2979">langchain-ai/langsmith-sdk#2979</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.8...v0.8.9">https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.8...v0.8.9</a></p> <h2>v0.8.8</h2> <h2>What's Changed</h2> <ul> <li>fix(python): retry sandbox pool timeouts by <a href="https://github.com/baskaryan"><code>@baskaryan</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2953">langchain-ai/langsmith-sdk#2953</a></li> <li>fix(sandbox): build Dockerfile snapshots off /tmp by <a href="https://github.com/langchain-infra"><code>@langchain-infra</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2956">langchain-ai/langsmith-sdk#2956</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.7...v0.8.8">https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.7...v0.8.8</a></p> <h2>v0.8.7</h2> <h2>What's Changed</h2> <ul> <li>fix: reconnect sandbox command streams on EOF by <a href="https://github.com/ramon-langchain"><code>@ramon-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2941">langchain-ai/langsmith-sdk#2941</a></li> <li>feat(sandbox): build snapshots from Dockerfiles by <a href="https://github.com/langchain-infra"><code>@langchain-infra</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2950">langchain-ai/langsmith-sdk#2950</a></li> <li>fix(python): add organization id to context URLs by <a href="https://github.com/vishnu-ssuresh"><code>@vishnu-ssuresh</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2945">langchain-ai/langsmith-sdk#2945</a></li> <li>fix(js): add organization id to context URLs by <a href="https://github.com/vishnu-ssuresh"><code>@vishnu-ssuresh</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2946">langchain-ai/langsmith-sdk#2946</a></li> <li>release(py): 0.8.7 by <a href="https://github.com/ramon-langchain"><code>@ramon-langchain</code></a> in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2947">langchain-ai/langsmith-sdk#2947</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.6...v0.8.7">https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.6...v0.8.7</a></p> <h2>v0.8.6</h2> <h2>What's Changed</h2> <ul> <li>chore(deps-dev): bump <code>@google/genai</code> from 1.50.1 to 2.0.1 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2875">langchain-ai/langsmith-sdk#2875</a></li> <li>chore(deps): bump mako from 1.3.11 to 1.3.12 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2880">langchain-ai/langsmith-sdk#2880</a></li> <li>chore(deps): bump authlib from 1.6.11 to 1.6.12 in /python by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2888">langchain-ai/langsmith-sdk#2888</a></li> <li>chore(deps): bump hono from 4.12.15 to 4.12.18 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2894">langchain-ai/langsmith-sdk#2894</a></li> <li>chore(deps): bump fast-uri from 3.1.0 to 3.1.2 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2895">langchain-ai/langsmith-sdk#2895</a></li> <li>chore(deps-dev): bump <code>@anthropic-ai/sdk</code> from 0.94.0 to 0.95.0 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2881">langchain-ai/langsmith-sdk#2881</a></li> <li>chore(deps): bump postcss from 8.5.8 to 8.5.14 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2898">langchain-ai/langsmith-sdk#2898</a></li> <li>chore(deps): bump <code>@protobufjs/utf8</code> from 1.1.0 to 1.1.1 in /js/internal/environment_tests/test-exports-vite in the npm_and_yarn group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2908">langchain-ai/langsmith-sdk#2908</a></li> <li>chore(deps): bump hono from 4.12.18 to 4.12.19 in /js by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/langchain-ai/langsmith-sdk/pull/2909">langchain-ai/langsmith-sdk#2909</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/1eda04b4e86a93befecbd869aef6022e7f516837"><code>1eda04b</code></a> feat(sandbox): size the dockerfile-build sandbox via vcpus/mem_bytes (python)...</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/5960910cbe044dca6a0961f099577f41166f9601"><code>5960910</code></a> test(python): deflake test_tracing_queue_limit_drops_when_full (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2964">#2964</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/846d4c5b17580b86618bd9a1573759e19d0cf647"><code>846d4c5</code></a> chore: update dependabot.yml to comply with posture checks (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2966">#2966</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/48b66b3ccaa0d2a305ffd1656e18bd4297af019f"><code>48b66b3</code></a> ci: add minimum workflow permissions (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2967">#2967</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/d0a93ac8a2872cf2dc6f7cb7a17645b21816d9c7"><code>d0a93ac</code></a> chore(deps-dev): bump types-tqdm from 4.67.3.20260408 to 4.67.3.20260518 in /...</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/fc9ba745e3797950d0c97fce8d68c63c7915e60c"><code>fc9ba74</code></a> chore(deps-dev): bump the py-minor-and-patch group in /python with 6 updates ...</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/d54e69b689029994d23cb6876a8e87c6e64a3e79"><code>d54e69b</code></a> chore(deps-dev): bump wrapt from 1.17.3 to 2.2.1 in /python (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2961">#2961</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/1d212585b886f79130db74c6741240ab79fc62bd"><code>1d21258</code></a> chore(deps-dev): bump google-adk from 1.10.0 to 2.1.0 in /python (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2960">#2960</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/b66d791bfec699eb5fc26df1e81be8b9a6677c2c"><code>b66d791</code></a> chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /js (<a href="https://redirect.github.com/langchain-ai/langsmith-sdk/issues/2839">#2839</a>)</li> <li><a href="https://github.com/langchain-ai/langsmith-sdk/commit/a0f9eff836623cce60bdcabb2a33275d8ec741ee"><code>a0f9eff</code></a> chore(deps): bump the py-minor-and-patch group across 1 directory with 19 upd...</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langsmith-sdk/compare/v0.8.4...v0.8.9">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Christian Bromann <git@bromann.dev> Co-authored-by: John Kennedy <65985482+jkennedyvz@users.noreply.github.com>
In-Process Streaming Examples
Runnable examples demonstrating graph.streamEvents(..., { version: "v3" }) — the ergonomic in-process
streaming API for LangGraph.
Setup
# From the monorepo root
pnpm install
# Set your API key
export ANTHROPIC_API_KEY=sk-...
Examples
Each example is a self-contained script that can be run with npx tsx.
basic.ts — Protocol event iteration
The simplest starting point. Iterates all ProtocolEvent objects from a tool-calling
graph and awaits the final output.
npx tsx src/basic.ts
Shows: for await (const event of run), await run.output
messages.ts — Streaming text tokens
Demonstrates the .messages projection. Each yielded ChatModelStream exposes
.text as both an AsyncIterable<string> (for token-by-token streaming) and a
PromiseLike<string> (for the full text). Also shows .usage for token counts.
npx tsx src/messages.ts
Shows: run.messages, message.text, message.usage
subgraphs.ts — Recursive subgraph observation
A research pipeline with two sequential subgraphs (researcher → analyst). Shows three ways to observe the subgraph tree:
- Flat event stream — all events, dispatched by
event.method - Subgraph discovery —
run.subgraphsyieldsSubgraphRunStreamper child - Concurrent consumption — messages and subgraphs consumed in parallel
npx tsx src/subgraphs.ts
Shows: run.subgraphs, sub.messages, sub.name, sub.index, recursive walking
custom-reducer.ts — Domain-specific projections
Extends streamEvents(..., { version: "v3" }) with a custom StreamTransformer that counts tool calls and
tracks token usage. The transformer is passed via the transformers option; its
projections appear on run.extensions.
npx tsx src/custom-reducer.ts
Shows: StreamTransformer, graph.streamEvents(input, { version: "v3", transformers: [...] }), run.extensions
parallel.ts — Concurrent projection consumption
All projections on GraphRunStream share local stream channels, so
multiple for await loops can run concurrently without interference. This
example streams messages, counts state snapshots, and counts raw protocol
events in parallel via Promise.all.
npx tsx src/parallel.ts
Shows: Promise.all([run.messages, run.values, run]), independent cursors
human-in-the-loop.ts — Interrupt, inspect, resume
Demonstrates the streamEvents(..., { version: "v3" }) interrupt/resume lifecycle using a planner →
approval → executor graph. Turn 1 runs until interrupt() is called; the
example inspects run.interrupted and run.interrupts, then resumes with
Command({ resume }) in turn 2.
npx tsx src/human-in-the-loop.ts
Shows: interrupt(), run.interrupted, run.interrupts, Command({ resume }), multi-turn streamEvents(..., { version: "v3" })
a2a.ts — A2A protocol over a deployed server
End-to-end deployment example for custom stream transformers. The research
pipeline is compiled with an A2A transformer (createA2ATransformer) that emits
A2A-formatted status updates and artifacts. The graph is deployed via the
LangGraph dev server, and the SDK client subscribes to the custom channel
to receive only A2A events.
npx tsx src/a2a.ts
Shows: .compile({ transformers: [createA2ATransformer] }), streamStateV2(), SDK client.runs.stream(), streamMode: ["custom"]
Agents
The example agents live in src/agents/ and src/a2a/:
| Agent | File | Description |
|---|---|---|
| Simple tool graph | agents/simple-tool-graph.ts |
Single ReAct loop with search + calculator |
| Research pipeline | agents/research-pipeline.ts |
Two sequential subgraphs with separate tools |
| Approval graph | agents/approval-graph.ts |
Planner → human approval → executor with interrupt/resume |
| A2A research | a2a/agent.ts |
Research pipeline with A2A stream transformer at compile time |
API Surface
All examples use the GraphRunStream returned by
graph.streamEvents(..., { version: "v3" }):
const run = await graph.streamEvents(input, { ...options, version: "v3" });
// Iterate all protocol events
for await (const event of run) { ... }
// Stream AI messages with text/reasoning/usage projections
for await (const msg of run.messages) {
for await (const token of msg.text) { process.stdout.write(token); }
const fullText = await msg.text;
const usage = await msg.usage;
}
// Observe subgraphs recursively
for await (const sub of run.subgraphs) {
console.log(sub.name, sub.path);
for await (const msg of sub.messages) { ... }
}
// Final output
const state = await run.output;
// State snapshots per step
for await (const snapshot of run.values) { ... }
// Messages from a specific node
for await (const msg of run.messagesFrom("agent")) { ... }
// Custom transformers
const run = await graph.streamEvents(input, {
version: "v3",
transformers: [myTransformer],
});
const custom = await run.extensions.myProjection;
// Human-in-the-loop
const run1 = await graph.streamEvents(input, { ...config, version: "v3" });
for await (const msg of run1.messages) { ... }
await run1.output;
if (run1.interrupted) {
console.log(run1.interrupts);
const run2 = await graph.streamEvents(
new Command({ resume: userDecision }),
{ ...config, version: "v3" }
);
}
Coming Soon
Additional examples will be added for:
createAgent—AgentRunStreamwith typedrun.toolCallscreateDeepAgent—DeepAgentRunStreamwithrun.subagents- Cancellation —
run.abort(),AbortSignalpassthrough