Skip to main content
A Memory store holds small text files, called memories, that outlive any Session. The agent reads and writes them as files under /mnt/memory/<store>, while your app can edit the same memories over the API.
The agent sees the store’s name and description in its prompt, so make the description clear about what belongs there.

Update without losing changes

Your app and any number of Sessions can write to the same store. Pass the SHA-256 hash you last read so the update applies only if nobody changed the memory in the meantime:

Mount a store in a Session

A store named "User Preferences" mounts at /mnt/memory/user-preferences. In a read_write mount, each file write is persisted to the store immediately, so multiple Sessions can share live state. Size and count caps are in Limits.