Skip to content
PACKAGES

agenticMemoryConsolidationBundle()

Creates an agentic memory consolidation bundle.

import { agenticMemoryConsolidationBundle } from "@graphrefly/ts/solutions";
function agenticMemoryConsolidationBundle(
graph: Graph,
opts: AgenticMemoryConsolidationBundleOptions<T>,
): AgenticMemoryConsolidationBundle<T>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsAgenticMemoryConsolidationBundleOptions<T>Options that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { agenticMemoryConsolidationBundle } from "@graphrefly/ts/solutions/agentic-memory";
  • D151: each input DATA is one complete identity/revision/digest/source-refs occurrence. Policy and prior records travel in its value, never independent latest-value dependencies. Outputs preserve that identity; replay conflicts and retention overflow fail closed. The fixed recipe topology is retained for its graph lifetime; input snapshots are bounded by maxOccurrences, not a claim that one protocol wave is one business occurrence.

packages/ts/src/solutions/agentic-memory/consolidation.ts