i had this problem last year with red ants and sameh got bit by them and had to be rushed to the vet
i had to keep on vaccumming for days.
I got some trays of ant killer from the exterminator guy, its sugar water with boric acid in it, very bad for keets so do not let the keets out of the cage while the trays are out, even if you THINK you have hidden the trays where the birds wont get them, trust me the risk is not worth it. You can not save a bird who has ingested boric acid.
i noticed the ants were coming in through the window, around the edges, went outside and found the ant pile, put ant killer on the pile itself, which can be bought at walmart in garden dept, any kind works whatever you choose. its important to kill the colony or they WILL keep returning.
then place just one or two of these small trays around where you think they are coming in at, window sills are common.
within a 24 hr period the ants will be totally gone, but only if you have killed the colony with ant killer.
trust me, ive had to deal with ant infestations more than once, when we moved to houston we bought a home that had been foreclosed and found out (after moving in) there was a massive ant colony under the house ...yipes!!!! we tried so many things and found this to work best.