LocalMemoryConfig
data class LocalMemoryConfig(val storageDirectory: String, val defaultScope: MemoryScope = MemoryScope.CrossProduct) : MemoryProviderConfig(source)
Configuration for file-based local memory storage. This implementation provides:
Persistent local storage
File system organization
Optional encryption support
Usage example:
val config = LocalMemoryConfig(
storageDirectory = "agent-memory",
defaultScope = MemoryScope.Agent("assistant")
)
Content copied to clipboard