Mechanisms that allow AI agents to retain information temporarily (short-term) or persist knowledge over time (long-term).