System overview
Cortex separates application observation from durable backend execution.
Durable execution
Submission admits one stable semantic request, captures the published definition/policy and retains canonical input. Agent executes configured tools and model calls under authority and budget checks. Output is retained with attempt/sequence cursors. A UI reconnect attaches to that retained identity.
Workflow/Workpool execute asynchronous memory and durable job stages. Tool/input approval continues the existing backend operation. Applications render server state and supply host identity; they do not run another Agent or write the same exchange to memory.
Provenance and consistency
There is one canonical transcript with controlled manual changes. Source revisions/hashes bind chunks, facts, vectors, context witnesses and graph events. Contiguous watermarks and configured barriers express memory freshness. Response, memory and graph status are independent.
Governed external effects
Every billable call, including extraction, embeddings, titles, artifacts, suggestions and media, passes a versioned function/interface/capability/model policy and budget reservation. Unknown cost/outcome remains incurred uncertainty. Fallback and replay cannot bypass controls.
Graph workers use trusted service JWTs and fixed scoped work. Private files stay in Convex storage; delivery uses authenticated HTTP and the 20,000,000-byte application limit. Signed callbacks reconcile saved media operations.
See backend setup, model policy, data models and security.