API Security Enhancement with AI Agents