Rice University researchers used a custom AI to study how Myxococcus xanthus bacteria transition from swarms to fruiting bodies.