Okie,
BIG DISAPPOITMENT, i guess, I didnt hack the AI, can't hack the ai to be more precise. I dont know how to do that. What i did is this:
If you give a new frigate to the Pirates and the Militia, not to the playable factions, because then you could play one of them and get the goodies, but to the Pirates and Militia, with specs like a CapitalShip, and you give the scout a spawnable ability to spawn a small fleet, say 5 ships. And you set each of the militia fleets in the Galdef file one of these scouts along with what they already have, then almost from the time the screen first comes up, you got neighbors in your grav well.
I did this is StarFire 7.5 and have seen a few other modders do it in some more recent mods.
Instead of Hard AI mod, probably what i should have called it, at least at this stage of the work, is "SlaughterFest Mod"
Because right now, i can get a Capital up and running, but the fleet is already in my well by that time, and this is about a minute and a half into the game.
I can't get a second Cap up fast enough to beat back the invasion yet, I've tried getting beam defenses up, but they only get taken out and all the frigates at this point dont live long enough to make a difference.
I have played about 2 dozen games, and each one is different, sometimes, its just two Militia i get swamped with, sometimes 3, sometimes 3 and Pirates on top.
The last game i played i had over a hundred Pirates and 3 Militia factions in the well 5 minutes into the game. I was outnumbered over a hundred to one, as i only got my first CapitalShip up and was trying to get enough credits to get the second when I lost the first. Building structures didnt help, only took credits away from trying to get a small fleet up and running as fast as possible.
SO...
I have uploaded the first version "SlaughterFest Mod" which i had already named Hard AI Mod. You are welcome to give it a try.
I have tried out-waiting the first wave of invasion, but that didnt help either, the Militia come in and duke it out and take out my planet structures, no siege ships yet in those first waves, so that is some small consolation, but not much. But trying to out-wait them didnt work either, as soon as i started building i had another wave in. So... I'm not the best player, but i'm thinking of lowering the number of ships coming into the well right off. And lengthening the cooldown time on the spawn ships ability they have. In addition the Militia carry ships that can capture other frigates, haha, so watch out for that too. 
Anyway, this is version 2.0 and you can give it a try to let me know what you think. It's not easy, haha, heck its not even very very difficult, its H *** mode. 
I'm going to tweak it, and see if i can make it, half as difficult as it is now, so that will let me at least get a couple of ships up, maybe tweak it more than that so that i can get a small fleet and only get half of them taken out.
But if i do that, i'm afraid i will make it un-interesting for those looking for really really difficult games, because that is where this was originally aimed. At those that beat the 9 hard ai on huge maps and eat nails for breakfast.
I wanted something that would give them a run for their credits, so to speak.
Let me know what you think, If you are even still interested, because this isnt a hack to the ai, really, juat a tweaked set of bad guys that come in and trounce things very fast and very hard.
Haha, anyway, take care, hope there are some that will like it, even as horribly unfair as it is now. And suggestions on making it better, and by better i dont necessarily mean easier,
are always welcome.
Thank you for listening, take care,
-Teal
link : http://www.filefront.com/14853531/Hard%20AI%20Mod%20v2.1.7z