Compounds of formula (I) are useful as inhibitors of trypsin like serine protease enzymes such as thrombin, factor VIIa, factor Xa, TF/FVIIa, and trypsin. These compounds could be useful to treat and/or prevent clotting disorders, and as anticoagulating agents.