A humble roundworm is leading the race in artificial intelligence, showing that it may be possible one day to upload our brains to a computer.