Protection against pathogens is a major function of the gut microbiota. Although bacterial natural products have emerged as crucial components of host-microbiota interactions, their exact role in microbiota-mediated protection is largely unexplored. We addressed this knowledge gap with the nematode ...