Buddhist texts
Several Buddhist texts mention Agastya. Just like early Buddhist texts such as "Kalapa", "Katantra" and "Candra-vyakarana" adapting Panini, and Asvaghosa adopting the more ancient Sanskrit poetic methodology as he praises the Buddha, Agastya appears in 1st millennium CE Buddhist texts. In Tamil texts, for example, Akattiyan is described as the sage who learnt Tamil and Sanskrit grammar and poetics from Avalokitan (another name for Buddha-to-be Avalokiteśvara).