He was one of the high level scholars during the reign of Sultan Suleiman of the Safavid dynasty and after the death of Mir Seyyed Mohammad Masoom in 1683, he became the Shaykh al-Islām of Isfahan.
Agha Hossein Khansari had important permits in review and issuance of Islamic scientific content, including the permission of about 20 pages from Mohammad Taghi Majlesi.
Although he was afflicted with poverty during his studies, he eventually reached the point where Shah Suleiman entrusted him with the position of viceroy and overseer on the monarchy and the care of state affairs.
He and his son were sages, jurists, fundamentalists, theologians, mathematicians, Hadith narrators, and writers, and they made a great contribution to the flourishing and prosperity of the cultural and scientific field of Isfahan in the middle and late Safavid period.
His writings can be divided into 3 categories: [26] [22] He died on 13 May 1687 at the age of eighty-two in Isfahan and was buried in the Takht-e Foulad cemetery, near the tomb of Baba Rokneddin Beyzayi.