In recent years, it has built itself up through wider recruitment, including of American citizens. The agency has also sharpened itself through better training, a bigger budget and the use of advanced technologies to try to fulfill the goal of Xi Jinping, China's leader, for the nation to rival the United States as the world's preeminent economic and military power.