-
-
Notifications
You must be signed in to change notification settings - Fork 23
Behavioral Learning
Varun Pratap Bhardwaj edited this page Mar 16, 2026
·
1 revision
SuperLocalMemory learns from what happens after memories are recalled β tracking which memories lead to successful outcomes and surfacing them more often.
- You recall a memory β search finds a relevant memory for your task
- You take action β use the information, write code, make decisions
-
Outcome is recorded β explicitly via
report_outcomeor implicitly from your behavior - Patterns emerge β over time, the system learns which memories are most useful
report_outcome memory_id="abc123" outcome="success" context="Used this API pattern, it worked"
Outcome values: success, failure, partial
The system also infers outcomes from your behavior:
- Recalled a memory and continued working? Likely success
- Recalled a memory then immediately searched again? Likely failure
- Asked a follow-up question? Likely partial
get_behavioral_patterns
Shows learned patterns like:
- "API documentation memories have 85% success rate in this project"
- "Architecture decisions from Project A transfer well to Project B"
Behavioral patterns learned in one project can improve recommendations in similar projects. This happens automatically and preserves privacy β only pattern metadata transfers, never raw memory content.
- All learning happens 100% locally
- No data leaves your machine
- No LLM inference calls β pure statistical pattern recognition
- Learning data is stored in
learning.db(separate from memories, GDPR-erasable)
See also: Memory-Lifecycle Β· Enterprise-Compliance Β· Learning-System
SuperLocalMemory v2.7.4 β Your AI Learns You
GitHub β’
Support β’
@varun369
100% local. 100% private. 100% free.
Created by Varun Pratap Bhardwaj