This paper provides a comprehensive review of the application of artificial intelligence (AI) and machine learning (ML) in the field of rock mechanics, covering a wide range of topics from data-driven estimation of rock properties to image-based modeling and fracture detection, AI-assisted constitutive modeling, and various applications in rock engineering. The core contribution of this paper lies in its synthesis of the current state-of-the-art in AI/ML applications within this specific engineering domain. It highlights the potential of these technologies to address key challenges in rock mechanics, such as the estimation of rock properties, the detection of fractures, and the prediction of rockbursts and other geohazards. The paper meticulously details various AI/ML techniques, including artificial neural networks (ANNs), support vector machines (SVMs), convolutional neural networks (CNNs), long short-term memory (LSTM) networks, generative adversarial networks (GANs), and physics-informed neural networks (PINNs), showcasing their diverse applications in the field. For instance, it discusses the use of ANNs for predicting rock strength and stiffness, SVMs for classification tasks, CNNs for image-based fracture detection, LSTMs for time-series prediction of rockbursts, GANs for generating synthetic rock samples, and PINNs for solving partial differential equations governing rock behavior. The paper also touches upon the integration of AI/ML with traditional numerical methods, such as the finite element method (FEM) and discrete element method (DEM), to create hybrid modeling approaches. The authors present a balanced view by also acknowledging the limitations of current AI/ML approaches and identifying areas for future research. They point out the challenges related to data scarcity, the difficulty of obtaining high-quality subsurface data, and the need for standardized datasets. The paper also discusses the limitations of current models in capturing complex failure mechanisms and the need for more robust validation techniques. The paper concludes by emphasizing the need for further research to fully realize the potential of AI/ML in rock mechanics, particularly in addressing the challenges of data quality, model interpretability, and generalizability. Overall, the paper serves as a valuable resource for researchers and practitioners in the field, providing a broad overview of the current landscape of AI/ML applications in rock mechanics and highlighting both the opportunities and challenges that lie ahead. It underscores the transformative potential of these technologies in advancing our understanding and prediction of rock behavior, ultimately contributing to safer and more efficient engineering practices in rock-related projects.