Profile
Back to NewsBack
GitHub Trending 1 min
Reader Mode
langchain-ai/langchain-mongodb: Integrations between MongoDB, Atlas, LangChain, and LangGraph

langchain-ai/langchain-mongodb: Integrations between MongoDB, Atlas, LangChain, and LangGraph

9 hours ago

🦜️🔗 LangChain MongoDB

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.

  • langchain-mongodb (PyPI)
  • langgraph-checkpoint-mongodb (PyPI)
  • langgraph-store-mongodb (PyPI)
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.

Features

LangChain

Components

API Reference

LangGraph

  • Checkpointing (BaseCheckpointSaver)
- MongoDBSaver
  • Long-term memory (BaseStore)
- MongoDBStore

Installation

You can install langchain-mongodb, langgraph-checkpoint-mongodb and langgraph-store-mongodb from PyPI.

pip install langchain-mongodb langgraph-checkpoint-mongodb langgraph-store-mongodb

Usage

See langchain-mongodb usage, langgraph-checkpoint-mongodb usage and langgraph-store-mongodb usage.

For more detailed usage examples and documentation, please refer to the MongoDB LangChain documentation and the MongoDB LangGraph documentation.

API docs can be found on ReadTheDocs.

Contributing

See the Contributing Guide.

License

This project is licensed under the MIT License.

Chat with me