Compounds of formula (VII), which are useful as inhibitors of indoleamine 2,3-dioxygenase and/or tryptophan dioxygenase, are provided. Also provided are pharmaceutical compositions, kits comprising said compounds, and methods and uses pertaining to said compounds.