Skip to content

LoomSession

One agent’s time with a loom in one interaction run: what it woke up knowing, what it was shown, what it recalled and wove. Night weaving reads it to judge what mattered and what went unused.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
loomIduuidThe loom.
interactionProcessIduuidThe interaction run the session belongs to.
agentNamestringThe agent’s name in the interaction.
agentIduuid | nullThe agent’s id, when known.
tapestrystring | nullWhat the agent woke up knowing (“What You Know”): woven once, on its first turn, then fixed for the rest of the session.
tapestryWovenAtdatetime | nullWhen the tapestry was woven (UTC). Null until the agent’s first turn.
subjectsstring[]The people and things present when the tapestry was woven: whoever sent messages, and the values of the interaction’s subject inputs.
tapestryThreadIdsuuid[]The threads the tapestry was woven from.
suggestedThreadIdsuuid[]Threads offered to the agent during the conversation because something said touched them.
heldBackThreadIdsuuid[]Threads the loom found for this agent this session but held back after vetting them, so the agent never saw them: a cue said in another sense, a guess that did not belong, a recall result that did not answer. They can come up again, and night weaving never counts them as unused.
cuedThreadIdsuuid[]Threads brought back this session because someone said one of their cues. A cue brings a thread back once a session; these are also in suggestedThreadIds, so night weaving judges them like any suggestion.
heldThreadIdsuuid[]Threads the agent pinned (held close) during this session. The tapestry it woke with already carries what was pinned before; these are put back when the conversation is summarised, so the agent keeps them.
pendingGiftThreadIdsuuid[]Threads another agent in this conversation gave this one, waiting to be offered on its next turn.
recalledThreadIdsuuid[]Threads the agent recalled (by searching or reflecting): evidence they were used.
wovenThreadIdsuuid[]Threads woven, reframed, pinned or cut during this session.
seenThreadIdsuuid[]Threads only shown to the agent (when it inspected the loom, or as knots and tensions in a reflection): known, not used.
pendingProposalsProposedThread[]Threads the loom proposes the agent weave, waiting to be offered on its next turn. Used when the interaction’s loom weaves in Suggest mode.
lastTurnAtdatetime | nullWhen the agent last took a turn in this session (UTC).
lastSequenceintegerThe furthest point in the conversation (its message sequence) an agent turn in this session has reached.
awaitingNightbooleanTrue while the session holds turns night weaving has not yet consolidated. A long conversation is consolidated night after night, each night reading only what happened after consolidatedUpToSequence.
consolidatedUpToSequenceintegerNight weaving has woven the conversation into episodes up to this message sequence.
judgedThreadIdsuuid[]Threads night weaving has already judged as used or unused for this session; each is judged only once.
consolidatedByNightWeavingIduuid | nullThe night weaving that most recently consolidated this session.
knownThreadIdsuuid[]Every thread this agent has been shown or has touched this session: the ids it may refer back to. Set by Maitento.
tenantIduuidThe id of the tenant it belongs to.
iduuidThe unique id. Use it in by-id routes and wherever another object refers to this one.
dateCreateddatetimeWhen it was created, in UTC.
dateUpdateddatetimeWhen it was last changed, in UTC.
{
"loomId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"interactionProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"agentName": "...",
"agentId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"tapestry": "...",
"tapestryWovenAt": "2026-10-26T12:00:00.0000000Z",
"subjects": [
"..."
],
"tapestryThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"suggestedThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"heldBackThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"cuedThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"heldThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"pendingGiftThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"recalledThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"wovenThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"seenThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"pendingProposals": [
{
"content": "...",
"kind": "Semantic",
"weight": 0,
"subjects": [],
"tags": [],
"cues": [],
"until": "2026-10-26T12:00:00.0000000Z",
"basis": "Said"
}
],
"lastTurnAt": "2026-10-26T12:00:00.0000000Z",
"lastSequence": 0,
"awaitingNight": false,
"consolidatedUpToSequence": 0,
"judgedThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"consolidatedByNightWeavingId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"knownThreadIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"dateCreated": "2026-10-26T12:00:00.0000000Z",
"dateUpdated": "2026-10-26T12:00:00.0000000Z"
}