The meaning of agent / spy in dream | Dream Interpretation
Points to too much fantasizing. Wanderlust, being shallow. Make inquiries before coming to a decision; search for the truth first. This is a frequent dream symbol when life is boring and has no excitement. But this symbol may also be a general sign of searching. Ask yourself what it is that you are looking for (and what it is that you want to find).
Also addressed here may be a life lived intensely and dangerously. It is the image of the male hero that appears when the dreamer is showing little masculinity, and in rare instances, also, when much masculinity is present in a woman or man).
On the other hand, this dream image also appears when the dreamer has an unconscious suspicion that, in most cases, is unfounded. It is helpful in such cases to adopt a positive attitude to life (positive thinking).