Those look like the larvae of mushroom flies, usually a sign of over-wet compost. Allow the surface of compost to dry out a little between waterings. They can damage seedlings but cause little or no harm to established plants.
Garden.ie free newsletter
Simply enter your email address to receive our free weekly email newsletter!