Specialized AI agents often adopt roles like 'Security Agent' to identify vulnerabilities and injection risks [3, 4, 13, 18]. 'Performance Agents' analyze code for inefficiencies, scalability bottlenecks, and N+1 query patterns [4, 13]. 'Logic/Correctness Agents' focus on detecting bugs, unreachable code, null dereferences, and missing edge cases [3, 4].