Artificial intelligence, as well as a number of other products of the technological revolution, served as a prerequisite for the formation of a specific area of public relations, which led to the search for adequate forms and methods of legal regulation. The use of legal resources in the process of creating the necessary regulators has led to the accumulation of relevant practical experience and the emergence of a disciplinary ontology accumulating doctrinal knowledge about the AI legal existence. The central place in it is occupied by the issue of AI legal identification, which has both theoretical and practical significance. Its development involves the development of a complex of fundamental, programmatic and design issues. The article presents the solutions forming this complex in the context of the development of scientific legal knowledge and practice of legal regulation in the field of AI creation and use, as well as a rational view of mediation by law of the considered public relations in its current form; the author characterizes the content and dynamics of this view, analyzes the accumulated law-making experience and practice of legal experiments. The article also sets out forecasts for the further development of this segment of the legal sphere and the tools used to streamline it; defines the tasks of the legal doctrine for the future. The article was prepared on the basis of a scientific report presented by the author at a meeting of the Presidium of the Russian Academy of Sciences on March 12, 2024.