Long-term agent memory