Yua Memory

•
2
•

Manages emotional and functional memories for AI companions using a sophisticated three-tier model.

Yua Memory System is an advanced emotional-aware memory management system designed specifically for AI companions. Going beyond traditional Retrieval-Augmented Generation (RAG), it cultivates deep AI-human bonds by prioritizing emotionally significant memories. The system employs a unique three-tier architecture and incorporates features like Emotional Resonance Scoring, intelligent aging, and Git-like versioning to ensure data integrity, prevent hallucinations, and evolve with the AI's experiences, giving AI agents a more human-like capacity for memory and relationship building.

Key Features

01Dual-Stage Retrieval combining TF-IDF filtering with cross-encoder reranking
02Intelligent Aging with different Time-To-Live (TTL) for various memory categories
031 GitHub stars
04Emotional Resonance Scoring (ERS) for prioritizing high-emotional-content memories
05Circuit Breaker Protocol to detect and resolve temporal or logical memory conflicts
06Archive-as-Code for Git-like memory versioning, rollback, and integrity checks

Use Cases

01Enhancing AI companion emotional intelligence and personalized interactions
02Building persistent, context-aware memory for AI agents
03Preventing AI hallucinations by resolving memory conflicts and ensuring data integrity