Question: do swarms get attacks of opportunity?
Answer: Swarms do not threaten creatures, and do not make Attacks of Opportunity with their swarm attack. However, they distract foes whose squares they occupy, as described below. Swarms possess the Distraction universal Monster rule.