Real-time protection for AI models and agents