Farmer ants can recruit parasites to battle for them, much like medieval cities sometimes kept expensive contingents of mercenary soldiers to ward off invaders, researchers say.