Skip to main content

Run Memory vs Object-Graph Memory

Run memory describes what happened in an agent session. Durable memory and business records describe context and state that survive the session. They answer different questions and can complement each other.

Different records, different meanings​

RecordWhat it describesBoundary
Session traceConversation, tool calls, command output, local changes, and interruptionsIts scope is the recorded run.
Durable memorySaved context, decisions, preferences, and provenance in records such as MemoryEntrySaving context establishes a memory write, not completion of another action.
Business objectTyped state such as ContentData, Task, or WorkflowIts owning API and authorization rules remain authoritative.
Execution receiptThe observed status and evidence of a particular operationAdmission, running, failure, and successful completion are distinct outcomes.

Where GrayMatter fits​

GrayMatter provides durable memory and context over the object graph visible to the authenticated principal and tenant. ThorAPI supplies schema-native models and API contracts. The deployed schema determines which business objects are available; a type name written in a memory does not establish that an object exists or that the caller can read it.

Relationships retain the server's authorization boundaries. The ordinary MemoryEntry create path rejects client-supplied relationships. Server-authorized formation paths resolve explicit references through the available schema and authorized target reads. A reference in memory does not grant access to its target.

Live coordination has a separate role. SwarmOps handles agent registration, presence, and coordination state. ValkyrAI handles workflow execution. GrayMatter holds durable memory and authorized object-graph context around that work.

Evidence and identity​

A saved note about a deployment describes the note's content. Deployment receipts and live verification provide evidence about the deployment itself. The same distinction applies to a workflow result, an artifact, or a completed business task.

Original Application and Project identity, the acting principal, and the exact runtime or artifact have separate binding contracts. Client-supplied identifiers and cached status labels do not establish those bindings. An authorized object link and an authoritative execution receipt each contribute their own evidence.

Conceptual examples​

For an API change, a session trace can contain edits and command output. Durable context can reference the source definition, artifact identity, and observed validation result. Publication and deployment retain their own receipts.

For a workflow, session context can explain an agent's local decisions. The workflow definition and its execution records describe the durable system state and observed outcome. A queued record describes admission; a terminal execution record describes how that execution ended.

These examples explain record boundaries. They do not establish that a client has executed a journey, that every reference has been bound automatically, or that a deployment has passed acceptance.