Mastra Memory

The memory package provides conversation history, working memory, and semantic recall for agents, pluggable across PostgreSQL, LibSQL, Redis, Upstash, MongoDB, MS SQL, DynamoDB, Cloudflare D1, ClickHouse, Couchbase, and other backends. Vector recall integrates with PgVector, Pinecone, Chroma, Qdrant, Astra, Elasticsearch, OpenSearch, Turbopuffer, Vectorize, LanceDB, DuckDB, S3Vectors, and more.

Mastra Memory is one of 12 APIs that Mastra publishes on the APIs.io network.

Tagged areas include Memory, Vector Database, and Persistence. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: mastra-ai:mastra-memory
name: Mastra Memory
description: The memory package provides conversation history, working memory, and semantic recall for
  agents, pluggable across PostgreSQL, LibSQL, Redis, Upstash, MongoDB, MS SQL, DynamoDB, Cloudflare D1,
  ClickHouse, Couchbase, and other backends. Vector recall integrates with PgVector, Pinecone, Chroma,
  Qdrant, Astra, Elasticsearch, OpenSearch, Turbopuffer, Vectorize, LanceDB, DuckDB, S3Vectors, and more.
humanURL: https://mastra.ai/docs/memory/overview
tags:
- Memory
- Vector Database
- Persistence
properties:
- type: Documentation
  url: https://mastra.ai/docs/memory/overview
- type: SourceCode
  url: https://github.com/mastra-ai/mastra/tree/main/packages/memory
- type: PackageManager
  url: https://www.npmjs.com/package/@mastra/memory