An organism, especially an insect, that lives in close association with or shares a nest with a species of ant.