This is a Monorepo containing partner packages of MongoDB and LangChainAI. It includes integrations between MongoDB, Atlas, LangChain, and LangGraph.
It contains the following packages.
Note: This repository replaces all MongoDB integrations currently present in the langchain-community
package. Users are encouraged to migrate to this repository as soon as possible.
- Vector store -MongoDBAtlasVectorSearch
- Message histories
- Model caches
- Retrievers
- MongoDBAtlasHybridSearchRetriever
- MongoDBAtlasFullTextSearchRetriever
MongoDBAtlasParentDocumentRetriever
- new feature, docs coming soon!
- Indexing
MongoDBRecordManager
- new feature, docs coming soon!
- Checkpointing
MongoDBSaver
- new feature, docs coming soon!
You can install the langchain-mongodb
package from PyPI.
pip install langchain-mongodb
You can install the langgraph-checkpoint-mongodb
package from PyPI as well:
pip install langgraph-checkpoint-mongodb
See langchain-mongodb usage and langgraph-checkpoint-mongodb usage.
For more detailed usage examples and documentation, please refer to the LangChain documentation.
See the Contributing Guide.
This project is licensed under the MIT License.