$npx skillfedfor your agent

langchain-redis

An integration package connecting Redis and LangChain for AI working memory

Worth itPyPI Artificial IntelligenceReleased Nov 2025128.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_redis-0.2.5-py3-none-any.whl
v0.2.5 · released 2025-11-25 · Python <3.14,>=3.10 · 10 runtime deps: anyio, certifi, hf-xet, httpcore, jinja2, langchain-core, python-ulid, redisvl

Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and fills a clear need for Redis-backed memory in LangChain workflows. It is permissively licensed (MIT) and supports current Python versions (3.10–3.12). Install it if you are already running Redis and need vector storage, semantic caching, or chat history for a LangChain application.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Redis instance accessible at the configured REDIS_URL
  • Low friction installation with a pure Python wheel.
  • Active maintenance with recent commits and a stable release cycle since first release in 2024.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.

last release 2025-11-25 (262 days) · last repo commit 2026-08-03 · 68 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 128,711 downloads/mo, #11,700 on PyPI

Verify before relying

pip install langchain-redis

from langchain_redis import RedisVectorStore, RedisConfig
from langchain_core.embeddings import Embeddings

config = RedisConfig(index_name="my_vectors", redis_url="redis://localhost:6379")
vector_store = RedisVectorStore(embeddings=Embeddings(), config=config)
vector_store.add_texts(["Document 1", "Document 2"])
docs = vector_store.similarity_search("query", k=2)
  • Whether the package handles connection pooling or retry logic automatically for production deployments
  • Performance characteristics and scaling limits for vector search on large datasets
  • Compatibility with Redis Cluster deployments beyond the Sentinel examples shown
Same gist for agents: .md · .json

What it is and what it does

langchain-redis bridges Redis and LangChain, enabling three core capabilities: vector storage with semantic search (via RedisVectorStore), LLM response caching with TTL and semantic matching (via RedisCache and RedisSemanticCache), and session-based chat history with full-text search (via RedisChatMessageHistory). It wraps redisvl for indexing and query operations, and depends on langchain-core for the LangChain integration layer.

The package is designed for developers building AI applications that need persistent, searchable memory layers. It supports multiple Redis deployment modes—standard Redis, Redis with SSL/TLS, and Redis Sentinel for high availability—via connection URL configuration. All three components (vector store, cache, history) accept a RedisConfig object for detailed tuning of index names, distance metrics, key prefixes, and metadata schemas.

Use it for

  • Store and retrieve document embeddings for semantic search in RAG pipelines using RedisVectorStore
  • Cache LLM responses by semantic similarity to reduce API calls and latency in production chatbots
  • Maintain persistent, searchable chat histories across user sessions with automatic expiration via TTL
  • Build high-availability AI systems using Redis Sentinel for failover and multi-node deployments
  • Filter vector search results by metadata tags or numeric ranges to narrow retrieval in multi-tenant applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and fills a clear need for Redis-backed memory in LangChain workflows. It is permissively licensed (MIT) and supports current Python versions (3.10–3.12). Install it if you are already running Redis and need vector storage, semantic caching, or chat history for a LangChain application.

Install

langchain-redis on PyPI

Before you install

Low friction installation with a pure Python wheel. Active maintenance with recent commits and a stable release cycle since first release in 2024. Requires a running Redis instance, which is the primary operational dependency rather than an install-time concern.

Requires a running Redis instance accessible at the configured REDIS_URL

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.

Quickstart

pip install langchain-redis

from langchain_redis import RedisVectorStore, RedisConfig
from langchain_core.embeddings import Embeddings

config = RedisConfig(index_name="my_vectors", redis_url="redis://localhost:6379")
vector_store = RedisVectorStore(embeddings=Embeddings(), config=config)
vector_store.add_texts(["Document 1", "Document 2"])
docs = vector_store.similarity_search("query", k=2)

Verify before relying

  • Whether the package handles connection pooling or retry logic automatically for production deployments
  • Performance characteristics and scaling limits for vector search on large datasets
  • Compatibility with Redis Cluster deployments beyond the Sentinel examples shown

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.14,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
anyiocertifihf-xethttpcorejinja2langchain-corepython-ulidredisvltyping-extensionsurllib3
MaintenanceActively maintained 262 days since the last release
Last repo commit
First released
Downloads128,711 / month, #11,700 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Evidence: langchain_redis-0.2.5-py3-none-any.whl

Tags

Capabilities
redis vector store langchainsemantic cache redischat history redislangchain redis integrationvector database redisllm caching redisai memory redis
Topics
vector-searchsemantic-cachechat-history

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “redis vector store langchain”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also langchain-elasticsearch · langchain-cerebras · redisvl · langchain-milvus · langgraph-checkpoint-redis · langchain-qdrant · llama-index-vector-stores-redis · ramp-packer · langchain-mongodb · RLTest