The invention, which relates to the technical field of amplitude-phase controller manufacturing, discloses a program-controlled dual-channel amplitude-phase controller comprising a housing arranged on a three-axis simulation rotating table mechanism and an amplitude-phase controller assembly arranged in the housing. Comprising a first chip, a second chip, a microwave unit, a first power divider, a second power divider, an amplitude measurement and phase discrimination module, a third power divider, a fourth power divider and a single chip microcomputer, one side of a shell is provided with I/O interfaces, a main circuit board is arranged in the shell, and the other ends of the I/O interfaces are connected with the main circuit board; the microwave unit comprises a microwave circuit board arranged on the main circuit board, and a frequency conversion local oscillator, a switch filter bank, a total amplitude control attenuator, a first amplitude control attenuator, a second amplitude control attenuator, a first numerical control shifter and a second numerical control shifter which are arranged on the microwave circuit board. The invention discloses a program-controlled dual-channel amplitude-phase controller which has the advantages of low price, high test efficiency and high precision.