Upstash RedisUpstash VectorMastra/LangChain agent frameworksintermediate30 min

Upstash + Redis vector for agent memory

Persistent, context-aware AI agents with semantic long-term memory across sessions without managing infra

Prerequisites

  • Upstash account with Redis database and Vector index created in console. Node.js/Python env with @upstash/redis
  • upstash-vector
  • and agent framework (Mastra/LangChain). Embedding model (OpenAI/HuggingFace). Env vars: REST_URL/TOKEN for both services.

Further reading