Artificial intelligence (AI) technologies, though critical for economic development, also pose risks of unpredictable outcomes and loss of control. Thus, a legal framework is necessary to regulate their use. International and state oversight is required to establish clear rules of conduct for all parties involved in AI relations, ensuring these technologies remain human-oriented and secure. In geological studies, AI can enhance the accuracy of predictions, such as improving the understanding of rock behavior during drilling. Machine learning methods, including linear regression and gradient boosting, have proven effective in predicting the mechanical properties of rocks, which helps optimize drilling operations and minimize risks like equipment damage. However, models must be fine-tuned to account for more complex dependencies, such as mineralogical characteristics. Despite the effectiveness of AI, challenges remain, including the need for high-quality data and the potential for overfitting in some methods. Incorporating AI studies into the geological code is crucial for effectively managing these technologies. By enhancing transparency, security, and accountability in AI systems, governments can mitigate risks while fostering innovation. In geology, AI’s potential for reducing drilling costs and improving safety, as well as its application to other areas like mining and construction, will drive significant advancements in scientific and industrial fields.