Skip to main content

Data models

The runtime uses clean-slate provenance-aware records alongside the existing explicit SDK domain APIs. Backend tables are composed additively with the host schema.

Record familyContract
Principal, membership, grant and scopeVerified actor, capability/resource access, versions/epochs and expiry
Agent definition/versionInstructions, registered tools/context, policy pins and definition hash
Run and outputStable request, queue order, attempt/cursor, response/memory/graph states
Canonical conversation/messageOwnership, approval, locks, history revision and ordered source parts
Memory source/chunk/fact/vectorScope, immutable identity, current revision/hash, derivation/profile provenance
Context witness and watermarksAuthorized inputs, captured cutoffs, contiguous stage completion
Model budget/attempt/receiptAdmission, retained liability, dispatch identity and terminal evidence
Graph connector/outbox/leaseScoped service authority, ordered work and remote fences
Asset and immutable versionConvex storage, hash/MIME/size, lineage and retained references
Content/media job and artifactSaved intent/operation, version pointer, publication/cancellation state
Tombstone/erasure/reference stateDeletion fences and explicit cleanup/partial outcome receipts

Identifiers are selectors. Reads/effects must derive authority from current backend records, and derivations must match current source/profile provenance. A retained job or local snapshot never owns a copied permission.

The embedding profile defines model, dimensions, normalization, chunking and index name. Profile generations do not mix. This runtime does not migrate legacy transcripts, deployments, data or embeddings automatically.

See types, canonical history and lower-level API reference.