Also, if you're willing to choose Malevolent as one of your Ideology options, you can get a free Frigate that's good enough to beat up most Pirates, though not quite good enough to take out their shipyards.
Basically, you really can't go Pirate hunting until around turn 30 or so, since before then you really need to be focusing on colonization.