Apparently scientists have achieved controlling the sensory input of a fly so that it responds to a specific stimulus. It reminds me of Valentino Braitemberg vehicles, except those were simple mechanical objects without any inter-neurons, yet they exhibited very complex behavior.