Why contribute an integration to LangChain?
Discoverability
LangChain is the most used framework for building LLM applications, with over 20 million monthly downloads.
Interoperability
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.
Best Practices
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:- Chat Models: Most actively used component type
- Tools/Toolkits: Enable agent capabilities
- Retrievers: Core to RAG applications
- Vector Stores: Essential for semantic search
- Embedding Models: Foundation for vector operations
How to contribute an integration
1
Confirm eligibility
Verify that your integration is in the list of encouraged components we are currently accepting.
2
Implement your package
3
Pass standard tests
If applicable, implement the standard tests for your integration and successfully run them.
4
Publish integration
5
Add documentation
Open a PR to add documentation for your integration to the official LangChain docs.
Integration documentation guide
Integration documentation guide
An integration is only as useful as its documentation. To ensure a consistent experience for users, docs are required for all new integrations. We have a standard starting-point template for each type of integration for you to copy and modify.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:Co-marketing
Optional: Engage with the LangChain team for joint co-marketing.