US President Donald Trump signed an executive order on Thursday setting guidance for federal agency use of artificial intelligence in government decision-making.

The White House said Trump was setting nine principles for the design, development, acquisition and use of AI in government in an effort “to foster public trust and confidence in the use of AI, and ensure that the use of AI protects privacy, civil rights, and civil liberties.”

The order directs agencies to prepare inventories of AI-use cases throughout their departments and directs the White House to develop a road map for policy guidance for administrative use.

Michael Kratsios, US chief technology officer, said the order “will foster public trust in the technology, drive government modernisation and further demonstrate America’s leadership in AI.”

The Trump administration has made AI a priority, earlier issuing guidance to federal agencies aimed at limiting “overreach” in regulating the use of AI by private companies, while urging agencies to use AI to eliminate outdated regulations.

The order emphasizes AI use must be “lawful; purposeful and performance-driven; accurate, reliable, and effective; safe, secure, and resilient; understandable; responsible and traceable; regularly monitored; transparent; and accountable.”

AI is used by numerous government agencies for predictive enforcement tools and by regulatory agencies to process and review vast amounts of data to detect trends and shape policymaking.

Some US states and cities have raised concerns about AI applications, especially possible algorithmic bias in the use of facial-recognition software by law enforcement.

A February report by Stanford and New York University researchers submitted to a US administrative agency documented 157 use cases of AI by 64 federal agencies and said it could “modernise public administration, promoting more efficient, accurate, and equitable forms of state action.”

But the report, titled “Government by Algorithm,” noted that AI can be used to deny benefits or make decisions affecting the public’s rights and could boost concerns about arbitrary government action.