How Do AI Agents Store and Retrieve Long-Term Memory