The Metal Men were the first genuine sentient AI developed in the DC universe, well in the New 52 anyway. They were created by Doctor Will Magnus to tackle search and rescue operations, or any tasks too dangerous for humans.
From – Justice League Vol 2 #28