Homéostat
one of the first devices capable of adapting itself to the environment; it exhibited behaviours such as habituation, reinforcement and learning through its ability to maintain homeostasis in a changing environment