The Oracle is essentially a program embedded in the Matrix by the Architect. Because the Matrix versions previously created by the Architect have collapsed. Therefore, to solve human psychology, the Architect added the Oracle program to the Matrix.