code: function sessionCreated(err, session) {
    if (err) throw err
  
    console.log("session created, getting remote agents")
  
    // add an event handler when a new agent is created in the session
    // event handler will perform an "echo" request
    session.on("ragentCreated", agentCreated)
  
    // get all of the current agents known
    session.getRemoteAgents(gotRemoteAgents)
  }
docs: --------------------------------------------------------- session was created (or error)