Would X-ray warheads be a good solution for the starswarm?
That will function if you have them. Thier armor isn't segnificantly thick though.
The main problem most run into is the ability to see them from far enough away to engage them before they can close to beam range.
For myself, I tend to have my scout configured to see smaller ships at good range since I start most games with fighters in my order of battle.