Guards can now find spells on their mainhand, offhand and their new spellbook slot! They can cast almost every spell (if they aren't too complicated or are using custom handlers). Slight warning, this can be a buggy mess!
UnOfficial Port of MrSterner's GuardVillagers to 1.21.1 that adds GuardVillagers that can use spells!