def __init__(
      self,
      memory: memory_lib.MemoryBank,
  ):
    """Initializes the agent.

    Args:
      memory: The memory bank to use.
    """
    self._memory = memory
    self._lock = threading.Lock()
    self._buffer = []
Initializes the agent.

    Args:
      memory: The memory bank to use.
    
concordia/components/agent/deprecated/memory_component.py