Package-level declarations

Types

Link copied to clipboard
class AgentMemory(val agentMemory: AgentMemoryProvider, val scopesProfile: MemoryScopesProfile)

Memory implementation for AI agents that provides persistent storage and retrieval of facts.

Functions

Link copied to clipboard

Extension function to access the AgentMemory feature from a AIAgentStageContext.

Link copied to clipboard
suspend fun AIAgentLLMWriteSession.retrieveFactsFromHistory(concept: Concept, clock: Clock = Clock.System): Fact

Extracts facts about a specific concept from the LLM chat history.

Link copied to clipboard
suspend fun <T> AIAgentContext.withMemory(action: suspend AgentMemory.() -> T): T

Extension function to perform memory operations within a AIAgentStageContext.