real-time AI adaptation