Skip to content
PACKAGES

agenticMemoryContextPackingBundle()

Creates an agentic memory context packing bundle.

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

A bundle of graph-visible nodes for the recipe.

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

packages/ts/src/solutions/agentic-memory/context-packing.ts