Motti, Prey is about nanotechnology in which scientists create nanodrones that are intended to fly around over enemy territory undetected. Then, when ready to strike, they form together to create a nanocloud that can attack and destroy just about anything. However, these nanobugs, in combination with the AI implanted in them, start to develop intelligence and evolve and they get loose.
I may be a bit off on my description as it's been well over a year since I read it.