It’s a mistranslation of the Hungarian ügynök, which can indeed mean agent, but not necessarily. Here it means informant/source.
I appreciate the title is wrong, but no reason not to add the correct context.