adding agent node