You'll need to obtain the Source code for Glest, find it stickied on the GAE forum section. It's in C++ I believe so, some experience before diving into that is neccessary.
As of now the AI runs off of what seems to be recordings of simple actions done by players. I.E. ordering a unit to collect resources, and when there is enough, units are made.
Reading my posts you'll find that the AI responds robotically right when the resource cap for something is made, they make it and it is automatically sent to the opposing team.
Kinda ruffs up the turtle style of play which is what I'm trying to fix.
I'm thinking up a name for this version of Single player Glest as of now, but I'll release it when I can.