Memory Consolidation in AI Agents