Yang Yi (died March or April 235), courtesy name Weigong, was an official of the state of Shu Han in the Three Kingdoms period of China.
He was born sometime in the late Eastern Han dynasty and initially served as a Registrar (主簿) under Fu Qun (傅羣), the Inspector (刺史) of Jing Province.
Later that year, Yang Yi followed Zhuge Liang on a campaign against some rebel forces and restless tribes in the southern parts of Shu.
Over the following years, when Zhuge Liang led a series of military campaigns against Shu's rival state Cao Wei, Yang Yi was in charge of managing human resources and logistics.
[4] Zhuge Liang was upset by the lack of harmony between Yang Yi and Wei Yan, but was unwilling to side with either of them because he appreciated the talents of both men.
Around this time, relations between Yang Yi and Wei Yan deteriorated the point of conflict – they accused each other of treason and nearly started a civil war in Shu.
[c][5] After returning to Chengdu, Yang Yi thought that he had made great contributions so he strongly believed that he would be chosen to succeed Zhuge Liang as the new head of the Shu government.
[6] Initially, when Yang Yi was serving as a Master of Writing (尚書), Jiang Wan ranked lower than him, but both of them were later appointed as Chief Clerks under Zhuge Liang.
In early 235,[7] Yang Yi was removed from office, demoted to the status of a commoner, and exiled to Hanjia Commandery (漢嘉郡; around present-day Lushan County, Sichuan).