Yang Yi 楊儀, courtesy name Weigong 威公, was a military commander of the state of Shu-Han 蜀漢 (221-263), one of the Three Empires 三國 (220~280 CE).
He hailed from Xiangyang 襄陽 (in today's Hubei province) and served Fu Qun 傅群, the regional inspector (cishi 刺史) of the province of Jingzhou 荊州, as a secretary. Yang later sided with Guan Yu 關羽 (d. 219), the governor (taishou 太守) of Xiangyang, who appointed him xxx 功曹. Because of his private conflicts with yyy (shangshu ling) Liu Ba 劉巴, he was transferred to the post of governor of Hongnong 弘農.
Under Emperor Liu Shan 劉禪 (r. 223-263 CE) of Shu, he was xxx 丞相府參軍. Yang Yi was highly admired by chief minister Zhuge Liang 諸葛亮 (181-234) for his achievements in military logistics during the Hanzhong 漢中 campaign, made xxx 長史、中軍師, 綏德將軍. but after Zhuge's passing away, Yang was at odds with his successor, Jiang Wan 蔣琬 (d. 246). In spite of his victory over the rebellious commander Wei Yan 魏延, Yang was dismissed and exiled to Hanjia 漢嘉, but when Yang continued to criticize Jiang Wang, he was thrown into jail, where he committed suicide.