Studying microscopic worms, scientists have identified a brain circuit that drives repetitive behavior — providing potential clues for understanding some human psychiatric conditions.