Possibly fungus gnats, common in hydro. But I thought those things were a little smaller than ants. Of course ants can be lots of sizes...
Are they on the roots too?