Medicago truncatula plants respond differently to soil bacteria depending on the type and quantity of peptides they produce.