Pirates are more or less a kind of spawned monsters, not a real AI faction (basically they are tied to the Empire that spawned them). We can however toy with the fleet they spawn so they use more variety of weapons and upgrade to better designs as the game go on. The problem right now is how to make them respawn after the player kill them while not making them an impossible task to beat.