My best experience is just to level it to level 6 by hand so it can conjure food/water itself then letting it go to town via the bot. It'll spam spells until it ooms, then it'll wack with staff after.
There's a couple mage fighting profiles but you'll have to purchase the good one.