Codenames Duet keeps the basic elements of Codenames give one-word clues to try to get someone to identify your agents among those on the table but now you're working together as a team to find all of your agents. (Why you don't already know who your agents are is a question that Congressional investigators will get on your back about later!)
To set up play, lay out 25 word cards in a 5x5 grid. Place a key card in the holder so that each player sees one side of the card. Each player sees a 5x5 grid on the card, with nine of the squares colored green (representing your agents) and one square colored black (representing an assassin). The assassin is in different places on each side of the card, and three of the nine squares on each side are also green on the other side!
Collectively, you need to reveal all fifteen agents without revealing either assassin or too many innocent bystanders before time runs out in order to win the game. Either player can decide to give a one-word clue to the other player, along with a number. Whoever receives the clue places a finger on a card to identify that agent. If correct, they can attempt to identify another one. If they reveal as many as the number stated by the clue-giver, then they can take one final guess, if desired. If they identify a bystander, then their guessing time ends. If they identify an assassin, you both lose!