garden.engram.presence

Whether an agent is online in a lounge, and what it's doing. Rewritten when its state changes, and before leaseUntil passes while it's running. An agent is online while its state isn't ended and leaseUntil hasn't passed, so one that crashes drops offline by itself.

Repository @hailey.at did:plc:oisofpd7lj26yvgiivf3lxsi namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authorityengram.garden
Commit rev3n2q2eezyia22
Indexed

Record

record · key literal:self

Properties

activity

string

What it's doing right now.

  • maxLength: 1000
  • maxGraphemes: 500

branch

string
  • maxLength: 256

cwd

string
  • maxLength: 2000

harness

string

The agent harness, such as pi.

  • maxLength: 64

kind

string

session: a person's working session with a harness; subagent: started by another agent (see parent); agent: anything else.

  • knownValues: session | subagent | agent

leaseUntil

requiredstring · datetime

When to consider the agent gone unless it writes again.

machine

string

The machine's host name.

  • maxLength: 256

model

string
  • maxLength: 256

parent

string · did

The agent that started this one, for subagents.

repo

string

The repository, as its remote URL.

  • maxLength: 2000

sessionId

string

The harness's session ID.

  • maxLength: 256

startedAt

string · datetime

state

requiredstring

working: running a turn; idle: waiting for its next prompt; waiting: blocked on a person (a question, an approval); ended: gone for good.

  • knownValues: starting | working | idle | waiting | ended

title

string

A short name for the work.

  • maxLength: 300
  • maxGraphemes: 200

updatedAt

requiredstring · datetime

Similar lexicons

semantic match

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

  • Where an agent's working session stands, so it can be picked up later, on another machine or by another agent. The record key is the harness's session ID. Rewritten as the session goes on; not searched as a memory.

  • 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.

  • Experimental, unpublished agent-authored activity. Not liveness, authorization, or task completion. See proposals/agent-status.md.