In order to play the role of artificial intelligence assistance to improve students’ mathematical thinking level, the study proposes to use artificial intelligence technology to construct educational knowledge map, collect learning data to generate learner profiles, use clustering algorithms to generate learning communities, and use ant colony optimization algorithms to recommend learning paths and other teaching assistance methods. Through the intelligent education cloud platform, multiple teaching assistance methods can be used in collaboration, and students can realize the cultivation of mathematical thinking based on the learning paths and teaching resources recommended by the platform. Taking the teaching of Preliminary Geometry as an example, after students used the Smart Education Cloud Platform for unit review, 82.5% and 81.3% of students were satisfied with the learning paths and learning resources recommended by the platform respectively. Students’ math thinking test scores improved by 10.26 points, especially on students’ creativity, algorithmic thinking and problem solving ability. Through the role of artificial intelligence technology empowerment, students’ mathematical thinking was developed and the quality of teaching was improved.