Codsworth

Codsworth is a Mister Handy purchased by the Sole Survivor before the Great War. Found in Sanctuary Hills, he can be recruited as a potential companion upon reaching a trigger point in Concord during the quest Out of Time.

Background
Codsworth is a Mister Handy robotic butler for the Sole Survivor's family. He was not granted entry to Vault 111, stated to the family by the Vault-Tec Rep, and was left behind. Codsworth is reunited with the Sole Survivor when they return to their former home 210 years later. He continued his normal programming, attempting to keep the house and car clean. At some point after the bombs fell, Codsworth visited the town of Concord—mentioning that the locals only "pummeled [him] with sticks a few times" and "shot at [him] on a few occasions" before he retreated to Sanctuary.

Codsworth occasionally provides the Sole Survivor with purified water and jokes. Reaching the maximum affinity with Codsworth grants the Robot Sympathy perk. The perk gives +10 Energy Resistance against any robots' energy weapons.

Recognized names
Codsworth says the Sole Survivor's chosen name if it is an option, although it may be shortened, extended, or have a word omitted. A list of spoken names can be found here.

Appearances
Codsworth appears in Fallout 4 and Fallout: The Board Game.

Behind the scenes

 * Codsworth occasionally hums and whistles real-world tunes such as La Marseillaise and Rule, Britannia!.
 * Codsworth will mention Cori, the name of a villager from The Elder Scrolls: Arena and Borri, the name of one of the Greybeards from The Elder Scrolls: Skyrim.

Bugs

 * Codsworth may sometimes stay in one place when dismissed to a settlement (even if outside the building boundary), and rarely move around or perform tasks except to fight hostile enemies.
 * Assigning Codsworth to a settlement resource may have no effect, despite indicating that he is assigned to it in the workshop menu.
 * Pre-War Codsworth's body will always reflect the Sole Survivor's living room.
 * As stated in the notes section, Codsworth will become available as a companion after discovering Concord on the map. It is not necessary to complete or even start When Freedom Calls. Simply going to Concord and returning to Codsworth is enough. However, if Codsworth is sent to another settlement before the companion dialogue is complete, he will not acknowledge any attempt to speak to him until he is sent back to Sanctuary and the proper dialogue is completed. On PC, this can be cleared with the console command.
 * Codsworth will refuse to inspect/hack a terminal, despite being equipped with a hacking module at a robot workbench from the Automatron add-on.
 * Until the quest Out of Time is completed, Codsworth will always return to Sanctuary upon companion dismissal because  is applied by the quest   until both   is set to 1 and the Out of Time's stage 200 (waiting until the player character leaves the museum to stop the quest) is complete. The easiest way to resolve this without advancing or disrupting the main quest is the console command.