Disclosed herein are 5 or 8-substituted imidazo[l,5-a]pyridines and pharmaceutical compositions comprising at least one such 5 or 8-substituted imidazo[l,5-a]pyridines, processes for the preparation thereof, and the use thereof in therapy. Disclosed herein are certain 5 or 8- substituted imidazo[l,5-a]pyridines that can be useful for inhibiting indoleamine 2,3- dioxygenase and/or tryptophane 2,3-dioxygenase and for treating diseases or disorders mediated thereby.