# Memory Memory is a collection of data corresponding to the conversation history of an agent. Data in meory can be just a simple list of all messages, or a sightly more realistic one which provides a view of the last N messages ({py:class}`agnext.chat.memory.BufferedChatMemory`).