It maybe there was a nest in the brickwork or under the floorboards - they just hatched and were buzzing off to start their fresh new little anty lives...
... in your hoover.
I occasionally get the odd one in my 'glorified greenhouse with three walls' (OK, so it's loosely termed a 'conservatory), but as I'm a rabid defender of all that is right, good and possessing four legs or less - any nest I track down gets to suffer boiley boiley ant death.