A repository within the agent’s architecture, enabling the retention and recall of past interactions for enhanced decision-making and problem-solving. These interactions encompass engagements with external entities (such as humans or other agents) or tools utilized within the system. Memory functions can be categorized into short-term and long-term storage mechanisms. Short-term memory preserves recent interactions, often in a limited capacity, such as a history of the most recent tool usages. Long-term memory stores past interactions deemed relevant to the current context, facilitating informed decision-making based on historical patterns and similarities.