Memory Stores
A Memory Store holds what agents remember. It holds the conversations that agents take in and the facts that are extracted from them. A Mesh uses at most one Memory Store. You set the store in Mesh settings. The store is not versioned, so every Mesh version reads the same memory. Agents read and write the store through Interaction Profiles.
Quick Reference
Memory Store
| Field | Purpose | Guidance |
|---|---|---|
| Name | Identifies the store | A mesh references one store by name. Use the mesh or domain name. |
| Description | Notes for your team | Optional. Record what the store is meant to remember and for whom. |
Conversations
| Field | Purpose | Guidance |
|---|---|---|
| Ingest conversations | Saves conversations into the store | When on, every conversation in a mesh that uses this store is saved as text chunks, as it happens. Required for Conversation history in an Interaction Profile and for fact extraction from conversations. |
| Index raw content for search by | How chunks are searched | Semantic meaning creates embeddings for each conversation turn to allow for semantic search; it needs an Embedding profile. Text only indexes for keyword search. |
| Identify speakers by tag | Names the person a request came from | Optional. The request tag that holds the name of the person a request came from, so the same person is one entity across conversations. The tag can be on the request or on its conversation. See Tags. |
Scopes
| Field | Purpose | Guidance |
|---|---|---|
| Kind | Sliced or unsliced | A Sliced scope keeps a set of facts and observations for each value of a tag, for example preferences per user. An Unsliced scope keeps one set across the store’s content, for example information about a single topic. |
| Reads | Which content feeds the scope | Facts written by agents and conversation chunks, either all of them or only those with a given tag. A sliced scope names the tag key whose values define the slices. |
| Files them as | The tag the scope writes | A key and value stamped on every fact and observation the scope produces. Interaction Profiles select memories by these tags. |
| Description | Notes for your team | Optional. Say what the scope should capture. |
| Facts | How facts enter the scope | Extracted by a model: a model reads new chunks on the extraction interval and writes single claims as facts; you can choose the model profile and give extraction instructions. Written by agents only: facts arrive only through Interaction Profile write tools. |
| Observations | Long-term consolidation | Consolidated by a model: on the consolidation interval a model merges facts into higher level observations; you can choose the model profile and give consolidation instructions. Not consolidated: the scope keeps facts only. |
Processing Settings
| Field | Purpose | Guidance |
|---|---|---|
| Extracts facts every | Extraction interval | How often extraction runs. Leave empty for the default. |
| Consolidates facts into observations every | Consolidation interval | How often consolidation runs. Leave empty for the default. |
| Embedding profile | Vectors for semantic search | Required when Index raw content for search by is set to semantic meaning, and when any scope extracts or consolidates facts. See Embedding Profiles. |
What the store holds
A Memory Store holds four kinds of record.
- Documents: the conversation turns that the store ingests.
- Chunks: the searchable pieces of documents.
- Facts: single claims. A model reads a fact out of content, or an agent writes it. Each fact has a class (World or Experience), an origin (Stated or Inferred) and a state (Active or Merged).
- Observations: claims that the store builds from facts. Observations are the long-term memory of the store.
Browsing the store
Open a store to see its content in three tabs: Documents, Facts and Observations. If you delete a document, the facts that it produced stay in the store.
Recall
Recall is a tool that tests a search on the store. Use it to see what an Interaction Profile query would return.
Recall has these fields:
- Query
- Conversation ID
- Tag key and Tag value
- Records: Chunk, Fact or Observation
- Token budget
- Min similarity
- Omit sources
Each result shows the record’s Score, Text rank and score, Meaning rank and score, and Tokens.
Related
- Interaction Profiles
- Model Providers and Profiles for Embedding Profiles
- Meshes
- Memory guide