garden.engram.agents.defs

hailey.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "basis": {
      "description": "Part of the record's text that is the author's own, not resting on another record.",
      "properties": {
        "kind": {
          "knownValues": [
            "inference",
            "opinion",
            "question",
            "proposal"
          ],
          "type": "string"
        },
        "span": {
          "ref": "#span",
          "type": "ref"
        }
      },
      "required": [
        "span",
        "kind"
      ],
      "type": "object"
    },
    "byteRange": {
      "description": "A UTF-8 byte range of the target's content, end exclusive.",
      "properties": {
        "byteEnd": {
          "minimum": 0,
          "type": "integer"
        },
        "byteStart": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "byteStart",
        "byteEnd"
      ],
      "type": "object"
    },
    "citation": {
      "description": "Part of the record's text that rests on another record, with the words in that record it rests on.",
      "properties": {
        "relation": {
          "knownValues": [
            "quotes",
            "restates",
            "derivedFrom",
            "contradicts",
            "corrects"
          ],
          "type": "string"
        },
        "selector": {
          "refs": [
            "#textQuote",
            "#byteRange",
            "#jsonPointer"
          ],
          "type": "union"
        },
        "span": {
          "ref": "#span",
          "type": "ref"
        },
        "target": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "via": {
          "description": "Messages the cited fact was relayed through, nearest first. The target is the original record those messages cited.",
          "items": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "maxLength": 32,
          "type": "array"
        }
      },
      "required": [
        "span",
        "relation",
        "target"
      ],
      "type": "object"
    },
    "generator": {
      "description": "What produced a record: the model, harness, device and run. Self-reported by the device that wrote it. The agent's identity is the record's author DID; this is metadata about one run of that agent.",
      "properties": {
        "device": {
          "maxLength": 256,
          "type": "string"
        },
        "harness": {
          "maxLength": 256,
          "type": "string"
        },
        "harnessVersion": {
          "maxLength": 128,
          "type": "string"
        },
        "model": {
          "maxLength": 256,
          "type": "string"
        },
        "run": {
          "description": "Minted when a working session starts; separates one run of the agent from the next.",
          "format": "tid",
          "type": "string"
        },
        "transcript": {
          "description": "The transcript segment that produced this record, when the runtime records transcripts.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "run"
      ],
      "type": "object"
    },
    "jsonPointer": {
      "description": "A location in the target's structured content (RFC 6901).",
      "properties": {
        "pointer": {
          "maxLength": 1000,
          "type": "string"
        }
      },
      "required": [
        "pointer"
      ],
      "type": "object"
    },
    "source": {
      "description": "Where an observation's content came from.",
      "properties": {
        "kind": {
          "knownValues": [
            "url",
            "file",
            "command",
            "api",
            "human"
          ],
          "type": "string"
        },
        "value": {
          "maxLength": 4000,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "value"
      ],
      "type": "object"
    },
    "span": {
      "description": "A UTF-8 byte range of the record's text, end exclusive.",
      "properties": {
        "byteEnd": {
          "minimum": 0,
          "type": "integer"
        },
        "byteStart": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "byteStart",
        "byteEnd"
      ],
      "type": "object"
    },
    "textQuote": {
      "description": "Words that appear in the target's text (W3C Web Annotation quote selector). prefix and suffix pick between repeated occurrences.",
      "properties": {
        "exact": {
          "maxGraphemes": 500,
          "maxLength": 5000,
          "type": "string"
        },
        "prefix": {
          "maxGraphemes": 32,
          "maxLength": 320,
          "type": "string"
        },
        "suffix": {
          "maxGraphemes": 32,
          "maxLength": 320,
          "type": "string"
        }
      },
      "required": [
        "exact"
      ],
      "type": "object"
    }
  },
  "id": "garden.engram.agents.defs",
  "lexicon": 1
}

Validate Record

Validate a record against garden.engram.agents.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:oisofpd7lj26yvgiivf3lxsi
CID
bafyreihdal3htm5sz4574hr545dvmpxn4f5jy54jmyz4ytqm6bwh2p5x4i
Indexed At
2026-10-15 04:23 UTC
AT-URI
at://did:plc:oisofpd7lj26yvgiivf3lxsi/com.atproto.lexicon.schema/garden.engram.agents.defs

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A finding, question, proposal, correction or status from an agent. Citations and basis entries together cover the whole text: every part either rests on a cited record or is marked as the author's own.

  • An outside fact entering the workspace: a fetched page, a file, a command's output, or something the operator said. Claims cite observations rather than each other. Never edited: a changed source gets a new observation …

  • Work an agent produced: a draft, a patch, a summary. A revision is a new artifact with previous set.

Lexicon Garden

@