The agreement was adopted by the member states of UNESCO at its General Conference on Tuesday.
"AI has the potential to benefit societies and economies in many ways, but it also presents risks and challenges," UNESCO said in a press release.
The Recommendation on the Ethics of Artificial Intelligence sets out common values and principles to assist in the creation of the legal infrastructure required to ensure the healthy development of AI.
"The world needs rules for artificial intelligence to benefit humanity. The Recommendation on the ethics of AI is a major answer," Azoulay told the press conference in Paris.
The Recommendation has three main parts: values, principles and strategic areas.
The main contents of the Recommendation include protecting data, banning social scoring and mass surveillance, helping to monitor and evaluate, and protecting the environment.
More about: UNESCO