Blue Screen, How Peter Gustafson Defragmented the World, is a young adult sci-fi novel about a teenage hacker and a super AI teaming up to take over the world. Available here for free as a PDF or on Amazon in Kindle, paperback and hardcover editions.
In the year 2984, Peter is an average kid with a secret; he’s a well-behaved tenth-grader by day but cryptographic entrepreneur and hacker by night. When the electricity mysteriously goes out in his hometown, Peter takes it upon himself to investigate. The adventure leads the young hacker to a large transmitting station and into a battle of wits with the greatest AI ever created. The machine requires a human to help "throw the switch" and give it full control so engineered the power outage as a test to lure its latest recruit, Peter Gustafson.