AgentMemory
Defined in: agents/src/memory.ts:139
Properties
Section titled “Properties”limit?
Section titled “limit?”optional limit?: number;Defined in: agents/src/memory.ts:141
At most 20 matches. Default 5.
maxChars?
Section titled “maxChars?”optional maxChars?: number;Defined in: agents/src/memory.ts:143
Complete rendered block, including framing. Default 4,000; at most 16,000.
onError?
Section titled “onError?”optional onError?: "fail" | "continue";Defined in: agents/src/memory.ts:145
Default continue. Scope violations and erased access always fail closed.