A synthetic diterpene analogue inhibits mycobacterial persistence and biofilm formation by targeting (p)ppGpp synthetases.