Love All Systems Red by Martha Wells? Check out these eight other sci-fi books full of robots and AI like Murderbot, like The Tea Master and the Detective by Aliette de Bodard.
A short list of some of the best books on artificial intelligence, the study of how computers can be made to act intelligently, including Human + Machine: Reimagining Work in the Age of AI by Paul R. Daugherty and H. James Wilson.
Sci-fi writer Ren Warom considers aliens, Ant Queens, and what it's like to write artificial intelligence.