Skip to content

Features

LivingMemory is not just a chat log. It transforms conversations into searchable, decay-aware long-term memories that agents can also use directly.

Automatic reflection

After the configured number of rounds, the plugin asks the LLM to summarize recent conversation into structured memory.

Dual-channel summaries

canonical_summary is optimized for factual retrieval. persona_summary is optimized for prompt injection and persona expression.

Agent memory tools

Agents can call recall_long_term_memory to search old memory or memorize_long_term_memory to store durable facts.

Memory atomization

Important facts become independent atoms with type, TTL, importance, access count, and decay state.

Where memories come from

PathTriggerBest for
Automatic reflectionConversation reaches the configured summary roundsLong-term preferences, project context, relationships, durable facts
Agent write toolThe model calls memorize_long_term_memoryExplicit "remember this" requests, important agreements, long-running tasks

How recall works

Before the LLM request is sent, LivingMemory retrieves relevant memories. Results can be appended to the user message, placed before or after it, or injected as simulated tool-call context.

Dual route retrieval flow

Ranking combines:

FactorWhat it does
Keyword matchBM25 and graph keyword retrieval quickly find concrete entities and phrases
Semantic similarityVector retrieval handles different wording with similar meaning
Graph relationshipsEntities and cross-memory edges add structure across facts
ImportanceDurable preferences and agreements are favored
Time decayOld memories gradually lose weight unless repeatedly accessed or reinforced

Lifecycle behavior

Memory lifecycle
MechanismPurpose
Importance decayReduces the weight of old low-value memories
Access reinforcementFrequently recalled memories are more likely to stay relevant
Atom TTLDifferent fact types can age differently
Automatic cleanupRemoves expired or low-value memory to control database size
Safe backupsCreates backups before version updates and migrations