Moving AI around player and be able to choose which direction they group up at (like in Pikmin)

I am working on a project that requires the Ai to move around the player, somewhat like in Pikmin. I have tried unsuccessfully to acquire the desired outcome. The Airport must huddle around the player and then by input of mouse or key they should should group up near the player in said direction. Thanks in advance as any help would be welcomed.