I think Star Trek is interesting in that "AI" was explored so often by so many different writers that you have the entire spectrum of agency or sophistication levels by now - the ship's computer at one end, then the Holodeck characters, Data and eventually the Borg at the other end...
reply