Skip to main content

Crate merlion_memory

Crate merlion_memory 

Source
Expand description

Persistent markdown memory store for the Merlion Agent.

Manages a directory of small markdown files that the agent uses to remember things across sessions. Each memory is a single file with YAML front-matter and a markdown body; an index file (MEMORY.md) lists the memories along with a one-line “hook” used to decide relevance.

See the crate README / parent project docs for the on-disk format.

Structs§

Memory
A single memory: front-matter fields plus the markdown body.
MemoryRow
One row parsed out of MEMORY.md.
MemoryStore
Handle to a memory directory on disk.

Enums§

MemoryType
The “type” tag stored in each memory’s front-matter metadata.type field.