Skip to main content

Module memory

Module memory 

Source
Expand description

Agent memory: a durable JSON key/value space in the instance’s store namespace — memory/<key> — with optional TTL, size caps, and prefix listing. Listing uses the store’s own list when it has one; a store without one is served from the memory/_index record this module maintains, so listing works on every backend rather than only the ones that can enumerate. Overridable by an MCP memory server through the registry.

Structs§

Memory
The memory façade over the store.
Record
One memory record (state of the envelope).

Constants§

INDEX_ID
The index record’s id (never a user key: keys may not start with _).