Swarm Ai Logic