Khwājah Qāsim Tushtarī’s recently discovered Recognizing God (Maʿrifat-i Khudāy taʿālā) is one of the only texts known to have survived from the early Alamūt period of Ismaili Muslim history. This article analyses the work in the context of the “new Invitation” (daʿwat-i jadīd) to the Ismaili faith that al-Shahrastānī (d. 548/1153) tells us was inaugurated by the Fāṭimid Imam al-Mustanṣir billāh (d. 487/1094) and championed by Ḥasan-i Ṣabbāḥ (d. 518/1124). The text emphasises that the ultimate purpose of human existence is to know God, and that the path to this knowledge is through the Imam of the Time. The concepts of the ‘true teacher’ (muʿallim-i ṣādiq) and ‘sage’ (ḥakīm) are examined and the literary culture fostered at the Ismaili fortresses, particularly Girdkūh, is explored. Significantly, the article draws attention to the position of Sanāʾī Ghaznawī (d. circa 525/1131) in Persian Ismaili literature and to the very early development of pious, devotional and homiletic poetry as well as the “mathnawī metre” in Ismaili environments, which may have helped set the stage for some of the most significant poetic achievements of mystical Islam: the writings of Farīd al-Dīn ʿAṭṭār (d. circa 618/1221) and Jalāl al-Dīn Rūmī (d. 672/1273).