Algo coders, predictive analysis of publicly available data, large societal trends prediction, using social media data to detect malign intent prior to action, analyzing the same to look for foreign activity, hacking foreign infrastructure, etc etc, CIA/NSA and other agencies hire these types right from University typically.
They also fund startups which may be used for national interests and so on.
Much of the time, they contact you, not the other way around.