Microbes can smell each other and change their behavior based on which collaborators or competitors they sense in their environment.