Skip to content
providerkit
GitHub

ingestMemory

function ingestMemory(outcome, options): Promise<MemoryIngestResult>;

Defined in: agents/src/memory.ts:830

Explicit host action, never an observer hook. Pass an authoritative settled outcome and host-selected notes. The store, not this helper’s key, enforces the receipt transaction.

Parameter Type
outcome RunOutcome<unknown>
options { memory: MemoryBinding; notes: readonly MemoryInput[]; signal?: AbortSignal; }
options.memory MemoryBinding
options.notes readonly MemoryInput[]
options.signal? AbortSignal

Promise<MemoryIngestResult>