The Matrix
The Oracle is played by Gloria Foster in "The Matrix" and "The Matrix Reloaded", and by Mary Alice in "The Matrix Revolutions" and "Enter the Matrix", one of the franchise's video games. In "The Matrix Revolutions" and "Enter the Matrix", it is explained that Kamala and Rama Kandra, the parents of Sati, traded with the Merovingian, giving the Oracle's termination code in exchange for their daughter's passage into the Matrix as an Exile via the Trainman. In reality, Mary Alice played the Oracle because Gloria Foster died of complications from diabetes before her role in "Matrix Revolutions" was shot.