Social behavior is common in the animal kingdom, but studies are often limited to the observational level, as few systems allow for perturbation in a controlled environment. To this end, we use C. elegans to dissect the behavioral mechanisms of aggregation, a simple social behavior. C. elegans natural isolates aggregate into tight groups, whereas the laboratory strain forms looser groups or feeds alone; the difference is due in part to a mutation in the neuropeptide receptor gene
npr-1 which arose during laboratory domestication. We quantified the behavior of N2, an
npr-1 mutant and a natural isolate using fluorescence imaging and automated animal tracking, and built a chain-like agent-based mathematical model to identify the key differences.