Google, Microsoft and Nvidia are among the companies that have agreed to 10 principles for developing artificial intelligence after meeting Britain’s King Charles III. The principles take their name from Dumfries House in Ayrshire, Scotland, where the King convened a summit of AI leaders in September. They say people must remain answerable for decisions when the stakes are highest.

The Ditchley Foundation, which promotes ties between the UK and the US, drew up the principles with input from industry, government and academia. The framework treats AI as essential to human progress but calls for prudence, fairness and respect for human dignity. It says AI must serve people and protect the environment. Its principles apply in the physical world as well as online.

The companies agreed that developers should build safety, honesty and transparency into AI systems. They also called for a fair distribution of AI’s benefits and burdens, more opportunities for fulfilling work and better access to education for young people and those at a disadvantage. James Arroyo, the foundation’s director, described the principles as a starting point for putting people at the centre of AI development.

At Buckingham Palace on Friday, the King said responsible use of AI had become more urgent and there was “little time to lose” in protecting people. He said he had heard of lively debate and occasional disagreements since the summit, but what encouraged him was the participants’ willingness to listen to one another. He wanted people to benefit from AI while recognising that humanity, as part of nature, “remains sacred”.

Sir Demis Hassabis, who leads Google DeepMind, told the palace audience that people should always control AI. He argued for developing AI as a tool for science and human progress rather than creating an autonomous or conscious entity to which people might surrender control.

One principle states: “Power carries responsibility and should not be unaccountable.” Nvidia chief Jensen Huang attended the meeting at which the companies agreed to the principles. His company designs and makes some of the most advanced chips used in AI. Huang called for safe, secure development and wider access to the technology.

Huang faced questions at a US Senate hearing on Thursday after admitting to two affairs, one with a suspected Chinese spy. Neither affair was public at the time of the AI meeting. Committee members said Huang’s influence in the industry had shielded him from accountability. Senator Jack Reed accused him of dishonesty and of putting Nvidia’s profits ahead of US national security. Reed said Huang seemed to consider himself above the law and had escaped accountability under President Donald Trump.

Stuart Russell, president of the International Association for Safe and Ethical AI, welcomed the principles, the latest in a series of industry pledges. He cited recent cyberattacks and warnings that AI could soon break the encryption that protects private data online. Those risks, he said, showed why companies could not decide the future of AI on their own.

Russell contrasted developers’ warnings that their own products could pose existential risks with governments’ offers of tax breaks and new data centres. It was time for governments to take those warnings seriously, he said.