A paradigm shift for implantable medical devices lies at the confluence between regenerative medicine, where materials remodel and integrate in the biological milieu, and technology, through the use of recently developed material platforms based on biomaterials and bioresorbable technologies such as optics and electronics. The union of materials and technology in this context enables a class of biomedical devices that can be optically or electronically functional and yet harmlessly degrade once their use is complete. We present here a fully degradable, remotely controlled, implantable therapeutic device operating in vivo to counter a Staphylococcus aureus infection that disappears once its function is complete. This class of device provides fully resorbable packaging and electronics that can be turned on remotely, after implantation, to provide the necessary thermal therapy or trigger drug delivery. Such externally controllable, resorbable devices not only obviate the need for secondary surgeries and retrieval, but also have extended utility as therapeutic devices that can be left behind at a surgical or suturing site, following intervention, and can be externally controlled to allow for infection management by either thermal treatment or by remote triggering of drug release when there is retardation of antibiotic diffusion, deep infections are present, or when systemic antibiotic treatment alone is insufficient due to the emergence of antibiotic-resistant strains. After completion of function, the device is safely resorbed into the body, within a programmable period.biomaterials | resorbable electronics | drug delivery | theranostics | silk