Prevention of law violations is one of the key directions of crime counteraction. Non-criminal offences often create conditions for publicly dangerous actions, so it is necessary to pay special attention to their prevention within the framework of early prevention of crime. Procuratorial bodies of the Russian Federation are one of the key subjects involved in crime prevention, and procuratorial supervision over the observance of laws plays a leading role in this work. The author attempts to outline the problem of the early prevention of legal offences connected with the use of artificial intelligence in the Russian Federation. At present, the bodies specifically authorized to exercise control and supervision in this sphere have yet not been determined. Due to this, preventive work cannot be carried out by the prosecution authorities, whose main task is to supervise the observance of laws by other bodies, timely detect violations in their work and undertake measures to eliminate such violations, as well as the causes and conditions leading to them, neutralizing the accompanying criminogenic factors. Another problem, according to the author, is the absence of legal regulations of the use of artificial intelligence at the federal level, which, in its turn, makes it impossible both for the prosecutors office to exercise oversight, or for any other bodies to carry out preventive measures in this sphere. Due to this, and taking into account the significance of information technologies in the life of society and the state today, it is necessary to eliminate the outlined obstacles to preventive work in the sphere of artificial intelligences functioning.