The invention provides a compound of formula (I): or a salt or prodrug thereof, wherein R1, R4-R8, R10, R2′-R6′, W, and A have any of the values described in the specification, as well as compositions comprising a compound of formula (I). The compounds are useful as antibacterial agents.