A hemodynamics-driven magnetoelastic vascular graft (MVG) has been developed, and its biosafety and functionalities were successfully validated in vivo in rat and pig. The MVG restores blood flow and enables wireless, real-time and continuous stenosis diagnosis, and has clinical potential for improving the management of human vascular disease.