An international team of researchers has shown how a bacterial community evolves to survive hostile host defenses in the body.