---
name: mastra-upstash
description: Documentation for @mastra/upstash. Use when working with @mastra/upstash APIs, configuration, or implementation.
metadata:
  package: "@mastra/upstash"
  version: "1.4.6"
---

## When to use

Use this skill whenever you are working with @mastra/upstash to obtain the domain-specific knowledge.

## How to use

Read the individual reference documents for detailed explanations and code examples.

### Docs

- [Working memory](references/docs-memory-working-memory.md) - Persist user profiles, preferences, and application data with Mastra working memory using resource- or thread-scoped templates and storage adapters.

### Integrations

- [Upstash](references/integrations-databases-upstash.md) - Use Upstash Redis as serverless Mastra storage with REST credentials, namespaced keys, durable persistence, and deployment-friendly connections.

### Reference

- [Retrieval, semantic search, reranking](references/reference-rag-retrieval.md) - After storing embeddings, you need to retrieve relevant chunks to answer user queries.
- [Storing embeddings in a vector database](references/reference-rag-vector-databases.md) - After generating embeddings, you need to store them in a database that supports vector similarity search.
- [Reference: Upstash vector store](references/reference-vectors-upstash.md) - Configure UpstashVector for serverless similarity and hybrid search, metadata filtering, index management, and vector operations with Upstash Vector.


Read [assets/SOURCE_MAP.json](assets/SOURCE_MAP.json) for source code references.