Overview
SuperMemory is a managed memory API that handles embedding, chunking, and indexing internally. Unlike traditional vector databases, you send raw text and SuperMemory takes care of vectorization and semantic search. This makes it a zero-configuration knowledge retrieval layer — no embedding provider setup required. Provider Class:SuperMemoryProviderConfig Class:
SuperMemoryConfig
Install
Install the SuperMemory optional dependency group:
Key Differences from Traditional Vector DBs
- No embedding provider needed. SuperMemory embeds text internally, so you do not pass an
embedding_providertoKnowledgeBase. - No
vector_sizeto configure. The config defaults to0because vectors are managed server-side. - No dense (raw-vector) search. Only
full_textandhybridsearch modes are supported. - Container tags instead of collections. The
collection_namemaps to a SuperMemorycontainer_tagfor organizing memories.
Examples
Basic Usage with KnowledgeBase
Using Environment Variable for API Key
SetSUPERMEMORY_API_KEY in your environment or .env file, then omit api_key from the config:
Custom Search Settings
Parameters
Base Parameters (from BaseVectorDBConfig)
SuperMemory-Specific Parameters
Search Modes
SuperMemory supports two search modes, configured via thesearch_mode parameter:
Dense (raw-vector) search is not supported because SuperMemory manages its own embeddings. Calling
dense_search returns an empty list.
