Skip to main content

Module memory

Module memory 

Source
Expand description

Memory and learning system for the agent.

Core types (MemoryStore, MemoryItem, MemoryType, RelevanceConfig, FileMemoryStore, InMemoryStore) live in a3s-memory.

This module owns MemoryConfig, MemoryStats, AgentMemory (three-tier session memory), and MemoryContextProvider (context injection bridge).

Structsยง

AgentMemory
Three-tier agent memory: working, short-term (session), and long-term (persisted).
MemoryConfig
Configuration for the agent memory system (three-tier: working/short-term/long-term)
MemoryContextProvider
Context provider that surfaces past memories as agent context.
MemoryStats
Statistics for the three-tier agent memory system