O. bauri is able to recognize other workers from different nests by antennation. This process happens when two ants are front to front of one another, and either one is touching the other's antennae with their antennae or head. There are four different behavioral patterns that may result after recognition of the other ant. These are basic alertness, alarm, attack with mandibles or attack with sting. Basic alertness occurs when both ants open their mandibles to about 180°. Alarm is composed of both basic alertness with fast random body movements and release of alarm pheromone. Attack with mandibles is a pattern in which the trap jaw ant will use its mandibles in order to strike a blow to the opponent. Attack with sting is when the trap jaw ant will bend its abdomen forward and try to use its sting to hurt the opponent.
O. bauri ants use a volatile substance,
dichloromethane (CH2Cl2) to recognize their nestmates. Individuals from different colonies have different amounts of volatile chemicals within its system so the cue to knowing one's relative is the amount of substance captured during antennation. The recognition signal does not pertain to environmental cues, since
O. bauri attacked ants which were kept in the colony surrounded by a wire mesh capsule more than the controls, which were kept inside the colony. To further rule out environmental cues as an option, Jaffe
et al. fed two different colonies the same diet and fed a single colony two different diets. When the trap jaw ants from the single colony but different diets met they did not attack each other. However, when the ants from two different colonies but same diets met they attacked each other roughly 75% of the time. Additionally, the recognition signal is not a sound or a particular behavior since
O. bauri is able to recognize dead nestmates. The recognition signal must be a type of smell, since ants which were freeze dried or in a plastic wire mesh capsule were never attacked. ==Evolution==