A newly developed artificial intelligence algorithm can accurately and reliably assess unconsciousness in patients under anesthesia based on brain activity.