Skip to main content

Interface: SearchOptions

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

Properties

limit?

optional limit: number

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

Maximum results. Default: 10.


minConfidence?

optional minConfidence: number

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

Minimum confidence. Default: 0.


policy?

optional policy: MemoryRetrievalPolicy

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

Shared retrieval policy surface.


tags?

optional tags: string[]

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

Tags filter.


types?

optional types: MemoryType[]

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

Memory type filter.


usableFor?

optional usableFor: TrustCapability | TrustCapability[]

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

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.