If you see a very small fly that, on closer inspection, resembles an ant, it may be a diapriid wasp.
Diapriid wasps are common in gardens but can be tiny - the largest are no more than 6 mm long and the smallest only 1 mm long.
Diapriid wasps live in urban areas, forests and woodlands, and wetlands.
Diapriid wasps are found throughout Australia.
Life history cycle
Diapriid wasp specialise in parasitising fly pupae and prepupae. Most spend very little time flying as their hosts are usually somewhere on the ground. Some have very reduced wings or none at all and can be mistaken for ants.