I really do not understand why you want to kill the ants?
Why not just put whatever is attracting the ants away in a sealed container and keep work surfaces clear of anything sticky or sweet? As soon as they cannot get a source of food from your home they will BO to someone else's larder.