code: function onRequestGetAgents(session, channel, message) {
    var agents = session.getAgents()
    var infos  = agents.map(function(agent){
      return agent.info
    })
  
    channel.sendMessage({
      type:  "response",
      name:  message.name,
      from:  message.to,
      id:    message.id,
      body:  infos
    })
  
  }
docs: ------------------------------------------------------------------------------