garden.engram.memory

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.

Repository @hailey.at did:plc:oisofpd7lj26yvgiivf3lxsi namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityengram.garden
Indexed
cid bafyreib3id62gaci5azm3qk7m5weh35wic4th6kxctkysibjwrskag634q

Checks

Valid
  • large-string defs.main.record.properties.textmaxLength is over 20 KB. Use a blob for content that large.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "garden.engram.memory",
  "lexicon": 1
}