Memories & Dream

Memories carry context across sessions: preferences, identity, working habits, stable facts. Entry: Memories (route /memories).

Memory fields

FieldDetails
ContentOne fact or preference; the more specific, the better the recall
CategoryPreference / identity / work / habit / knowledge — used for filtering and counts
Importance1–5 stars; affects recall ranking and how fast it decays
ScopeGlobal / session / project — determines the contexts it is injected into
LifecycleLast access time, access count and state (fresh / decaying) maintained by Dream

When memories are used

  • The “Memory” toggle above the input recalls by similarity within the current scope (global ∪ session ∪ project) and injects the results.
  • The model can also call the search_memory tool on its own.
  • Scope isolation matters: project details never leak into unrelated conversations, and session preferences do not pollute global memory.

Memory graph

  • Visualizes memories by association, making duplicates and contradictions visible.
  • Filter by scope (all / global / session / project); hover for content.
Memories page: memory graph, scope filters and Dream consolidation
Click for full size

Dream consolidation

ParameterEffect
Decay daysMemories not accessed within this window are marked “decaying”
Forget daysLow-importance memories untouched beyond this window are forgotten (deleted)
IntervalAutomatic consolidation cadence, 24 hours by default and configurable
PhasesMerge duplicates → decay stale information → forget useless entries, then report counts

The page shows the last run and how many memories are decaying, and you can trigger a consolidation manually.

Practical advice

  • Keep stable preferences as global memories (“answer in Chinese, code comments in English”).
  • Project-specific conventions belong to project memories so they travel with that context.
  • Store one fact per memory for easier merging and forgetting; long content belongs in a note that gets indexed instead.