Regarded planar linkage mechanism kinematic target and execution of kinematic pair constraint reaction restrictions as the quantitative objectives, established the comprehensive dynamic design fitness function with the distance between a kinematics target and execution of a set of practical movement points, and the difference between actual constraint reaction of kinematic pair and its limit. According to multi-branch tree expression and random configuration method to create mechanical initial population, driven by the fitness function, made the mechanical population evolution towards the target requirements by the use of copy, crossover and mutation operators of genetic program. In the evolutionary process, inserted kinematics and dynamics automatic analysis technique, design examples indicated that using a genetic program can search parallel in different mechanical configuration space, dimension space and inertia space, automatically searched to such kinds of mechanisms approximate kinematics target and dynamics requirements, thus fulfilling the dynamics automatic design.