ME MEMORY · v0.0.3 Preview

ME MEMORY is an intelligent memory system with proactive memory extraction, hybrid semantic retrieval, confidence accumulation, and a layered memory architecture. It automatically distills preferences and identity, visualizes memory decay, and gives large models truly persistent memory.

100% Local Privacy (IndexedDB) Local Embedding Model Open Source · MIT
ME MEMORY 42 Memories · 12 Chats
Remember that I'm a full-stack engineer and I prefer React + TypeScript.
Got it — created 2 memories for you ✓
create_memory × 2
What tech stack did I say I like?
You prefer React + TypeScript, confirmed 12 times, 90% confidence.
search_memory · 1 core memory matched
CORE · Core Memory
The user is a full-stack engineer
Importance 80% · Confidence 98%
4 Layers
Layered Memory
7 Tools
Memory Tools
384 dims
Local Embedding
0 Cloud
100% Local
Core Features

A memory engine that "settles on its own"

Automatically extract, retrieve, consolidate, and forget from conversations — turning scattered information into trustworthy long-term knowledge.

Proactive Memory Extraction

After each turn, the content is automatically analyzed and the LLM extracts preferences, identity, and key events worth remembering — then files them into layers.

High precision · Auto-layering

Hybrid Semantic Retrieval

BM25 + rule-based scoring for coarse recall, then Embedding cosine similarity for fine ranking — balancing recall and precision with instant local responses.

Two-stage · Top-K ranking

Dynamic Confidence Accumulation

Repeated mentions raise confidence; negation reversals trigger conflict detection, downgrade old memories, and hand over to new ones.

Reinforce +0.08 / Conflict −0.2

Long-content Chunking

Recursive chunking and summarization at 500 chars per block with 80-char overlap, up to two levels deep — compressing 2000 chars into searchable points.

500 chars/block · 2 levels

Smart Token Budgeting

Core memories are always injected; search results get dynamic word counts by rank; the context window is split across System / Memory / History.

128K · Layered injection

Effective Importance Scoring

A dual-timeline model that combines storage decay, retrieval activity, frequency, and time distribution to measure each memory's true value.

Dual-timeline · 5 factors
Layered Memory

Four-layer pyramid — the older, the more valuable

Memories are promoted by value: Working → Short-term → Long-term → Core. Core memories never fade; short-term decays fast. Consolidated every 60 seconds.

  • Auto-promotion: ≥20 accesses and importance ≥0.7 promotes to Core, with a 7-day cooldown.
  • Capacity eviction: at the limit, the weakest are evicted by ascending effective importance.
  • Downgrade protection: effective importance < 0.1 drops one level.
  • Local persistence: everything stored in IndexedDB, survives refresh.
CORE · Core Memory
Identity & core agreements, never forgotten

No decay
LONG_TERM · Long-term Memory
Verified facts, slow decay
500
t½ ≈ 35 days
SHORT_TERM · Short-term Memory
New information, default layer
100
t½ ≈ 4.6 days
WORKING · Working Memory
Conversation snapshot, temporary context
20
No decay
Memory Graph

Draw memory as a breathing web

A force-directed layout reveals relationships in real time: similar memories attract, layers are color-coded. Drag, zoom, and hover to inspect.

Force-directed · Draggable · Zoomable
Core Long-term Short-term Working
Screenshots

Light and dark, transitioning as you scroll

Keep scrolling and the screenshots smoothly transition from light to dark theme.

ME MEMORY light theme interface
ME MEMORY dark theme interface
Light Theme Dark Theme
How It Works

Three steps to give conversations memory

No manual upkeep — the system runs the extract, retrieve, and inject loop in the background.

STEP 01

Chat

Chat as usual. When you mention preferences, identity, or key events, the system replies normally.

user → Agent.chat() → LLM reply
STEP 02

Extract

After each turn, the extraction LLM parses the conversation, creating new memories or matching by confidence (conflict detection + reinforcement).

extractMemories() → confidence match / create
STEP 03

Retrieve & Inject

Before answering user-related questions, it semantically retrieves and injects layered context, then saves the conversation snapshot.

search_memory → inject → save snapshot
Tech Stack

Modern, lightweight, frontend-only

Built on mainstream frontend tech, with the Embedding model running locally — no backend server needed.

React 19
TypeScript
Vite 8
Zustand 5
Tailwind 4
Transformers.js
all-MiniLM-L6-v2
IndexedDB
WebAssembly
Canvas
Deploy

One command, self-hosted

No cloning required — the local model runs offline and your data stays entirely in your environment.

npx Quick Start

No clone · Instant
  • No manual dependencies
  • Local model runs offline
  • 100% local & private data
$ npx @mememory/memory-agent model:import # Import local model
$ npx @mememory/memory-agent # Start the assistant
Download local model
Get Started

Stop your AI from forgetting

Run it, start chatting — your memory grows on its own.