The Agamas (Devanagari: आगम, IAST: āgama) are a collection of scriptures of several Hindu devotional schools. The term literally means tradition or "that which has come down", and the Agama texts describe cosmology, epistemology, philosophical doctrines, precepts on meditation and practices, four kinds of yoga, mantras, temple construction, deity worship and ways to attain sixfold desires. These canonical texts are in Sanskrit and in south Indian languages such as Tamil (written in Grantha script and Tamil script).
The three main branches of Agama texts are those of Shaivism (Shiva), Vaishnavism (Vishnu), Shaktism (Devi). The Agamic traditions are sometimes called Tantrism, although the term "Tantra" is usually used specifically to refer to Shakta Agamas. The Agama literature is voluminous, and includes 28 Shaiva Agamas, 77 Shakta Agamas (also called Tantras), and 108 Vaishnava Agamas (also called Pancharatra Samhitas), and numerous Upa-Agamas.
The origin and chronology of Agamas is unclear. Some are Vedic and others non-Vedic. Agama traditions include Yoga and Self Realization concepts, some include Kundalini Yoga, asceticism, and philosophies ranging from Dvaita (dualism) to Advaita (monism). Some suggest that these are post-Vedic texts, others as pre-Vedic compositions. Epigraphical and archaeological evidence suggests that Agama texts were in existence by about middle of the 1st millennium CE, in Pallava dynasty era.
Scholars note that some passages in the Hindu Agama texts appear to repudiate the authority of the Vedas, while other passages assert that their precepts reveal the true spirit of the Vedas. The Agamas literary genre may also be found in Śramaṇic traditions (i.e.Buddhist, Jaina etc.). Bali Hindu tradition is officially called Agama Hindu Dharma in Indonesia.