I want to make a trickster-type NPC for the PCs to fight in a game. The setting is Ancient-Chinese style, and the NPC should be CR 14, with a CN alignment. I'm interested in either a Sun Wukong (monkey-king) style trickster, or something similar to the Trickster from "Supernatural." I want him to be able to survive a few fights with them so he can become a recurring obstacle.
Hopefully he'll have some melee abilities, as well as spells. The most important thing is that he have flashy tricks up his sleeve that will amuse the PCs while making their lives difficult.
Any suggestions for good class combinations, or Bestiary entries to start from? Spells/special abilities I should look at giving him? He can be any race or monster type, as long as he's able to appear as a humanoid.