The EU agrees on the first law to regulate artificial intelligence