Four ways to make an NPC, actually: Use the DMG monster creation rules to create a new monster that has powers similar to, but not the same as, a PC class. So you could create "Kestrel, human mage" and he casts spells, but none of them are the same as the wizard spells from the book.