Contributing integrations ↗
noOriginal Documentation
Documentation Index#
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt Use this file to discover all available pages before exploring further.
Integrations are a core component of LangChain.
LangChain provides standard interfaces for several different components (language models, vector stores, etc) that are crucial when building LLM applications. Contributing an integration helps expand LangChain’s ecosystem and makes your service discoverable to millions of developers.
Why contribute an integration to LangChain?#
<span class=“card-start” data-card-raw=“title=“Discoverability” icon=“search”"> LangChain is the most used framework for building LLM applications, with over 20 million monthly downloads.
<span class=“card-start” data-card-raw=“title=“Interoperability” icon=“refresh”"> LangChain components expose a standard interface, allowing developers to easily swap them for each other. If you implement a LangChain integration, any developer using a different component will easily be able to swap yours in.
<span class=“card-start” data-card-raw=“title=“Best Practices” icon=“star”"> Through their standard interface, LangChain components encourage and facilitate best practices (streaming, async, etc.) that improve developer experience and application performance.
Components to integrate#
While any component can be integrated into LangChain, there are specific types of integrations we encourage more:
Integrate these ✅:
- Chat Models: Most actively used component type
- Tools/Toolkits: Enable agent capabilities
- Retrievers: Core to RAG applications
- Embedding Models: Foundation for vector operations
- Vector Stores: Essential for semantic search
- Sandboxes: Run code safely with deep agents
- The integration is authored and maintained by the company that provides the sandbox.
- Or the integration is widely used, meaning the integration must have a minimum of 10,000 daily downloads on PyPI or npm to be considered for featuring.
Not these ❌:
- LLMs (Text-Completion Models): Deprecated in favor of Chat Models
- Document Loaders: High maintenance burden
- Key-Value Stores: Limited usage
- Document Transformers: Niche use cases
- Model Caches: Infrastructure concerns
- Graphs: Complex abstractions
- Message Histories: Storage abstractions
- Callbacks: System-level components
- Chat Loaders: Limited demand
- Adapters: Edge case utilities
How to contribute an integration#
Verify that your integration is in the list of encouraged components we are currently accepting.
If applicable, implement support for LangChain’s standard test suite for your integration and successfully run them.
Open a PR to add documentation for your integration to the official LangChain docs.
In a new PR to the LangChain docs repo, create a new file in the relevant directory under src/oss/python/integrations/<component_type>/integration_name.mdx using the appropriate template file:
- Chat models
- Tools and toolkits
- Retrievers
- Text splitters - Coming soon
- Embedding models - Coming soon
- Vector stores
- Document loaders - Coming soon
- Key-value stores - Coming soon
For reference docs, please open an issue on the repo so that a maintainer can add them.
(Optional) Engage with the LangChain team for joint co-marketing.
Edit this page on GitHub or file an issue.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.