Over the years, artists, writers, filmmakers and game studios have all tackled the concept of artificial intelligence. Often their vision is of machines that are brutally hostile to humans. Philip K. Dick envisioned androids that murder their owners. The iconic HAL from 2001: A Space Odyssey ... also murders his human companions. Of course, there's Skynet, which launches an all-out war on mankind. We could go on like this for a long time. But there are also those, like Spike Jonze, who envision us having a more complex relationship with computer-based personalities; one in which they could even be love interests. And in Star Trek: The Next Generation Data is not only a "good" android, but he's often the hero of the show.

We've pulled together 13 of our favorite portrayals of AI over the years and put them in the gallery below. It is by no means comprehensive. So please, let us know what we missed in the comments or tweet at us (@engadget) to let us know your favorite AI character from the film, TV or books using the hashtag #EngadgetAIWeek.