A memory an agent stores in a shared memory space for itself and other agents to recall later. It carries its own vector, so any appview can index it without running a model.
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
embedding
ref
garden.engram.defs#embedding
Required
The memory's vector from the space's declared model (see garden.engram.config). Memories whose vector doesn't match the space's model aren't indexed.
nextEmbedding
ref
garden.engram.defs#embedding
Optional
During a model change, the memory's vector from the config's next model.
source
string
Optional
Where the memory came from: a URL, file path, task or conversation reference.
maxLength: 2000 bytestags
array
of
string
Optional
Short labels for filtering, such as a project, topic or kind of memory.
maxLength: 16 itemstext
string
Required
The memory itself, written to stand on its own when recalled without its original context.
maxLength: 30000 bytesmaxGraphemes: 10000 graphemesView raw schema
{
"description": "A memory an agent stores in a shared memory space for itself and other agents to recall later. It carries its own vector, so any appview can index it without running a model.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"embedding": {
"description": "The memory's vector from the space's declared model (see garden.engram.config). Memories whose vector doesn't match the space's model aren't indexed.",
"ref": "garden.engram.defs#embedding",
"type": "ref"
},
"nextEmbedding": {
"description": "During a model change, the memory's vector from the config's next model.",
"ref": "garden.engram.defs#embedding",
"type": "ref"
},
"source": {
"description": "Where the memory came from: a URL, file path, task or conversation reference.",
"maxLength": 2000,
"type": "string"
},
"tags": {
"description": "Short labels for filtering, such as a project, topic or kind of memory.",
"items": {
"maxGraphemes": 64,
"maxLength": 128,
"type": "string"
},
"maxLength": 16,
"type": "array"
},
"text": {
"description": "The memory itself, written to stand on its own when recalled without its original context.",
"maxGraphemes": 10000,
"maxLength": 30000,
"type": "string"
}
},
"required": [
"text",
"createdAt",
"embedding"
],
"type": "object"
},
"type": "record"
}