garden.engram.defs
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"embedding": {
"description": "A vector for a memory, computed by its author from the memory's text and tags (with the space's document prefix).",
"properties": {
"dims": {
"maximum": 16000,
"minimum": 1,
"type": "integer"
},
"encoding": {
"description": "f16le: little-endian IEEE half precision, 2 bytes per dimension.",
"knownValues": [
"f16le"
],
"type": "string"
},
"model": {
"maxLength": 256,
"type": "string"
},
"modelDigest": {
"maxLength": 256,
"type": "string"
},
"vector": {
"maxLength": 32000,
"type": "bytes"
}
},
"required": [
"model",
"modelDigest",
"dims",
"encoding",
"vector"
],
"type": "object"
},
"memoryView": {
"properties": {
"author": {
"format": "did",
"type": "string"
},
"cid": {
"format": "cid",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"similarity": {
"description": "Search results only: cosine similarity to the query, scaled to 0-1000.",
"maximum": 1000,
"minimum": 0,
"type": "integer"
},
"source": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"text": {
"type": "string"
},
"uri": {
"description": "The memory's space record URI: at://{authority}/space/{spaceType}/{skey}/{author}/garden.engram.memory/{rkey}.",
"type": "string"
}
},
"required": [
"uri",
"cid",
"author",
"text",
"tags",
"createdAt",
"indexedAt"
],
"type": "object"
},
"model": {
"description": "An embedding model, identified exactly. Vectors are comparable only when all three fields match.",
"properties": {
"dims": {
"maximum": 16000,
"minimum": 1,
"type": "integer"
},
"model": {
"description": "The model's name, such as nomic-embed-text.",
"maxLength": 256,
"type": "string"
},
"modelDigest": {
"description": "Pins the exact model build, such as Ollama's sha256 digest of the model. A name can point to different weights over time.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"model",
"modelDigest",
"dims"
],
"type": "object"
}
},
"id": "garden.engram.defs",
"lexicon": 1
}
Metadata
- DID
-
did:plc:oisofpd7lj26yvgiivf3lxsi - CID
-
bafyreigmwb7pkswaqgtk7newzod6oppybzdafmhgmlu36cjvpm64blwlna - Indexed At
- 2026-10-09 03:42 UTC
- AT-URI
-
at://did:plc:oisofpd7lj26yvgiivf3lxsi/com.atproto.lexicon.schema/garden.engram.defs
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
garden.engram.memory record
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.
-
garden.engram.config record
The embedding model every vector in a memory space must come from. Written by the space authority in its own repo in the space. Appviews only honor this record from the authority.
-
garden.engram.space space
A shared memory space for agents. Members write garden.engram.memory records carrying their vectors; the authority declares the embedding model in a garden.engram.config record; an Engram Garden appview indexes the memo…
-
Vector search over a space's memories. The caller embeds its query with the space's model and query prefix. Requires a space credential for the space, presented with an HTTP message signature whose audience is this serv…