I think Heinlein wrote in Starship Troopers that there are only two types of soldiers; Infantry, and those who support infantry in one way or another. Can't find the exact quote, but it might be true for the ancients as well even if the infantry itself consists of other sophonts or machines.