Mounting long pipe as curtain rod from ceiling between exposed beams. What are these hex bolt sleeves used for existing pipes / better alternative?
That is called a rod coupling nut.



The part above it is a double ended wood screw threaded rod stud, or something like that



Or you can buy a vertical threaded rod hanger