Complex sentence: Because QAI was based on ancient Seraphim technology, the Seraphim had detected it operating on the Quantum Realm and reprogrammed it to spy on, and eventually betray, Dr. Brackman.
Split into simpler sentences: Because QAI was based on ancient Seraphim technology, the Seraphim had detected it operating on the Quantum Realm. They reprogrammed it to spy on, and eventually betray, Dr. Brackman.