Agni is the god of fire in India. At a deeper level Agni has at least five meanings:

1) fire, viz., Vaishvanara in the Rig Veda
2) personified primordial light, Bhuranya, the rapid carrier of Divine Spark
3) first emanation in the triple manifestation of spirit, force, and matter
4) central spiritual Sun, and
5) the electrical fire of life.

Agni appears in three phases: a) as Sun (Surya) in heaven; b) as lightning in midair (Vayu or Indra), and c) as ordinary fire on earth. Agni is one of the three great deities in the Vedas, viz., Agni, Vayu (or Indra) and Surya, who preside on earth, air and sky, respectively. Agni has three sons by Svaha:

1. Pavaka Vidyuta (electrical fire)
>Kavyavahana, the fire of Pitris
2. Pavamana Nirmatya (fire produced by friction)
>Saharaksha, the fire of the Asuras or the demons
3. Suchi the solar flare
> Havyavahana, the fire of the gods.
The three sons of Agni had 45 sons, so the family had altogether 49 persons identified with the 49 fires. They produced physical, psychic and spiritual energies in men by their permutations and combinations.
In Ayurveda there are 13 agnis.

In some accounts: Agni has a second wide Krttika and son Skanda
and another son Manu 2, Svarocisa

Agni ,is also a city: aka: Yanqi or Yuezhi (a site more recently known as Qarashahar, Karashar or Kashi), lay on the northern track of the Silk Road along the Taklamakan Desert in the westernmost Xinjiang Province of modern China.
It is related to the Tocharian A or Kuchean Agnean language that was known as Saka in Persia, Scythian in the West and became Yakuts in Siberia.
Tinley Dorye 2002.

agni m. ( {ag} Un2.) fire , sacrificial fire (of three kinds , Garhapatya , Ahavaniya , and Dakshina) ; the number three Suryas. ; the god of fire , the fire of the stomach , digestive faculty , gastric fluid ; bile
N. of various plants Semicarpus Anacardium , Plumbago Zeylanica and Rosea , Citrus Acida
mystical substitute for the letter {r} ; in the Katantra grammar N. of noun-stems ending in {i} and {u}
[cf. Lat. {igni-s} ; Lith. {ugni-s} ; Slav. {ognj}].

This fire was called Agni, meaning the inner guide (agra-ni). Agni is the Divine child, seed or embryo (kumara, putra, sunu, sishu, garbha, napat), the spiritual consciousness that enters into creation and builds it up from within. Agni contains the essence, the source and the matrix of who we are and all that we can become. All the forces of nature are the mothers of this Divine child that nothing can limit or overcome. Agni is the mystery of our birth and death and the doorway to the infinite and the eternal.

Agni is seen as the metaphor for all metabolic functions in the body. It includes the digestive function, sense perception, cellular metabolism and mental assimilation.

ogenj = Slovenian

Gods . . Vedic: Agni= fire; Vayu=air; Surya=Sun. [ correspond with the human principles: Kama, Kama-Manas, Manas, the sun of the intellect.] [ T. Glos. 361 ]

Later: Brahma, Vishnu, Siva.