Interface: MemoryHealth
Defined in: packages/agentos/src/memory/facade/types.ts:548
Snapshot of the memory store's health and usage statistics.
Returned by Memory.health().
Properties
activeTraces
activeTraces:
number
Defined in: packages/agentos/src/memory/facade/types.ts:557
Number of traces that are currently active (strength > pruneThreshold).
avgStrength
avgStrength:
number
Defined in: packages/agentos/src/memory/facade/types.ts:562
Mean Ebbinghaus strength across all active traces (0–1).
documentsIngested
documentsIngested:
number
Defined in: packages/agentos/src/memory/facade/types.ts:598
Total number of document chunks ingested via Memory.ingest().
graphEdges
graphEdges:
number
Defined in: packages/agentos/src/memory/facade/types.ts:577
Number of edges in the knowledge graph (0 when graph is disabled).
graphNodes
graphNodes:
number
Defined in: packages/agentos/src/memory/facade/types.ts:572
Number of nodes in the knowledge graph (0 when graph is disabled).
lastConsolidation
lastConsolidation:
string|null
Defined in: packages/agentos/src/memory/facade/types.ts:583
ISO 8601 timestamp of the last successful consolidation run.
null if consolidation has never been run.
totalTraces
totalTraces:
number
Defined in: packages/agentos/src/memory/facade/types.ts:552
Total number of traces in the store (active + inactive).
tracesPerScope
tracesPerScope:
Record<string,number>
Defined in: packages/agentos/src/memory/facade/types.ts:593
Trace count broken down by visibility scope.
tracesPerType
tracesPerType:
Record<string,number>
Defined in: packages/agentos/src/memory/facade/types.ts:588
Trace count broken down by Tulving memory type.
weakestTraceStrength
weakestTraceStrength:
number
Defined in: packages/agentos/src/memory/facade/types.ts:567
Strength of the weakest active trace.