The Onmyōji (陰陽師, lit. Yin-Yang Masters) were court diviners in the Heian period (794–1185 AD) of Japan, and may have been active at other times. The organization they belonged to was called the Onmyōryō. Their court responsibilities ranged from simple tasks such as keeping track of the calendar, to mystical chores such as divination and protection of the capitol from evilspirits.
Their practice was based upon the Tao. Yin and Yang ruled everything. They also studied the interaction of the five oriental elements: wood, fire, metal, water, and earth. It was said that an Onmyōji could also summon and control shikigami.
One of the most famous of the Onmyōji was a man by the name of Abe no Seimei (921–1005). After his death the emperor had a temple erected at his home in Kyoto.
In anime, onmyōji frequently appear and are sometimes referred to as spiritualistic mediums. Characters include Yohmei Asakura, Yoh's grandfather in Shaman King, and Subaru Sumeragi, from X/1999 and Tokyo Babylon.
"Onmyoji" is a departure from comedy for helmer Yojiro Takita, and preceded his period actioner, "When the Last Sward Is Drawn." Given Takita's background in comedy, it's curious that pic feels least assured during ostensibly amusing asides.
Onmyoji -- masters of astronomy, exorcism, magic and yin-yang spiritualism -- are recruited to battle the spirit onslaught.
Another ploy appears to be establishing a buddy-buddy combo as the basis for a hoped-for "Onmyoji" franchise.