agentskit.js

HierarchicalMemoryOptions

Auto-generated API reference for HierarchicalMemoryOptions.

Interface: HierarchicalMemoryOptions

Defined in: hierarchical.ts:18

#Properties

#archival

archival: ChatMemory

Defined in: hierarchical.ts:22

Cold storage — every message ever seen is written here.


#recall?

optional recall?: HierarchicalRecall

Defined in: hierarchical.ts:28

Mid-term recall layer (usually a vector store). Optional; without it the hub behaves like virtualized memory with a hard backing store.


#recallTopK?

optional recallTopK?: number

Defined in: hierarchical.ts:37

Max recalled messages to splice on each load(). Default 5.


#working

working: ChatMemory

Defined in: hierarchical.ts:20

Hot window — the messages always loaded in full.


#workingLimit?

optional workingLimit?: number

Defined in: hierarchical.ts:33

Maximum messages to keep in working. Older messages spill into recall + archival. Default 50.

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page