The Hanlinzhi 翰林志 "The Hanlin Academy" is a description of the institution of the Hanlin Academy 翰林院 written by the Tang period 唐 (618-907) scholar Li Zhao 李肇. Li Zhao himself was an academician and served in high positions in the central government during the time of Emperor Xianzong 唐憲宗 (r. 805-820). He has also written the history Tang guoshi bu 唐國史補 and a commentary to Confucian Classics and to histories called Jingshi shiti 經史解題.
The book Hanlinzhi was compiled around 819. In the preface the history of this institution is narrated, which was founded during the Han period 漢 (206 BCE-220 CE) and reformed at the beginning of the Tang. The Hanlinzhi itself describes the outer appearance of the instititions, its functional buildings and gardens, as well as the offices, the rituals in court ceremonies, during banquets, and the particular songs chanted by members of this institution.
The Hanlinzhi became part of the Song period 宋 (960-1279) collectaneum Hanyuan qunshu 翰苑群書. This version is slightly different than that in the Siku quanshu 四庫全書, which is based on a version from Jiangsu.
Source: Li Xueqin 李學勤, Lü Wenyu 呂文鬰 (1996). Siku da cidian 四庫大辭典, vol. 1, p. 1418. Changchun: Jilin daxue chubanshe.