A2A agonists of formula (I) is provided, wherein R1, R2, R4, R5, X, Y, Z, n, p, and q are as described herein.