Disclosed are compounds of formula (I), wherein the substituents are as defined in the specification. Also disclosed are pharmaceutical compositions comprising a compound of formula I, processes for preparing compounds of formula I, intermediates useful for preparing compounds of formula I and therapeutic methods for treating a Retroviridae viral infection including an infection caused by the HIV virus.