Answer: Healthy, well-managed compost piles have a great variety of insects in them, from ground beetles to snails to millipedes to microscopic nematodes. If the ants aren't causing any problems, I'd suggest you leave them alone. They're probably notactually living in it, just exploring for food. If, on the other hand, you don't turn your compost pile regularly, the ants could quite possibly begin building a home there - not a happy prospect! You should steer clear of using pesticides in the compost pile. Try rotating the contents on a regular basis and monitoring the moisture to keep things cooking. The ants will avoid the center of the pile if it's warm.
Q&A Library Searching Tips