Missl barrage is good, always have an akkan with tier 3sensors
kortuls waste pirates, since they dont have the firepower to deal with it
bombers are probably the easiest way to deal with them
Then you've got your ol' explosive nanites
mines are incredibly effective against those dumbass pirates
I don't play with advent so i wouldn't know
use turrets. Pirates generally target those first, saving your ships a pounding
lrf's have longer range than any pirates
if you can get a vasari carrier to lv 6, use duplicate on heavy cruisers and send the clones in as a disposable meatshield.
and never forget starbases. In normal sins any starbase will generally waste pirates.
also, having a trade port in the gravity well spawns trade ships. Traders are priority targets for pirates and they'll ignore your forces until all the traders are dead.
If none of that is helpful go play Minecraft.