class_docstr: Manages interactions between agents on messenger as well as direct interactions
  between agents and the messenger overworld.
docstr: Initialize an agent and return it.
  
  Called each time an agent is placed into a new task.
  
  :param task_id:
      string task identifier
  :param agent_id:
      int agent id
docstr_tok: ["Initialize","an","agent","and","return","it",".","Called","each","time","an","agent","is","placed","into","a","new","task",".",":","param","task_id",":","string","task","identifier",":","param","agent_id",":","int","agent","id"]
code: def _create_agent(self, task_id, agent_id):
      """
      Initialize an agent and return it.
  
      Called each time an agent is placed into a new task.
  
      :param task_id:
          string task identifier
      :param agent_id:
          int agent id
      """
      return MessengerAgent(
          self.opt, self, task_id, agent_id, self.service_reference_id
      )
  
imports: import logging
  import os
  from parlai.core.agents import create_agent
  import parlai.chat_service.utils.logging
  import parlai.chat_service.utils.server
  from parlai.utils.io import PathManager
  from parlai.chat_service.services.messenger.agents import MessengerAgent
  from parlai.chat_service.core.socket import ChatServiceMessageSocket
  from parlai.chat_service.services.messenger.message_sender import MessageSender
  from parlai.chat_service.core.chat_service_manager import ChatServiceManager
label_desc: Use image node_id 13 for calling the MessengerManager obj's underlying member method code with example usage: obj._create_agent(task_id, agent_id) and returns: MessengerAgent