noun
1. in greek and roman drama, a god lowered by stage machinery 2 resolve a plot or extricate the protagonist from a difficult situation. 2. an unexpected, artificial, or improbable character, device, or event introduced suddenly in a work of fiction or drama 2 resolve a situation or untangle a plot. 3. a person or event that provides a sudden and unexpected solution 2 a difficulty.
etymology
new latin deus ex m*chin* : latin deus, god + latin ex, from + latin m*chin*, ablative of m*china, machine (translation of greek theos apo m*khan*s).