`` it was something i had been working on in my spare time ; a rat cyber sentry , '' he took the pieces and looked them over carefully , `` it is an ai controlled device that would have been used to patrol hard to reach places and act as a spy . ''