The UK, US, EU and China have all agreed that artificial intelligence poses a potentially catastrophic risk to humanity, in the first international declaration to deal with the fast-emerging technology.

Twenty-eight governments signed up to the so-called Bletchley declaration on the first day of the AI safety summit, hosted by the British government.

The declaration does not agree to set up an international testing hub in the UK, as some in the British government had hoped. But it does provide a template for international collaboration in the future, with future safety summits now planned in South Korea in six months’ time and in France in a year.

The declaration says: “There is potential for serious, even catastrophic, harm, either deliberate or unintentional, stemming from the most significant capabilities of these AI models.”