From Within

From Within is a quest that can be obtained within the Commonwealth, in Fallout 4.

Synopsis
With the Brotherhood of Steel getting closer and closer to fully establishing themselves within the Commonwealth, it is discovered that Doctor Madison Li truly had succeeded in her endeavors to reach and join the Institute, and is now sought after by Elder Maxson, in correlation with a secret project that requires her particular expertise. Whether she can be convinced to leave her work at the Institute, is an entirely different story altogether.

Walkthrough

 * 1) Once the Sole Survivor has discovered a way to infiltrate the Institute, regardless of whether they went through the BoS in order to build the teleporter and signal interceptor, Elder Maxson will demand of them to seek out Doctor Madison Li, and persuade her to betray the Institute and return to the BoS for work on a secret military project.
 * 2) Once Doctor Li has been discovered as the head of advanced technologies division, she can persuaded to leave the Institute due to her unhappiness with how the Directorate lies to its own fellow scientists, and keeps unnecessary secrets. Should persuasion fail, the Sole Survivor will need to report their failure to the elder.
 * 3) Alternatively, the Sole Survivor may gain access to the hidden away F.E.V. labs, and discover proof of the actual incident behind Virgil's disappearance, which, when shown to Doctor Li, will cause for her to lose any and all faith in the Institute, and will immediately re-pledge her loyalties to the BoS.
 * 4) Regardless of how Doctor Li is dealt with, the Sole Survivor will need to report to Elder Maxson.