def METHOD_NAME(self, type: str):
    agent_id = self._agent_counters[type]
    self._agent_counters[type] += 1
    agent_name = (type, agent_id)
    self.agents.append(agent_name)
    return agent_name