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 runto 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