Did countries in feudal/medieval times have special forces or intelligence agencies? If so, what were they like?

by [deleted]

I was thinking about The Witcher 2 earlier which has a character named Vernon Roche who's the leader of a special forces unit in the game and how cool it would be to play a video game as a secret unit set in that time. But then reality hit and I wasn't sure if anything like what I'm imagining ever existed and if it did, how similar it was. Thanks in advance, everyone.

OldWorldGlory

You might be interested in some previous threads about special operations forces and elite units in pre-modern militaries:

Are pre-modern special forces anachronistic?

Elite Roman Units

Elite Medieval Units

Elite Early Modern Units

Other Examples