Skip to main content

Interface: MemoryView

Defined in: packages/agentos/src/orchestration/ir/types.ts:380

A read-only snapshot of memory state visible to a node during execution. Populated by the runtime before the node's executor is called; immutable thereafter.

Properties

pendingWrites

pendingWrites: readonly object[]

Defined in: packages/agentos/src/orchestration/ir/types.ts:394

Writes staged during this node's execution, not yet committed to the store.


readLatencyMs

readLatencyMs: number

Defined in: packages/agentos/src/orchestration/ir/types.ts:402

Wall-clock time in milliseconds spent on the memory read operation.


totalTracesRead

totalTracesRead: number

Defined in: packages/agentos/src/orchestration/ir/types.ts:400

Total number of traces that matched the read filter (before maxTraces capping).


traces

traces: readonly object[]

Defined in: packages/agentos/src/orchestration/ir/types.ts:382

Traces retrieved according to the node's MemoryPolicy.read configuration.