Bumps the major group with 1 update in the /libs/standard-tests directory: [pytest-codspeed](https://github.com/CodSpeedHQ/pytest-codspeed). Bumps the major group with 1 update in the /libs/text-splitters directory: [sentence-transformers](https://github.com/huggingface/sentence-transformers). Updates `pytest-codspeed` from 4.3.0 to 5.0.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/CodSpeedHQ/pytest-codspeed/releases">pytest-codspeed's releases</a>.</em></p> <blockquote> <h2>v5.0.3</h2> <h2>What's Changed</h2> <ul> <li>chore: move callgrind skip obj API to instrument-hooks by <a href="https://github.com/not-matthias"><code>@not-matthias</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/123">CodSpeedHQ/pytest-codspeed#123</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.2...v5.0.3">https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.2...v5.0.3</a></p> <h2>v5.0.2</h2> <h2>What's Changed</h2> <ul> <li>feat: skip Python runtime objects in callgrind by <a href="https://github.com/not-matthias"><code>@not-matthias</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/122">CodSpeedHQ/pytest-codspeed#122</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.1...v5.0.2">https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.1...v5.0.2</a></p> <h2>v5.0.1</h2> <h2>What's Changed</h2> <ul> <li>build: enable free-threaded wheels in cibuildwheel by <a href="https://github.com/art049"><code>@art049</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/121">CodSpeedHQ/pytest-codspeed#121</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.0...v5.0.1">https://github.com/CodSpeedHQ/pytest-codspeed/compare/v5.0.0...v5.0.1</a></p> <h2>v5.0.0</h2> <h2>Highlights</h2> <p>MacOS walltime profiling is now available with the <a href="https://github.com/CodSpeedHQ/codspeed/releases/tag/v4.16.1">codspeed cli v4.16.1</a> and above.</p> <p><code>pytest-codspeed</code> can now be used in free threaded mode. This has been tested with 3.14t and 3.15t. For this, we have dropped usage of <code>cffi</code> in favor of the native extension support.</p> <h2>What's Changed</h2> <ul> <li>chore: bump instrument-hooks by <a href="https://github.com/not-matthias"><code>@not-matthias</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/119">CodSpeedHQ/pytest-codspeed#119</a></li> <li>Remove CFFI in favor of native extension to support free-threaded mode by <a href="https://github.com/adriencaccia"><code>@adriencaccia</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/96">CodSpeedHQ/pytest-codspeed#96</a></li> <li>feat(hooks): declare native extension free-thread safe by <a href="https://github.com/art049"><code>@art049</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/120">CodSpeedHQ/pytest-codspeed#120</a></li> <li>feat: use instrument-hook markers in walltime by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/118">CodSpeedHQ/pytest-codspeed#118</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.5.0...v5.0.0">https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.5.0...v5.0.0</a></p> <h2>v4.5.0</h2> <h2>What's Changed</h2> <p>This release adds first support for macOS walltime.</p> <p>Please note that profiling and other instruments are not yet available on macOS and will come in a later update.</p> <ul> <li>Support macos walltime without profiling in pytest-codspeed by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/117">CodSpeedHQ/pytest-codspeed#117</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.4.0...v4.5.0">https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.4.0...v4.5.0</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/CodSpeedHQ/pytest-codspeed/blob/master/CHANGELOG.md">pytest-codspeed's changelog</a>.</em></p> <blockquote> <h2>[5.0.3] - 2026-05-22</h2> <h3><!-- raw HTML omitted -->🏗️ Refactor</h3> <ul> <li>Use instrument_hooks_callgrind_add_obj_skip from C API by <a href="https://github.com/not-matthias"><code>@not-matthias</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/123">#123</a></li> </ul> <h2>[5.0.2] - 2026-05-14</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Skip Python runtime objects in callgrind by <a href="https://github.com/not-matthias"><code>@not-matthias</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/122">#122</a></li> </ul> <h2>[5.0.1] - 2026-05-13</h2> <h3><!-- raw HTML omitted -->💼 Other</h3> <ul> <li>Enable free-threaded wheels in cibuildwheel (<a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/issues/121">#121</a>) by <a href="https://github.com/art049"><code>@art049</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/121">#121</a></li> </ul> <h2>[5.0.0] - 2026-05-13</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Use instrument_hooks markers in walltime by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a></li> <li>Declare native extension free-thread safe (<a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/issues/120">#120</a>) by <a href="https://github.com/art049"><code>@art049</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/120">#120</a></li> <li>Remove cffi in favor of native extension by <a href="https://github.com/adriencaccia"><code>@adriencaccia</code></a></li> </ul> <h3><!-- raw HTML omitted -->⚡ Performance</h3> <ul> <li>Bind callgrind start/stop directly to avoid extra frame by <a href="https://github.com/art049"><code>@art049</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/96">#96</a></li> </ul> <h3><!-- raw HTML omitted -->⚙️ Internals</h3> <ul> <li>Ignore common compilation warnings for instrument-hooks by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/118">#118</a></li> <li>Use unsigned bash in the macos test by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a></li> <li>Bump pinned uv version to 0.11.14 by <a href="https://github.com/art049"><code>@art049</code></a></li> <li>Add python 3.15 and 3.15t to test matrix by <a href="https://github.com/art049"><code>@art049</code></a></li> <li>Add 3.14.t in test suite by <a href="https://github.com/adriencaccia"><code>@adriencaccia</code></a></li> <li>Bump instrument-hooks (<a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/issues/119">#119</a>) by <a href="https://github.com/not-matthias"><code>@not-matthias</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/119">#119</a></li> </ul> <h2>[4.5.0] - 2026-04-28</h2> <h3><!-- raw HTML omitted -->⚙️ Internals</h3> <ul> <li>Pre-build macos binary by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/117">#117</a></li> <li>Bump instrument-hooks submodule to use int32_t as pid by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a></li> <li>Add macos integration test by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a></li> </ul> <h2>[4.4.0] - 2026-04-14</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Collect Python toolchain information via instrument hooks environment API by <a href="https://github.com/GuillaumeLagrange"><code>@GuillaumeLagrange</code></a> in <a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/pull/108">#108</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/b2d12d8e96704c82b449d8668818a754ede45c66"><code>b2d12d8</code></a> Release v5.0.3 🚀</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/31447b7b6fba4ff9a5bdf5c0d046b7d8936cab5c"><code>31447b7</code></a> refactor: use instrument_hooks_callgrind_add_obj_skip from C API</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/fc33d2098d7a1296b320b30e9ed14c270ab714b8"><code>fc33d20</code></a> Release v5.0.2 🚀</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/3bbabe482458518555fa9939902410ae8cf1baa8"><code>3bbabe4</code></a> feat: skip Python runtime objects in callgrind</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/d4d9dc6ca011bbf6d21640e7c370d3d181f944cf"><code>d4d9dc6</code></a> Release v5.0.1 🚀</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/ad709a5904ea756c577dcfa91caff67c3cf8777a"><code>ad709a5</code></a> build: enable free-threaded wheels in cibuildwheel (<a href="https://redirect.github.com/CodSpeedHQ/pytest-codspeed/issues/121">#121</a>)</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/080d620ba846adaf6e1b70b96e525e773438034b"><code>080d620</code></a> Release v5.0.0 🚀</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/befdebfba2cdebddd84d6377f8d14d72e0ad4086"><code>befdebf</code></a> chore: ignore common compilation warnings for instrument-hooks</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/ee98055fb69fba4cc62c3822ef3df4c7002352d3"><code>ee98055</code></a> chore: use unsigned bash in the macos test</li> <li><a href="https://github.com/CodSpeedHQ/pytest-codspeed/commit/5a205c8822ca16db400ef25a5d8b51a65c875669"><code>5a205c8</code></a> feat: use instrument_hooks markers in walltime</li> <li>Additional commits viewable in <a href="https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.3.0...v5.0.3">compare view</a></li> </ul> </details> <br /> Updates `sentence-transformers` from 5.6.1 to 6.0.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/huggingface/sentence-transformers/releases">sentence-transformers's releases</a>.</em></p> <blockquote> <h2>v6.0.0 - MultiVectorEncoder for ColBERT & late interaction models, transformers v5, float32 scoring, faster training & encoding</h2> <p>This major release introduces Multi-Vector Embedding models, also known as late interaction or ColBERT-style models, as a fourth model type alongside <code>SentenceTransformer</code>, <code>CrossEncoder</code>, and <code>SparseEncoder</code>. Going forward, you'll be able to use Sentence Transformers for training, inferencing, and interpreting Multi-Vector Embedding models.</p> <p>It also modernizes the dependency floors to <code>transformers</code> v5, fixes a class of silent scoring bugs caused by half precision, and speeds up both training and encoding.</p> <p>Install this version with</p> <pre lang="bash"><code># Training + Inference pip install sentence-transformers[train]==6.0.0 <h1>Inference only, use one of:</h1> <p>pip install sentence-transformers==6.0.0 pip install sentence-transformers[onnx-gpu]==6.0.0 pip install sentence-transformers[onnx]==6.0.0 pip install sentence-transformers[openvino]==6.0.0</p> <h1>Multimodal dependencies (optional):</h1> <p>pip install sentence-transformers[image]==6.0.0 pip install sentence-transformers[audio]==6.0.0 pip install sentence-transformers[video]==6.0.0</p> <h1>Or combine as needed:</h1> <p>pip install sentence-transformers[train,onnx,image]==6.0.0 </code></pre></p> <blockquote> <p>[!TIP] Our <a href="https://huggingface.co/blog/multi-vector-encoder">Multi-Vector (Late Interaction) Embedding Models with Sentence Transformers blogpost</a> is an excellent place to learn about multi-vector models: loading the various checkpoint formats, encoding and scoring, plugging them into a search stack, running them on page images, and keeping the index affordable.</p> </blockquote> <blockquote> <p>[!WARNING] This is a major release with breaking changes. Upgrading from v5.x to v6.0 may require code updates. The changes marked 🚨 below are the ones most likely to affect you, and the <a href="https://sbert.net/docs/migration_guide.html">Migration Guide</a> has the full list. If you run into issues when upgrading, feel free to open <a href="https://github.com/huggingface/sentence-transformers/issues/new">an issue</a>.</p> </blockquote> <h2>MultiVectorEncoder: ColBERT-style late interaction models (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3794">#3794</a>)</h2> <p>Sentence Transformers v6.0 introduces <code>MultiVectorEncoder</code>, for ColBERT-style late interaction retrieval. Where a regular embedding model compresses a whole text into one vector, a multi-vector model keeps <strong>one vector per token</strong> and scores query against document with the MaxSim operator. That preserves token-level matching information that a single vector has to average away, which usually means stronger retrieval at the cost of a bigger index. It is also the state of the art for visual document retrieval, where a text query is matched against page images directly, with no OCR step in between.</p> <p>Any <a href="https://github.com/lightonai/pylate">PyLate</a> checkpoint and any <a href="https://github.com/stanford-futuredata/ColBERT">Stanford-NLP ColBERT</a> checkpoint loads straight into it, and <a href="https://github.com/illuin-tech/colpali">colpali-engine</a> models for visual document retrieval work too, through the same familiar API you already use for dense, sparse, and reranker models.</p> <pre lang="python"><code>from sentence_transformers import MultiVectorEncoder <h1>Download from the 🤗 Hub</h1> <p>model = MultiVectorEncoder("lightonai/LateOn")</p> <p>query_embeddings = model.encode_query(["Which planet is known as the Red Planet?"]) document_embeddings = model.encode_document([ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", "Saturn, famous for its rings, is sometimes mistaken for the Red Planet.", </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/huggingface/sentence-transformers/commit/56c9548fd8dbef8ba492f57ac04366900e36f5d4"><code>56c9548</code></a> [<code>docs</code>] Remove revision from EVIE now that it's integrated (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3951">#3951</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/aa791ebd6dc9273f6bd4537b4f3a985b8262c6c7"><code>aa791eb</code></a> Release v6.0.0</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/8b332d13155132c8c84d8b1a0c6f252503e6e818"><code>8b332d1</code></a> tests: Fix the pretrained MultiVectorEncoder tests for device tensors and Hub...</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/a03cfd60531eb1f67875208ff3fe3a551e6d3cb8"><code>a03cfd6</code></a> docs: Point cross-references at their documented targets (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3947">#3947</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/310ed7bee7b7a421e0555b4e1356a0816e35b3ec"><code>310ed7b</code></a> docs: Rank the pretrained MultiVectorEncoder models by NanoBEIR and NanoViDoR...</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/345c53844c069d791c7d78eb344bc64c5d45794b"><code>345c538</code></a> Speed up multi-vector padding and numpy to tensor conversion (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3942">#3942</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/8d62fa21bebc70ef6d5bf019024da9dfc858fd4d"><code>8d62fa2</code></a> [<code>v6</code>] Return tensors on the model device from MultiVectorEncoder encoding (#...</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/8a73e35a5ef98730e086d6e2275835b5ed36344e"><code>8a73e35</code></a> [<code>v6</code>] Keep the prompt-excluded mask out of the feature dicts (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3944">#3944</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/c8d2c0c370f0d2993e3574a5e9d1bc4333cdcdcb"><code>c8d2c0c</code></a> [<code>v6</code>] Extend the merged column forward to the SentenceTransformer losses (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3">#3</a>...</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/adc09fca3889c581df8c9f3195a2a7ceccfe2828"><code>adc09fc</code></a> [<code>v6</code>] Fix XTR input validation, padding masks, and integer embedding support...</li> <li>Additional commits viewable in <a href="https://github.com/huggingface/sentence-transformers/compare/v5.6.1...v6.0.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The agent engineering platform.
LangChain is a framework for building agents and LLM-powered applications. It helps you chain together interoperable components and third-party integrations to simplify AI application development — all while future-proofing decisions as the underlying technology evolves.
Tip
Just getting started? Check out Deep Agents — a higher-level package built on LangChain for agents that have built-in capabilities for common usage patterns such as planning, subagents, file system usage, and more.
Quickstart
uv add langchain
from langchain.chat_models import init_chat_model
model = init_chat_model("openai:gpt-5.5")
result = model.invoke("Hello, world!")
If you're looking for more advanced customization or agent orchestration, check out LangGraph, our framework for building controllable agent workflows.
For an equivalent JS/TS library, check out LangChain.js.
Tip
For developing, debugging, and deploying AI agents and LLM applications, see LangSmith.
LangChain ecosystem
While the LangChain framework can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools when building LLM applications.
- Deep Agents — Build agents that can plan, use subagents, and leverage file systems for complex tasks
- LangGraph — Build agents that can reliably handle complex tasks with our low-level agent orchestration framework
- Integrations — Chat & embedding models, tools & toolkits, and more
- LangSmith — Agent evals, observability, and debugging for LLM apps
- LangSmith Deployment — Deploy and scale agents with a purpose-built platform for long-running, stateful workflows
Why use LangChain?
LangChain helps developers build applications powered by LLMs through a standard interface for models, embeddings, vector stores, and more.
- Real-time data augmentation — Easily connect LLMs to diverse data sources and external/internal systems, drawing from LangChain's vast library of integrations with model providers, tools, vector stores, retrievers, and more
- Model interoperability — Swap models in and out as your engineering team experiments to find the best choice for your application's needs. As the industry frontier evolves, adapt quickly — LangChain's abstractions keep you moving without losing momentum
- Rapid prototyping — Quickly build and iterate on LLM applications with LangChain's modular, component-based architecture. Test different approaches and workflows without rebuilding from scratch, accelerating your development cycle
- Production-ready features — Deploy reliable applications with built-in support for monitoring, evaluation, and debugging through integrations like LangSmith. Scale with confidence using battle-tested patterns and best practices
- Vibrant community and ecosystem — Leverage a rich ecosystem of integrations, templates, and community-contributed components. Benefit from continuous improvements and stay up-to-date with the latest AI developments through an active open-source community
- Flexible abstraction layers — Work at the level of abstraction that suits your needs — from high-level chains for quick starts to low-level components for fine-grained control. LangChain grows with your application's complexity
Resources
- Documentation — conceptual overviews and guides
- LangChain ecosystem overview — how LangChain, LangGraph, and Deep Agents fit together
- API reference — complete reference for all public classes, functions, and types
- Discussions — community forum for technical questions, ideas, and feedback
- LangChain Academy — comprehensive, free courses on LangChain libraries and products, made by the LangChain team
- Contributing Guide — how to contribute and find good first issues
- Code of Conduct — community guidelines and standards