Mahabharata 13.85.10
"Vasishtha continued, 'This history also, O Rama, called Brahmadarsana, was heard by me in days of yore, respecting the achievement of the Grandsire Brahman who is identifiable with the Supreme Soul. To a sacrifice performed in days of yore by that foremost of gods, viz., Lord Rudra, O thou of great might, who on that occasion had assumed the form of Varuna, there came the Munis and all the deities with Agni at their head. To that sacrifice also came all the sacrificial limbs (in their embodied forms), and the Mantra called Vashat in his embodied form. All the Samans also and all the Yajushes, numbering by thousands and in their embodied forms, came there. The Rig-Veda also came there, adorned with the rules of orthoepy. The Lakshanas, the Suras, the Niruktas, the Notes arranged in rows, and the syllable Om, as also Nigraha and Pragraha, all came there and took their residence in the eye of Mahadeva. The Vedas with the Upanishads, Vidya and Savitri, as also, the Past, the Present, and the Future, all came there and were held by the illustrious Siva. The puissant Lord of all then poured libations himself into his own self. Indeed, the wielder of Pinaka caused that Sacrifice of multifarious form to look exceedingly beautiful. He is Heaven, Firmament, Earth, and the Welkin. He is called the Lord of the Earth. He is the Lord whose sway is owned by all obstacles. He is endued with Sri and He is identical with the deity of blazing flames. That illustrious deity is called by various names. Even He is Brahman and Siva and Rudra and Varuna and Agni and Prajapati. He is the auspicious Lord of all creatures. Sacrifice (in his embodied form), and Penance, and all the union rites, and the goddess Diksha blazing with rigid observances, the several points of the compass with the deities that respectively preside over them, the spouses of all the deities, their daughters, and the celestial mothers, all came together in a body to Pasupati, O perpetuator of Bhrigu's race. Verily, beholding that sacrifice of the high-souled Mahadeva who had assumed the form of Varuna, all of them became highly pleased. Seeing the celestial damsels of great beauty, the seed of Brahman came out and fell upon the earth. In consequence of the seed having fallen on the dust, Pushan (Surya) took up that dust mixed with the particles of seed from the earth with his hands and cast it into the sacrificial fire. Meanwhile, the sacrifice with the sacred fire of blazing flames was commenced and it went on. Brahman (as the Hotri) was pouring libations on the fire. While thus employed, the grandsire became excited with desire (and his seed came out). As soon as that seed came out, he took it up with the sacrificial ladle and poured it as a libation of ghee, O delighter of the Bhrigus, with the necessary Mantras, on the blazing fire. From that seed, Brahman of great energy caused the four orders of creatures to spring into existence. That seed of the Grandsire was endued with the three attributes of Sattwa, Rajas, and Tamas. From that element in it which represented the principle of Rajas, sprang all mobile creatures endued with the principle of Pravritti or action. From the element of Tamas in it, sprang all immobile creatures. The principle of Sattwa, however, which dwelt in that seed, entered both kinds of existences. That attribute of Sattwa is of the nature of Tejas or Light (being identical with Buddhi or the Understanding). It is eternal and of it is unending Space. In all creatures the attribute of Sattwa is present and is identical with that light which shows what is right and what is wrong. When the seed of Brahman was thus poured as a libation on that sacrificial fire, there sprang from it, O mighty one, three beings into existence. They were three male persons, endued with bodies that partook of the characters of the circumstances from which they respectively sprang. One arose first from the flames of the fire (called Bhrig) and hence he came to be called by the name of Bhrigu. A second came from the burning charcoals (called Angara) and hence he came to be called by the name of Angiras. The third sprang from a heap of extinguished charcoals and he came to be called by the name of Kavi. It has been already said that the first came out with flames emanating from his body and hence he was called Bhrigu. From the rays of the sacrificial fire sprang another called Marichi. From Marichi (afterwards) sprang Kasyapa. It has been already said that from the (burning) charcoals sprang Angiras. The (diminutive) Rishis called Valakhilyas sprang from the blades of Kusa grass spread out in that sacrifice. From the same blades of Kula grass, O thou of great puissance, sprang Atri. From the ashes of the fire sprang all those that are numbered among the regenerate Rishis, viz., the Vaikhanasas, endued with penances and devoted to Vedic lore and all excellent accomplishments. From the eyes of Agni sprang the twin Aswins endued with great beauty of person. At last, from his ears, sprang all the Prajapatis. The Rishis sprang from the pores of Agni's body. From his sweat sprang Chhandas, and from his strength sprang Mind. For this reason, Agni has been said to be all the deities in his individual self, by Rishis endued with Vedic lore, guided by the authority of the Vedas. The pieces of wood that keep alive the flames of Agni are regarded as the Months. The Juices that the fuel yields constitute the Fortnights. The liver of Agni is called the Day and Night, and his fierce light is called the Muhurtas. The blood of Agni is regarded as the source of the Rudras. From his blood sprang also the gold-complexioned deities called the Maitradevatas. From his smoke sprang the Vasus. From his flames sprang the Rudras as also the (twelve) Adityas of great effulgence. The Planets and Constellations and other stars that have been set in their respective orbits in the firmament, are regarded as the (burning) charcoals of Agni. The first Creator of the universe declared Agni to be Supreme Brahma and Eternal, and the giver of all wishes. This is verily a mystery.