NullClaw’s memory system stores conversation history, facts, and context. Configure the storage backend, vector search, and memory lifecycle policies.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nullclaw/nullclaw/llms.txt
Use this file to discover all available pages before exploring further.
Memory Profiles
Memory profiles provide preset configurations for common use cases:Memory profile preset:
markdown_only— File-based markdown memory (default, zero setup)local_keyword— SQLite keyword-only searchlocal_hybrid— SQLite + vector search hybridpostgres_keyword— PostgreSQL keyword-onlypostgres_hybrid— PostgreSQL + vector hybridminimal_none— Stateless, no persistent memorycustom— Manual configuration (no profile defaults)
Backend Configuration
Basic Backend Setup
Memory backend:
markdown (file-based), sqlite (local database), postgres (PostgreSQL), redis, api, or none.Automatically save memory entries after each interaction.
Citation style:
auto (show when relevant), always, or never.Vector Search Configuration
Enable semantic search with vector embeddings:Enable vector search capabilities.
Embedding provider:
openai, cohere, voyage, ollama, or none (disables vector search).Embedding model identifier.
Embedding vector dimensions (must match model output).
Vector store backend:
auto (matches memory backend), sidecar (local file), qdrant, or pgvector.Hybrid Search
Combine keyword and vector search:Enable hybrid search combining keyword and vector results.
Weight for vector search results (0.0 to 1.0).
Weight for keyword search results (0.0 to 1.0).
Result merging strategy:
rrf (Reciprocal Rank Fusion) or score (weighted scores).Memory Lifecycle
Configure memory archival and retention:Enable automatic memory hygiene (archival and purging).
Archive memories older than this many days.
Permanently delete memories older than this many days.
Retain conversation context for this many days.
Automatically load archived memories when referenced.
PostgreSQL Backend
Use PostgreSQL for distributed deployments:PostgreSQL connection URL.
Database schema name.
Table name for memory storage.
Redis Backend
Use Redis for caching and fast retrieval:Redis server hostname.
Redis server port.
Prefix for all Redis keys.
Time-to-live for entries (0 = no expiry).
Advanced Configuration
Chunking and Sync
Response Cache
Cache LLM responses for identical queries.
Example: Local Hybrid Setup
Complete configuration for local SQLite with vector search:The
local_hybrid profile automatically applies these defaults. You only need to override specific values.