Nature, Published online: 02 April 2025; doi:10.1038/s41586-025-08726-4

A millimetre-scale bioresorbable optoelectronic system with an onboard power supply and a wireless, optical control mechanism is developed for general applications in electrotherapy and specific uses in temporary cardiac pacing.