The Mastermind Roguish Archetype in Dungeons & Dragons Fifth Edition specializes in intrigue and deception. The subclass takes the impressive skills of a D&D 5e rogue and encourages the player to bring them to bear in social situations to stay on top of any interaction the party has.
Source:https://www.cbr.com/dnd-mastermind-rogue-build-guide/