Interface ProspectiveMemoryItem

interface ProspectiveMemoryItem {
    id: string;
    content: string;
    triggerType: ProspectiveTriggerType;
    triggerAt?: number;
    triggerEvent?: string;
    cueEmbedding?: number[];
    cueText?: string;
    similarityThreshold?: number;
    importance: number;
    triggered: boolean;
    recurring: boolean;
    createdAt: number;
    sourceTraceId?: string;
}

Properties

id: string
content: string

What the agent should remember to do.

How this memory is triggered.

triggerAt?: number

For time_based: Unix ms when this should fire.

triggerEvent?: string

For event_based: event name to match.

cueEmbedding?: number[]

For context_based: embedding of the cue phrase.

cueText?: string

For context_based: raw cue text (for display).

similarityThreshold?: number

Minimum similarity for context-based triggers.

Default

0.7
importance: number

Importance / priority.

triggered: boolean

Whether this has been triggered and delivered.

recurring: boolean

Whether to re-trigger (recurring).

createdAt: number

Creation timestamp.

sourceTraceId?: string

Source trace ID (if linked to a memory trace).