Structure of MemoryOS

① lifetime of what is stored this conversation · minutes recurring topics · days to weeks who the user is · months STM · short-term recent turns, kept verbatim newest page oldest page page = { Q, R, T, chain meta } one user turn + the reply + time a queue of fixed length (7) · FIFO MTM · mid-term pages grouped into topic folders ② folder · one topic summary · keywords pagepagepage heat folder · another topicsummary · keywords · pages folder = pages on one topic + LLM summary + keywords + heat heat = visits + size + recency up to 2000 folders LPM · long-term persona distilled facts and preferences user persona profile · name, birth year (static) knowledge base · learned facts traits · 90 preference dimensions agent persona profile · its role (static) traits · what it did for this user written by an LLM from hot folders facts and traits · queues of 100 queue full → oldest page spills; match score picks its folder ③ heat > τ → hot folder promoted; LLM extracts facts and traits ③ coldest folder evicted when full interface · every turn query retrieve from all three tiers STM: everything · MTM: top folders → top pages · LPM: relevant entries one prompt LLM answer new page → STM the turn is written back everything above runs between the user's message and the reply; the LLM is called for the answer and for the summaries and extractions inside the tiers the three ideas ①three memory tiersby lifetime ②topic folders ofdialogue pages ③heat-based evictionand promotion next slides walk this picture left to right, then the interface
10 / 25