Artificial intelligence can provide critical insights into how complex mixtures of chemicals in rivers affect aquatic life -- paving the way for better environmental protection.