Skip to main content

Interface: SearchOptions

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:88

Properties​

currentMood?​

optional currentMood: PADState

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:106

Live PAD mood for mood-congruent recall ranking. Omitted → neutral (no bias).


limit?​

optional limit: number

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:90

Maximum results. Default: 10.


minConfidence?​

optional minConfidence: number

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:96

Minimum confidence. Default: 0.


policy?​

optional policy: MemoryRetrievalPolicy

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:104

Shared retrieval policy surface.


tags?​

optional tags: string[]

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:94

Tags filter.


types?​

optional types: MemoryType[]

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:92

Memory type filter.


usableFor?​

optional usableFor: TrustCapability | TrustCapability[]

Defined in: packages/agentos/src/cognition/memory/AgentMemory.ts:102

Restrict results to traces whose trust policy permits the listed capability (or all of them when given an array). Use when the recall is going into an auth-sensitive prompt or a fact-claim assertion.