This invention relates to class of compounds which are cysteine protease inhibitors, including but not limited to, inhibitors of cathepsins K, L, S and B. These compounds are useful for treating diseases in which inhibition of bone resorption is indicated, such as osteoporosis. They have the following structure: Formula (I)