Optimizing Agent Memory with Utility-Based Ranking | KnowAI Space