Table of Contents

Constructor MemoryContextProvider

Namespace
Oscova.Agents.Memory
Assembly
Oscova.Agents.dll

MemoryContextProvider(IAgentMemoryService, string, IReadOnlyList<AITool>?)

Boot-loads the user's long-term memory index and recent daily logs into the agent's system prompt.

public MemoryContextProvider(IAgentMemoryService memoryService, string userId, IReadOnlyList<AITool>? memoryTools = null)

Parameters

memoryService IAgentMemoryService

The memory service used to read memory files.

userId string

The user whose memory to load.

memoryTools IReadOnlyList<AITool>?

Memory tools exposed when the memory provider is enabled for an agent.

Remarks

Initializes a new instance of Oscova.Agents.Memory.MemoryContextProvider.