In sociology a mechanism is a set of rules designed to bring about a certain outcome through the interaction of a number of agents each of whom maximizes their own utility.