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 family | Contract |
|---|---|
| Principal, membership, grant and scope | Verified actor, capability/resource access, versions/epochs and expiry |
| Agent definition/version | Instructions, registered tools/context, policy pins and definition hash |
| Run and output | Stable request, queue order, attempt/cursor, response/memory/graph states |
| Canonical conversation/message | Ownership, approval, locks, history revision and ordered source parts |
| Memory source/chunk/fact/vector | Scope, immutable identity, current revision/hash, derivation/profile provenance |
| Context witness and watermarks | Authorized inputs, captured cutoffs, contiguous stage completion |
| Model budget/attempt/receipt | Admission, retained liability, dispatch identity and terminal evidence |
| Graph connector/outbox/lease | Scoped service authority, ordered work and remote fences |
| Asset and immutable version | Convex storage, hash/MIME/size, lineage and retained references |
| Content/media job and artifact | Saved intent/operation, version pointer, publication/cancellation state |
| Tombstone/erasure/reference state | Deletion 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.