How It Works
Memory that thinks like you do. The Memory Module mimics human cognitive processes to create AI memory that feels natural, not mechanical.Want practical usage? See Workflows and Best Practices. This page explains the science behind it.
The Problem
- Vector Databases
- Note-Taking Apps
- RAG Systems
How they work: Store embeddings, return similar vectorsThe problem:Search “important meetings”:
- Yesterday’s standup ⚖️
- Last year’s strategy session ⚖️
- Random coffee chat ⚖️
Our Solution: Cognitive Science
We studied how human memory actually works and built AI memory based on cognitive psychology research.1. Natural Forgetting
Science: Ebbinghaus Forgetting Curve (1885) - memory decays exponentially Implementation: Every memory has salience (0.0-1.0) that decreases over time Formula:Fast Decay
Emotional memories: 35-day half-life“Customer frustrated yesterday”Fades quickly (old sentiment less relevant)Week 1: 1.0 → Week 12: 0.15 → Pruned
Slow Decay
Reflective insights: 693-day half-life“Why we chose microservices”Persists years (strategic decisions remain relevant)Month 6: Still 0.95 salience
2. Strengthening Through Use
Science: Spaced repetition - reviewing information at intervals improves retention Implementation: Every access strengthens the memory3. Five Cognitive Sectors
Science: Human memory has different systems for different information types Implementation: Five sectors mirror human cognitive architectureEpisodic
Events & experiences“Fixed auth bug on March 15”Decay: Fast (35 days)
Why: Events lose relevance quickly
Semantic
Facts & knowledge“JWT tokens expire in 1 hour”Decay: Moderate (173 days)
Why: Facts stay relevant longer
Procedural
How-to knowledge“Deploy steps: build → test → push”Decay: Slow (346 days)
Why: Procedures rarely change
Emotional
Feelings & sentiments“Team morale high after launch”Decay: Fast (35 days)
Why: Sentiment changes quickly
Reflective
Strategic insights“Why we chose microservices”Decay: Very slow (693 days)
Why: Architecture decisions endure
4. Semantic Waypoints
Science: Memory retrieval uses cues and associations Implementation: AI-generated waypoints (markers) on timeline enable “magic search” Example:5. Contextual Decay
Science: Memory relevance depends on context, not just time Implementation: Factors beyond time affect salience- Time-Based
- Context-Based
- Supersession
- Access-Based
Standard decay:Fresh memories (high salience) → Old memories (low salience)Formula: Exponential decay curve
The Full System
How it all works together:1
Store Memory
You save: “Fixed auth bug - token expiration wasn’t handled”System classifies:
- Sector: Episodic (event)
- Initial salience: 1.0
- Decay rate: Fast (35-day half-life)
- Waypoint: Creates “auth bug fix March 2024”
2
Memory Decays Naturally
Over weeks, salience drops:
- Week 1: 1.0 (fresh, highly accessible)
- Week 4: 0.75 (still relevant)
- Week 12: 0.30 (fading)
- Week 24: 0.05 (ready to prune)
3
Access Reinforces
You access it during code review:
- Salience 0.30 → 0.60 (reinforced)
- Pushed back “up” the curve
- Stays accessible longer
4
Context Adjusts
Project marked complete:
- All project memories salience × 0.5
- Faster decay for closed work
- Keep only essential learnings
5
Search Uses Waypoints
Query: “When did we fix that auth bug?”Waypoint search finds “auth bug fix March 2024” instantlyReturns all memories near that waypoint (high salience first)
Why This Beats Alternatives
| Feature | Vector DB | Note Apps | RAG | Memory Module |
|---|---|---|---|---|
| Auto-prioritization | ❌ | ❌ | ❌ | ✅ Natural decay |
| Importance awareness | ❌ Equal | ❌ Manual | ❌ Keywords | ✅ Cognitive sectors |
| Self-cleaning | ❌ | ❌ | ❌ | ✅ Auto-pruning |
| Time awareness | ❌ | ❌ | ❌ | ✅ Temporal search |
| Context sensitivity | ❌ | ❌ | Partial | ✅ Multi-factor |
| Natural search | Semantic only | Keyword/tags | Keyword | ✅ Waypoints + semantic |
Real-World Impact
Bug investigation note (Episodic, fast decay):Next Steps
Cognitive Sectors
Deep dive into the 5 sectors
Workflows
Put memory to work
Best Practices
Optimize your memory use
Memory that thinks like you do. Built on cognitive science, not brute force.