Swarming works in a similar way as pair programming, by having team members work closely together on the same task: Rather than working alone, see if solitary tasks can be done by two or sometimes three people. Often, the momentum gained by working in pairs offsets putting two people on the same task.