Alias for an agent Similar to an pseudonym, a code name is an alias for an agent. Code names were used when the pseudonym is not to be revealed. The double agent FBI man Robert Hanssen's code name was "Ramon". When he communicated with his KGB handlers, "Ramon" was what he was known as. Also known as Cover Name.