-
-
Notifications
You must be signed in to change notification settings - Fork 21
Memory Lifecycle
SuperLocalMemory automatically manages memory freshness so your system stays fast and relevant without manual cleanup.
Every memory moves through lifecycle states based on how often you use it:
| State | What It Means | Your Memories |
|---|---|---|
| Active | Recently used, immediately available | Returned first in search results |
| Warm | Used recently but not today | Still searchable, slightly lower priority |
| Cold | Haven't been used in a while | Searchable but ranked lower |
| Archived | Old and unused | Compressed to save space, still recoverable |
| Tombstoned | Marked for deletion | Will be permanently removed |
You don't need to do anything β the system evaluates memories periodically and transitions them automatically. When you recall an archived memory, it's immediately promoted back to Active.
get_lifecycle_status
Shows the current state distribution of your memories.
compact_memories
Triggers lifecycle evaluation and compaction. Use dry_run: true to preview what would change.
SuperLocalMemory enforces configurable storage limits. When your memory database approaches the limit, the oldest and least-used memories are archived or tombstoned first β ensuring your most valuable memories are always preserved.
- No manual cleanup β the system handles it
- Fast search β only active/warm memories are prioritized
- Nothing lost β archived memories can always be reactivated
- Bounded storage β your database never grows unbounded
See also: Behavioral-Learning Β· Enterprise-Compliance Β· Upgrading-to-v2.8
SuperLocalMemory v2.7.4 β Your AI Learns You
GitHub β’
Support β’
@varun369
100% local. 100% private. 100% free.
Created by Varun Pratap Bhardwaj