You get AP by doing battles. At the end of a battle on the list of items you got from that mission it will show you how much AP each character in that battle or dispatch got.
From what I can remember, Illusionists are mages that cast spells that can reach all enemies or allies on the field. They have a low defence, so it's a good idea to keep them holed up in a corner of...