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.
Class Diagram
Section titled “Class Diagram”---
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
Yaml Example
Section titled “Yaml Example”entries: []Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| entries | MemoryEntry[] | The memories held in the store, in insertion order |
Composed Types
Section titled “Composed Types”The following types are composed within MemoryStore: