Nardole

Nardole was a companion of the Twelfth Doctor and former employee of River Song. While working for River on Mendorax Dellora, he was beheaded by the body of King Hydroflax, who used him to obtain information on her whereabouts. (TV: The Husbands of River Song)

Following twenty-four years on Darillium, River went to her death in the Library and the Doctor reassembled Nardole out of fear of being alone. (TV: The Return of Doctor Mysterio)

Working for River Song
Nardole first encountered the Doctor when he was told to find the surgeon Professor Song needed to extract the Halassi Androvar from the head of King Hydroflax. Unfortunately, Nardole found the Twelfth Doctor and brought him to Professor Song instead.

When River and the Doctor escaped Hydroflax's ship with his head in a bag, Hydroflax's mechanical body turned to Nardole for strategic information. Although Nardole claimed to know little of River's plans, there was only one way for Hydroflax's body to be sure, so it removed Nardole's head and attached it to its own. Holding a gun to Nardole's head, the body forced him to draw in Ramone, whose head the body took while storing Nardole's within itself.

On the Harmony and Redemption, the body pulled Nardole's head out of storage to confirm River's identity before putting it back against his protests.

After the crash of the Harmony and Redemption on Darillium, Hydroflax's body was recovered from the wreckage. As the hostile onboard computer was destroyed by the Doctor, Nardole and Ramone shared control of the body, working in a restaurant situated before the Singing Towers. When River arrived several years after the crash, Ramone was in control as Nardole was getting some "me time" inside the body, something he admitted was hard when he greeted River from inside Hydroflax's body. (TV: The Husbands of River Song)

Travels with the Doctor
After spending twenty-four years with River Song, the Twelfth Doctor feared being alone, and so returned to Nardole and reassembled him, taking his head from Hydroflax and "gluing" it back on. Nardole became his companion and saw it as his duty to make sure that the Doctor was alright following her death.

Together they investigated Harmony Shoal with the help of "The Ghost". He also spent some time as the Emperor of Constantinople, recalling his period of rule as being "firm but fair". (TV: The Return of Doctor Mysterio)

Personality
Nardole was loyal and humble. He saw it as his duty to make sure the Doctor was alright following the death of River Song. (TV: The Return of Doctor Mysterio)

He was timid and could show great fear when faced with danger. He was particularly scared of heights. (TV: The Husbands of River Song)

Although he could sometimes appear incompetent, (TV: The Husbands of River Song) he was knowledgeable and, despite not originating from Earth, knew that New York wasn't a capital city, unlike Washington DC. (TV: The Return of Doctor Mysterio)

Nardole