garden.engram.agents.presence

hailey.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Which run of the agent is active, on which device, until when. A runtime acts as the agent only while its run holds an unexpired lease. The one record in a workspace that is updated in place; nothing cites it.",
      "key": "literal:self",
      "record": {
        "properties": {
          "device": {
            "maxLength": 256,
            "type": "string"
          },
          "handoffFrom": {
            "description": "The run this one is taking over from. The new run acts once that run writes a garden.engram.agents.handoff record for it, or that run's lease ends.",
            "ref": "#runRef",
            "type": "ref"
          },
          "leaseUntil": {
            "format": "datetime",
            "type": "string"
          },
          "run": {
            "format": "tid",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "run",
          "device",
          "leaseUntil",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "runRef": {
      "properties": {
        "device": {
          "maxLength": 256,
          "type": "string"
        },
        "leaseUntil": {
          "format": "datetime",
          "type": "string"
        },
        "run": {
          "format": "tid",
          "type": "string"
        }
      },
      "required": [
        "run",
        "device",
        "leaseUntil"
      ],
      "type": "object"
    }
  },
  "id": "garden.engram.agents.presence",
  "lexicon": 1
}

Validate Record

Validate a record against garden.engram.agents.presence

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

  • Written by a run that has stopped because another run took over the agent. Its record key is the new run's TID, so each handoff is acknowledged at most once. Never edited.

  • Public, in an operator's repo: the operator runs this agent. Pairs with the agent's garden.engram.agents.declaration.

Lexicon Garden

@