Agni Purana, one of the major eighteen Puranas, contains descriptions and details of various incarnations (avatars) of Vishnu.
It also has details account about Rama, Krishna, Prithvi, and the stars. It has a number of verses dealing with ritual worship, cosmology, history, warfare, and even sections on Sanskrit grammar, meter, law, medicine, and martial arts. Tradition has it that it was originally recited by Agni to the sage Vasishta. Its composition is either dated to the 8th-9th century or the 10th-11th century.