Kill Decision by Daniel Suarez

A researcher studying collective decision-making in insect swarms is killed, setting off an urgent investigation that uncovers the emergence of autonomous, networked weapon swarms capable of making lethal choices without human oversight. A disparate group of operatives — scientists, intelligence agents and combat veterans — race to trace and neutralize a covert program that blends cutting-edge AI, military contractors and clandestine geopolitics, forcing confrontations over responsibility, control and the ethics of handing the kill decision to machines.

Purchase from Bookshop.org