To increase the robustness and control precision of a hydraulic quadruped robot and simultaneously enhance the dynamic and steady characteristic of the hydraulic system, an active disturbance rejection controller (ADRC) tuned using the Lévy-flight beetle antennae search algorithm (LBAS) was proposed. Moreover, the designed controller was used in the hydraulic quadruped robot to enhance the control performance and restrain the disturbances. The use of the Lévy-flight trajectory in the advanced algorithm can help increase the search speed and iteration accuracy. In the LBAS-ADRC, the parameter tuning method is adopted to develop the active disturbance rejection controller enhanced using the beetle antennae search algorithm. When implemented in the hydraulic quadruped robot, the LBAS-ADRC can ensure satisfactory dynamic characteristics and stability in the presence of external interference. In particular, in the proposed method, the ADRC parameter search problem is transformed to a sixteen-dimensional search problem, the solution of which is identified using the Lévy-flight beetle antennae search algorithm. Moreover, three different algorithms are implemented in the active disturbance rejection controller tuning problem to demonstrate the control performance of the proposed controller. The analysis results show that the proposed controller can achieve a small amplitude overshoot under complex and changeable environments.