This will help you get started with Redis key-value stores. For detailed documentation of allDocumentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
RedisStore features and configurations head to the API reference.
Overview
TheRedisStore is an implementation of ByteStore that stores everything in your Redis instance.
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
RedisStore | langchain-community | ✅ | ✅ |
Setup
To create a Redis byte store, you’ll need to set up a Redis instance. You can do this locally or via a provider - see our Redis guide for an overview of options.Installation
The LangChainRedisStore integration lives in the langchain-community package:
Instantiation
Now we can instantiate our byte store:Usage
You can set data under keys like this using themset method:
mdelete method:
API reference
For detailed documentation of allRedisStore features and configurations, head to the API reference
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

