The Kamigami are Shinto deities. They are elements in nature, animals, creationary forces in the universe, as well as spirits of the revered deceased. Many Kamigami are considered the ancient ancestors of entire clans. They are not separate from nature, but are of nature, possessing positive and negative, good and evil characteristics. They are manifestations of musubi (結び), the interconnecting energy of the universe.
The Kamigami were once Ayakashi, who were forcibly merged with their True Ayakashi by the Kigen and ascended to becoming Lesser Gods. This was in an attempt to create beings strong enough to maintain the balance of the world, as ningen (humans) were being hounded and preyed upon by both Ayakashi and Oni alike. At the time, there was only one being (who is still alive) that maintained this balance, but as the world grew larger and more creatures began to procreate and multiply, keeping the balance became to difficult to be the burden of only one.
After this was done, the Kigen opened up Taka-ma-ga-hara, Heaven, so that the Kamigami would have a place to reside in without clashing with the Ayakashi who were not forced to become one with their True Ayakashi. Despite this, there are still tensions between the four [ningen, Ayakashi, Oni, Kamigami] races.