To stay healthy, plants balance the energy they put into growing with the amount they use to defend against harmful bacteria. The mechanisms behind this equilibrium have largely remained mysterious. Now, engineers at Princeton have found an answer in an unexpected place: the harmless—or sometimes beneficial—bacteria that cluster around plants' roots.