For designing the light beam shaper in the optical transmitting antenna in inter-satellite optical communication system, the essential problem is, according to the input optical field and ideal output light field, to determine the shaper of phase distribution, in which its core is in phase recovery. Based on the traditional Gerchberg-Saxton (G-S) iterative algorithm, using the angular spectrum propagation theory, a kind of amplitude gradient addition iterative algorithm is proposed, and the detailed algorithm process and analysis are given. Compared with G-S algorithm, the new one using iterative process, constructs the light field amplitude feedback loop, and searches out the optimal iteration path using the gradient; their joint action accelerates the convergence process. Numerical simulation shows that the iterative error-drop speed caused by unit iterations in the new algorithm is 1.7 times that of the G-S algorithm, its convergence rate is obviously superior to the G-S algorithm; for different random initial phase, the new algorithm can effectively carry out iteration, show the advantages of the strong adaptability and the good convergent consistency. Amplitude gradient addition iterative algorithm gives a new effective way of recovering the complex optical field phase, and provides technical support for designing all kinds of diffraction optical element.