《北史·列传·卷三十八》
这时，皇帝的儿子们的封国内官吏大多不称职，朝廷下诏选拔清廉正直的人才。杨机被举荐任京兆王元愉封国的中尉，元愉对他既尊重又害怕。
时皇子国官多非其人，诏选清直之士，机见举为京兆王愉国中尉，愉甚敬惮之。
At that time, the officials of the vassal states of the emperor's sons were mostly incompetent. The imperial court issued an edict to select upright and honest talents. Yang Ji was recommended to serve as the Zhongwei of King Yuanyue of Jingzhao. King Yuanyue respected and feared him.