Skip to content

Loom

A loom: an agent’s long-term memory. It holds the threads one agent (or a group of agents) weaves across conversations, lives in a namespace, and is bound to an interaction’s agents when a run starts.

Kind: an object, used in responses.

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

FieldTypeDescription
namestringThe loom’s name, unique within its namespace.
descriptionstring | nullWhat the loom is for, in your own words. Null when none was given.
scopeKeystring | nullSet on a loom an interaction’s loom scope created for itself (one per interaction, per agent or per value of a scope input), and identifies which one it is. Null on a loom you created yourself and on one made for a single run.
seedFromLoomIduuid | nullThe loom this one inherits from: the first time an agent wakes up with it, the source’s shared knowledge is copied in. Set when an interaction with seedFrom creates the loom.
seededAtdatetime | nullWhen seeding from seedFromLoomId began (UTC). It happens only once; null until then.
settingsLoomSettingsNight weaving, its quiet period and the model it uses.
lastWovenAtdatetime | nullWhen a thread was last woven into this loom, by anyone (UTC).
lastActivityAtdatetime | nullWhen an agent last took a turn with this loom bound (UTC). Night weaving waits for a quiet period after it.
lastActivityProcessIduuid | nullThe run behind lastActivityAt. Night weaving uses that run’s model credentials, and its usage is attributed to that run.
lastNightWeavingAtdatetime | nullWhen night weaving last ran on this loom (UTC). Null if it never has.
nightWeavingPendingbooleanTrue while there is activity night weaving has not yet consolidated.
nightWeavingNotBeforedatetime | nullAfter a night weaving that failed, the next attempt waits until this time (UTC).
namespaceIduuidThe id of the namespace it belongs to.
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.
{
"name": "...",
"description": "...",
"scopeKey": "...",
"seedFromLoomId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"seededAt": "2026-10-26T12:00:00.0000000Z",
"settings": {
"nightWeaving": false,
"quietMinutes": 0,
"weaverModel": "...",
"effectiveNightWeaving": false,
"effectiveQuietPeriod": "00:05:00"
},
"lastWovenAt": "2026-10-26T12:00:00.0000000Z",
"lastActivityAt": "2026-10-26T12:00:00.0000000Z",
"lastActivityProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"lastNightWeavingAt": "2026-10-26T12:00:00.0000000Z",
"nightWeavingPending": false,
"nightWeavingNotBefore": "2026-10-26T12:00:00.0000000Z",
"namespaceId": "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"
}