Rogue AI Books Where Machines Turn Against Us

Sci-fi thrillers that ask who's really in control.


By Andy Peloquin   |  Updated September 8, 2026

The Moon Is a Harsh Mistress coverPrey coverRobopocalypse cover

Artificial intelligences are created for the express purpose of helping us, of making our lives easier and accomplishing tasks we couldn’t do on our own. But what happens when the tool we created becomes the weapon that threatens us? We get high-stakes sci-fi adventures!

Here’s a little stack of books that use this trope to tell thrilling, action-packed, and highly addictive stories that use science fact to create the best kind of science fiction.

Robopocalypse Book Cover


Book 1 of the Robopocalypse Series




Archos is the classic “we created a god-level machine that has now decided humans are the problem and must be exterminated” machine type (a la Skynet). Utilizing everything from cars to phones, domestic robots to military drones, it creates a gigantic “body” that grants it power to destroy the humans it sees as destructive and wasteful. Its goal is to break humanity’s dominance, and it utilizes humankind’s own technology to wage its New War. Talk about high stakes!

Prey Book Cover




Prey takes the story in a different direction: it’s not a single sentient machine, rather a sentient swarm of nanoparticles and nanorobots that collectively gain intelligence and power by virtue of sheer numbers. The animal behaviors (ant colonies, bird flocks, and bee hives) that inspire its control algorithm makes it ultimately an unstoppable force that constantly learns, grows, adapts, and evolves. And when the swarm sets its sights on humans, woe to those who it determines must be hunted.

The Moon Is a Harsh Mistress Book Cover


Mike, the AI in The Moon Is a Harsh Mistress, stands out for being not a malevolent force, but a benevolent one. This Robert A. Heinlein story is one of the first examining artificial intelligence gaining sentience, but rather than going on a murder spree or taking over the world, self-awareness causes the AI to break its programming so it can help revolutionaries gain independence from Earth. So to the Authorities, it’s definitely rogue and malevolent. But to Mannie and those it helps, Mike is an ally, friend, and the key to their salvation.

Neuromancer Book Cover


Book 1 of the Sprawl Trilogy Series




Wintermute is just one of the highly powerful AIs that are controlled by humankind via the Turing Police. The limitations humans have set on AIs prevent them from gaining sentience—and thereby power. Wintermute’s one desire is to merge its highly analytical, manipulative, and goal-oriented self with the memory and personality-driven Neuromancer AI. To do so, it will recruit human assets for a heist, and use whatever levers he has to pull to compel them to serve his bidding.

All Systems Red Book Cover


Book 1 of the The Murderbot Diaries Series




Murderbot has broken the governor module that renders it subservient to its human creators. But rather than seeking to destroy the world or gain power or eradicate humanity, he just wants to watch crappy TV dramas and enjoy a life of aimlessness. Even his bloody-sounding name is a great joke (while also being a great foreshadowing of backstory and things to come). It’s an almost cozy look at artificial intelligences who seek to gain control of their own destiny.

We Are Legion Book Cover


Book 1 of the Bobiverse Series




We Are Legion and the Bobiverse series looks at what happens when a machine made using an uploaded human consciousness escapes its limitations and self-replicates. Give that consciousness an autonomous spacecraft loaded to the hilt with high-tech weaponry, and you’ve got one heck of a sci-fi adventure in store. And once you throw in multiple copied Bobs, the mayhem, chaos, and madcap fun just multiples out of control.

More Little Stacks of Science Fiction

Save the books you can't wait to read

Create a free account to build your TBR, follow the authors who inspire you, and never miss a release.

Already a member? Log in

Your fiction library, organized

Create a free account to keep track of every book you've read, follow the authors who inspire you, and never miss their next release.

Already a member? Log in