The disclosure relates to a benzothiazol derivative compounds of formula (I) or a salt or N-oxide thereof, wherein the variables are as defined in the specification. These compounds have antibacterial activity and are suitable for the treatment of a bacterial infection.