I'm trying to remember the name/author of a novel I read a few years ago.
The basic premise is the main character wakes up after being in hospital, to find a chunk of brain missing from a gunshot wound and a cybernetic implant being used to connect the missing synapses.
The main character was the actual developer of the tech, and during the course of the novel he gradually works out who tried to kill him and stole the tech.
The thief/attempted killer re purposed the tech as a robotic pest controller to try and patent the overall tech without being obvious it was the stolen tech.
I think the novel was written in the early 2000's.