Skip to content
PACKAGES

agenticMemoryRetentionBundle()

Creates an agentic memory retention bundle.

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

A bundle of graph-visible nodes for the recipe.

import { agenticMemoryRetentionBundle } from "@graphrefly/ts/solutions/agentic-memory";

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