Skip to content
Prompty

MemoryStore

A whole-store snapshot of agent memory.

The canonical persisted shape a host loads and saves as one unit. A host backend implements only load/save of this snapshot; the engine owns the deterministic recall, formatting, tiered injection, eviction, and entry-mutation logic on top of it.

---
title: MemoryStore
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class MemoryStore {
        +MemoryEntry[] entries
    }
    class MemoryEntry {
        +string content
        +string category
        +string createdAt
        +string[] tags
    }
    MemoryStore *-- MemoryEntry
entries: []
Name Type Description
entries MemoryEntry[] The memories held in the store, in insertion order

The following types are composed within MemoryStore: