Long before the rise of most ancient civilizations, highly-advanced insect-like beings traveled the stars aboard starships, as with in one case, arriving in the vicinity of Questar M-17, over 300 million year before the 23rd century.
In 2269, said vessel was discovered by the USS Enterprise, who upon investigation discovered many the ship's designs and construction techniques to be comparable to "natural insect designs of Earth". These features included hexagonal-shaped windows, designed as individual cells precisely shaped like the honeycombs of bees, and as well, the metal used in the ship's construction was drawn into filaments, a technique much like that used by a spider when spinning a web. (TAS: "Beyond the Farthest Star")
The Jarada were a reclusive insect-like species which were first encountered by the Federation during early 24th century. Their language contained many nuances Captain Jean-Luc Picard found hard to grasp, leading Counselor Deanna Troi to point out, both, that the English language had its own nuances, and that they were, after all, dealing with "an insect mind." (TNG: "The Big Goodbye")