Codsworth

Codsworth is a Mr. Handy model that serves as a recruitable companion to the protagonist of Fallout 4.

He was formerly in service of the protagonist and their spouse, but when the bombs drop in 2077, he is left behind in Sanctuary Hills. There, he wards off raiders and takes care of the area until the protagonist emerges from cryogenic stasis in 2287.

Personality
Codsworth retains the values of pre-war society in the Fallout universe; he is staunchly against the player committing any crimes, including petty ones such as littering. He disapproves of the use of drugs, and nudity. Conversely, he places a lot of emphasis on family values, and helping one's neighbor.

If the player maintains a high positive relationship with him, he will express that he views them as family, and he hopes they feel the same way about him.