Repository navigation
Description
The problem/use-case that the feature addresses
n8n is an open-source workflow automation platform (202k GitHub stars, 60k forks) with built-in AI/LangChain integration for RAG pipelines, semantic caching, and agent memory workflows. n8n's vector store nodes are built on LangChain under the hood.
n8n's existing Redis Vector Store node is incompatible with Valkey. When users connect to AWS ElastiCache with Valkey, document insertion operations fail because the node attempts to create a TEXT field that Valkey's search module does not support in the same way as Redis Stack. The n8n team has explicitly stated they will not fix this compatibility gap:
- Issue #21361 - Closed with label "closed:enhancement/feature"
- Community forum response: "the Redis Vector Store node is simply not compatible with ValKey"
- PR #16592 - ElastiCache Serverless queue mode support remains unmerged
- Community forum - Multiple users unable to connect n8n to ElastiCache Valkey Serverless
The n8n team's position is clear: they do not intend to support "compatible" databases within the Redis node. The official path for third-party database support is through n8n community nodes published as standalone NPM packages.
A community feature request already exists for a dedicated Valkey Vector Store node.
Description of the feature
Create a valkey-io/n8n-nodes-valkey repository to host the n8n-nodes-valkey NPM package, providing a Valkey Vector Store community node for n8n.
The repository would:
- Implement a Valkey Vector Store node for n8n — A community node that provides Insert, Load, Get, and Retrieve (as Tool) operations for vector data stored in Valkey Search, usable in n8n's AI workflow canvas.
- Depend on
@langchain/valkey— Built on the LangChainJS Valkey integration (see #4508), which is the standard approach for n8n vector store nodes. - Follow n8n community node conventions — Published to NPM with the
n8n-nodes-prefix, installable via n8n's community node UI, and eligible for n8n verification. - Use valkey-glide as the underlying client — Via the
@langchain/valkeypackage's connection management. - Conform to Valkey governance standards — CI/CD pipelines, MAINTAINERS.md, CONTRIBUTING.md, appropriate licensing, and standard code review processes aligned with valkey-io conventions.
Target capabilities:
- Vector similarity search (KNN and range queries) via n8n's visual workflow builder
- Metadata filtering with TAG, TEXT, and NUMERIC fields
- Document ingestion with automatic embedding via n8n's Embeddings sub-nodes
- Retrieval as an Agent Tool for RAG workflows
- Support for self-hosted Valkey and managed Valkey offerings (AWS ElastiCache, GCP Memorystore, Aiven, etc.)
Architecture note: n8n's vector store nodes are thin wrappers around LangChain vector store classes. The n8n node handles UI configuration, credential management, and workflow integration, while delegating the actual vector operations to the underlying LangChain provider. This makes @langchain/valkey (#4508) a prerequisite dependency.
Alternatives you've considered
- Fix the existing Redis node in n8n — The n8n team has explicitly rejected this approach. They closed the compatibility issue as an enhancement request and stated they do not support "compatible" databases within the Redis node.
- Use the LangChain Code Node workaround — A community tutorial exists for using Valkey via the LangChain Code Node, but this requires JavaScript coding, is only available on self-hosted n8n, and provides no visual workflow integration.
- Host under a personal GitHub org — This reduces discoverability and trust. Hosting under valkey-io provides official endorsement and long-term maintenance commitment, which is important for n8n's community node verification process.
Additional information
- Community demand: Issue #21361 documents the broken user experience; feature request explicitly asks for a Valkey community node.
- Prerequisite: This node depends on
@langchain/valkeyfrom #4508. Thelangchain-valkeyrepo should be created first. - Reference implementation: The SAP HANA Vector Store community node demonstrates the expected package structure for n8n LangChain-based vector store community nodes.
- n8n verification: Once published and stable, the node can be submitted for n8n verification, making it installable directly from n8n's UI without manual npm commands.
- Naming: The
n8n-nodes-valkeyname follows n8n's requiredn8n-nodes-prefix convention for community nodes.
Activity