Skip to main content
LongTermMemory is the AgentScope interface for persisting user preferences, facts, and key takeaways across multiple turns and sessions. The agentscope-extensions-* repository ships ready-to-use implementations for the major memory stores: All three implement the same io.agentscope.core.memory.LongTermMemory interface and are wired into an Agent the same way:

Choosing an implementation

  • Want a single docker run to start locally → Mem0 or ReMe
  • Already on Alibaba Cloud Bailian → Bailian
  • Need metadata filtering (slice memory by business dimension) → Mem0
  • Care about end-to-end conversation trajectory summarization → ReMe
The implementations only differ in initialization parameters and filter semantics; they are transparent to the Agent itself. See each subpage for details.