Memory selection depends on how long information remains useful, rather than treating every remembered fact as permanent prompt content. 32:51 33:17 34:05

Memory layers with profile, log, short-term notes, and search-based retrieval

Figure 8. Memory separates an always-included profile, recent logs, temporary notes, and information retrieved on demand. The slide also gives implementation limits omitted from the spoken explanation. Source: leerob, 33:39.

LayerWhat belongs thereRetention or retrievalSource
Core user factsStable preferences that must hold in every reply, such as lowercase textInclude every time32:51
Selected relevant factsInformation important to the current conversationRetain while relevant; remove stale facts through a garbage-collection policy33:17 33:39
Dated logsPast conversation and work historyKeep an organized historical record33:39
ScratchpadTemporary details about ongoing workMay matter for only 30 minutes or an hour, then disappear34:05
Other filesInformation outside the active contextRetrieve later with file-reading and shell commands34:05

Details visible on the slide

These details are printed on the captured slide rather than stated in the transcript. 33:39

  • The profile holds up to 100 facts within 4,000 characters. 33:39
  • The prompt includes the 30 most relevant recent log events. 33:39
  • Important facts rank higher; older facts gradually rank lower. A pass after each turn adds new facts and replaces old ones, and can remove only facts it was shown. 33:39
  • User facts are shared across agents, while each agent writes to its own log file. Memories are treated as information, not instructions. 33:39