Sorry about the nightmares, its part of reprogramming.
We have found a terminal in the center of the fortress. You will be transported there.
Explore the site until you find the AI's mainframe.
Destroy the circuitry and find a terminal for extraction.
Good luck.