I've used diatomaceous earth with good results for various things I don't want in my house. I don't mind sharing my home with spiders and the like. But fleas are not welcome. And the previous homeowners planted some lovely peonies outside their hundred year old home. So ants. Lots of ants. They weren't after anything in our house, just happened to wander inside because their favorite plants were just on the other side of the wall.
I also keep one or two of these on hand at all times: https://en.m.wikipedia.org/wiki/Cat#:~:text=The%20cat%20(Fel.... Very helpful for the handful of creepy crawlies that make their way in. The older model we have is incredibly effective. The one we purchased last year isn't as efficient unfortunately.
You remind me of a story my grandpa would tell me. One time he was getting off a bus and he saw a woman a few yards a way throwing bread to pigeons. She was saying "oh look at all the pretty birdies. Oh pretty birdies.".
Then one of the pigeons layed one thick on her eye.
"@%#$ you damn birds %#&@"
Just keep donating piles and piles of sugar to the ants and leave the house for a week or go outside.