This disclosure relates to compounds, compositions and methods for the treatment of various disorders. In particular, the disclosure relates to thiazolotriazole and thiazoloimidazole compounds which agonize the activity of the protein TGR5. Formula (I)Linvention concerne des composés, des compositions et des méthodes pour le traitement de divers troubles. En particulier, linvention concerne des composés de thiazolotriazole et de thiazoloimidazole qui perturbent lactivité de la protéine TGR5.