def __init__(
      self,
      agent_name: str,
      agent_background: str,
      model: language_model.LanguageModel,
      memories_length: int = 10,
  ):
    """Initializes the agent.
    
    Args:
      agent_name: The name of the agent.
      agent_background: The background intormation of the agent. This is used
        to prompt the model to engage in the roleplaying aspect of Concordia. It
        will be passed to the model at the top of the prompt when requesting an
        action.
      model: The language model to use for the agent.
      memories_length: The maximum number of memories to keep.
    """
    super().__init__()
    self._model = model
    self._agent_name = agent_name
    self._agent_background = agent_background
    self._memory = collections.deque(maxlen=memories_length)
Initializes the agent.
    
    Args:
      agent_name: The name of the agent.
      agent_background: The background intormation of the agent. This is used
        to prompt the model to engage in the roleplaying aspect of Concordia. It
        will be passed to the model at the top of the prompt when requesting an
        action.
      model: The language model to use for the agent.
      memories_length: The maximum number of memories to keep.
    
concordia/agents/deprecated/simple_llm_agent.py