<Tr> <Th> Title </Th> <Td> A one eyed program designed to investigate the human psyche . </Td> </Tr> <Tr> <Th> Spouse (s) </Th> <Td> Shelby </Td> </Tr> <P> The Oracle is a fictional character in The Matrix franchise . She was created by The Wachowskis, and portrayed by Gloria Foster in the first and second film and Mary Alice in the third film . The character also appears in the video game Enter the Matrix and the MMORPG The Matrix Online . </P> <P> In the first film, the Oracle is a mysterious but powerful figure, incongruously depicted as a cheerful old lady who smokes cigarettes and bakes cookies . She possesses the power of foresight, which she uses to advise and guide the humans attempting to fight the Matrix . Later, she is revealed to be a sapient program who is integral to the very nature of the Matrix itself . Whether her power of prediction is deterministic or not is a concept given much treatment in all three films . She herself claims that she lacks the ability to see past her own choice, explaining that no one, including herself, can see past a choice they do not understand . It becomes clear in the films that her power cannot be used to predict the ultimate consequences of Neo, who possesses free will when he defies the Architect . </P>

Who played the oracle in the matrix movies