The invention provides new IAP inhibitors that are useful as therapeutic agents for treating malignancies, wherein the compounds have the general formula I: (see formula I) wherein X, Y, A, R1, R2, R3, R4, R4 ' , R5, R5 ', R6 and R6' are as described herein.