Under the support of education digitalization strategy, in order to adapt to the development needs of education modernization, it is necessary to strengthen the research on the application of artificial intelligence technology in the main education of Marxism. Based on this, this paper closely follows the background of the artificial intelligence era, takes Marxist theory as a guide, and builds an intelligent communication platform for Marxist education based on the deep reinforcement learning model and the new media platform, which serves as a key link in the precise communication path of Marxist education. Relying on the state representation model and decision-making model in the deep reinforcement learning algorithm, the platform realizes the intelligent recommendation and dissemination of Marxist education content. The results of the precise communication path show that the intelligent communication platform has good application recognition and perceived satisfaction, and the audience students have a strong sense of belonging and responsibility for Marxist education in the communication, and the average score of the survey on the cultivation of values such as life ideals and political attitudes is above 4.50 points. The precise communication path of Marxist education proposed in this study, as an implementable countermeasure in the new media environment, can help the audience students to establish a correct worldview, life view and values.