Diversity-oriented synthesis of cyclic acyldepsipeptides leads to the discovery of a potent antibacterial agent.