The Ratnagotravibhāga (Sanskrit, abbreviated as RgV) and its "vyākhyā" commentary (abbreviated RgVV), also known as the Uttaratantraśāstra, are a compendium of the tathāgatagarbha literature. The text was originally composed in Sanskrit, likely between the middle of the third century and no later than 433 CE. Authorship is uncertain, the Tibetan tradition states it was taught by the Bodhisattva Maitreya and transmitted via Asanga, while the Chinese tradition states it was written by a certain Sāramati. Modern scholarship favors Sāramati. The text and its commentary are also preserved in Tibetan and Chinese translations.