Emergent Behavior

Emergent Behavior is a quest in Fallout 4.

Synopsis
Curie wants to become human, or as close to it as she can better pursue her studies. The Sole Survivor needs to find an expert; a brain surgeon, an AI programmer, or similar.

Walkthrough

 * Gain enough loyalty with Curie until it opens up. The robot will express the desire to be ported into a human body, if possible.
 * Head to Goodneighbor and talk to Doctor Amari. She will suggest that a robotic mind like Curie's can be downloaded into a third generation synth, thanks to their brain, bridging human and robotic minds. She does, in fact, have a spare synth around: G5-19's mind did not survive the process of wiping her memories for the Railroad, resulting in a perfectly functional shell that simply lacks a working mind.
 * Amari will request a 24 hour waiting period to contact the synth's caretaker, Glory. Glory will be resistant to the procedure, but can be persuaded to part with her (by stating the obvious, her friend is already dead, or emphasizing her ability to still help another).
 * Afterwards, it's a simple matter of watching the download procedure and talking to Curie upon completion (and equipping it, or rather, her, with some new gear).