The film names its source: David, a robot boy, hears the story of Pinocchio and sets out to find the Blue Fairy so she can make him real. Kubrick had described the project as Pinocchio with robots before handing it to Spielberg.
Film· 2001· Science Fiction
A.I. Artificial Intelligence: it draws on 4 recorded sources.
The works this one is recorded as drawing on.
The film names its source: David, a robot boy, hears the story of Pinocchio and sets out to find the Blue Fairy so she can make him real. Kubrick had described the project as Pinocchio with robots before handing it to Spielberg.

Book · 1883
A.I. is built on Pinocchio: David, a robot boy, hears the story of Pinocchio and spends the film searching for the Blue Fairy to make him a real boy so his mother will love him.
A critics' reading of a Kubrick project: A. O. Scott noted Spielberg's references to Kubrick's films, predominantly 2001, and John Williams scored an "homage à Kubrick" echoing the Ligeti that 2001 used.
Events, places, movements and ideas outside fiction that this work is recorded as drawing on.
Real world
David, a robot boy programmed to love, longs to become real after his adoptive family abandons him.