Adaptive Agent: Self-Evolving RAG for AI Memory Management