In Torchlight, pets can learn spells through scrolls or spell items found during play. Check your pet’s skill options and use the appropriate spell item to teach it.