Scientists have developed an AI tool that can rapidly decode a brain tumour’s DNA to determine its molecular identity during surgery. This information can help surgeons decide how much brain tissue to remove and whether to place tumor-killing drugs directly into the brain.