Researchers have developed a framework that explains how bees use environmental signals to collectively cluster and continuously ventilate the hive.