In Rāmāyaṇa (Ramayana) we see that during the battle between Rāmacandra (Ramachandra) and Rāvaṇa (Ravan), the king of Laṃkā (Lanka), Agastya was present as an observer in the battlefield. Agastya taught Rāmacandra Ādityahṛdaya (Adityahridaya) mantra and advised him on the battle.

From this it can be derived that Agastya visited the kingdom of Laṃkā as well. Thus it can be imagined that an aśrama (ashrama) bearing his name may be found in this place as well.