Ai artificial intelligence also known as ai is a 2001 american science fiction drama film directed by steven spielberg the screenplay by spielberg and screen story by ian watson were loosely based on the 1969 short story supertoys last all summer long by brian aldiss.