I know what you are talking about, though I never personally have had the AI leave a capitalship at a world and retreat the rest of the fleet but it does annoy me when the AI will run despite having greater numbers, and you literally cannot battle the AI without pushing them back to their homeworld, even then you have oodles of time to build a stronger fleet, or a superweapon to wipe them out with.
It would be nice if the AI had a more intelligent means of deciding if the risk of staying in battle is worth it. Or even to retreet the units as they near death but keep the units that are full health.
It would be nice to be able to have a ballanced AI option. Also, being able to choose the AI's tactics like LRM spam, Homeworld Rush, Carrier Spam, Ballanced Fleet or just random. That would be useful if there was a certain strategy that always gets you online and you could practace it against the AI.
To go the extreme, they could have one of those 5 point stat charts that look like a pentagon, you know what I mean? With the stuff in the middle and the corners of the inside pentagon go to the corners that represent the stat and if your ballanced then it looks like a pentigon inside a pentigon but if you beefed up a stat it has like a huge spike on one corner, and if you are really bad in a stat it goes like a big dent in another corner, I wish I knew what it was called so I didn't have to type this but you know what I mean right? And you could fine tune the AIs' stats like: Economic, Reaserching, Agressive, Defencive, and.... well i don't have a fifth beacuse therre are only 4 Ai types in game, but that would be the coolest! I admit, that sounds hard for the devs to do, but it could be included in the next expansion or something.
It's a bit off topic but it's the best way to improve the AI, and it would be really cool, heck people might actually use the AI online if they implemented this, but it's just me, imposeing my own ideas, do it or else! LOL 