New Delhi, Feb. 2 -- Indonesia allowed Elon Musk's artificial intelligence chatbot Grok to resume operations in the country on a conditional basis and under strict supervision, weeks after banning it for explicit sexual content.

Musk's social platform X Corp made a written commitment to service improvements and compliance with applicable laws, the communications ministry said in a statement Sunday.

The company told the ministry it had taken steps to address the misuse of Grok services, including restricting access to certain features, according to the statement.

Indonesia and Malaysia were the first two countries that blocked access to Grok in January over concerns it was being misused to generate sexually explicit and nonconsensual im...