getAgentMemory

Gets the sessions stored in the memory of the agent.