Skip to content

MemoryEntry

Defined in: src/memory/types.ts:9

A single memory entry retrieved from or stored to a memory store.

content: string;

Defined in: src/memory/types.ts:11

The textual content of this memory entry.


optional storeName?: string;

Defined in: src/memory/types.ts:17

Name of the store this entry came from. Populated by MemoryManager.search so callers (and the model, via search_memory) can tell which store produced each result and refine targeting. Stores need not set this themselves.


optional metadata?: Record<string, JSONValue>;

Defined in: src/memory/types.ts:19

Optional metadata (e.g., score, source, id, timestamp).