Diketoacids of Formula A are useful as inhibitors of viral polymerases. In particular hepatitis C virus RNA dependent RNA polymerase (HCV RdRp), hepatitis B virus polymerase (HBV pol) and reverse transcriptase of human immunodeficiency virus (HIV RT):