Rudy Rucker's book The Hacker and the Ants was published in 1994.
Synopsis
Protagonist Jerzy Rugby is trying to create truly intelligent robots. While his actual life crumbles, Rugby toils in his virtual office, testing the robots online. Then, something goes wrong and zillions of computer virus ants invade the net. Rugby is the man wanted for the crime. He's been set up to take a fall for a giant cyberconspiracy and he needs to figure out who -- or what -- is sabotaging the system in order to clear his name. Plunging deep into the virtual worlds of Antland of Fnoor to find some answers, Rugby confronts both electronic and all-too-real perils, facing death itself in a battle for his freedom.
Buy this book