Skip to content
LangChain

VectorCache Semantic Vector Cache for LangChain

io.github.pgalyen1987/vectorcache

x402-gated semantic vector cache for agent swarms: Redis-backed similarity lookup. Paid in USDC.

client:LangChain transport:stdio runtime:npm

Install VectorCache Semantic Vector Cache in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "vectorcache": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@nodeproxy/vectorcache"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

VectorCache Semantic Vector Cache in other clients