This study aims to analyze the effect of psychological health based on artificial intelligence agent technology on the implementation effect of Japanese family education. By combining mobile agent technology and education thought, the system structure and working mechanism of the education support system of agents are studied to build personalized support for the family education system based on mobile agents. A total of 320 Japanese middle school students were randomly divided into an experimental group and a control group, with 160 cases in each group. The control group received traditional family health education, while the experimental group received mental health education based on the Agent Technology family education system. The basic information and mental health scores of the two groups of students were compared. The results showed that there were no remarkable differences in the number of male and female cases, weight, height, average age, grade, home address, or family situation between groups (p > 0.05). The psychological health level of the experimental group was considerably superior to that of the control group regarding obsessional symptoms, interpersonal tension and sensitivity, depression, anxiety, learning pressure, maladaptation, emotional imbalance, and psychological imbalance (p < 0.05). In summary, compared with traditional family education, family education of the mental health education system based on agent technology can better improve the level of middle school students' mental health, which can improve student forced symptoms, interpersonal tension and sensitivity, depression, anxiety, learning pressure, maladjustment, emotional imbalance, psychological imbalance, and many other psychological states. Furthermore, personalized support for family education systems based on mobile agents has the advantages of autonomy, responsiveness, initiative, and mobility, which provides a new idea for family education.