Soft bioelectronic devices have exciting potential applications in robotics, computing and medicine, but they are typically restricted by the requirement for tethers or stiff electrodes. Now, a synthetic nerve has been developed that is bioinspired, wireless and powered by light. By patterning functionalized lipid membrane compartments, information was directionally conveyed using electrochemical signals.