GraphReFlyTS

API Reference

agenticMemoryRecordChangeFrame()

Creates an agentic memory record change frame.

Import

import { agenticMemoryRecordChangeFrame } from "@graphrefly/ts/adapters";

Signature

function agenticMemoryRecordChangeFrame(records: readonly AgenticMemoryRecord<TJson>[]): AgenticMemoryRecordChangeFrame<TJson>

Parameters

ParameterTypeDescription
recordsreadonly AgenticMemoryRecord<TJson>[]Records to encode, persist, or project.

Returns

The agentic memory record change frame result.

Example

import { agenticMemoryRecordChangeFrame } from "@graphrefly/ts/adapters";

Source

packages/ts/src/adapters/agentic-memory-storage.ts