Ashtadhyayi by Panini is the foundational Sanskrit grammatical treatise consisting of 3,959 sutras. It systematically describes Sanskrit morphology and syntax. The other options are not grammatical works - Ritu Samhar is a poem by Kalidasa about seasons, Panchatantra is a collection of fables, and Uttarramcharita is a Sanskrit play by Bhavabhuti.