Systems and methods are described for autonomously recovering a machine comprising one or more modules. An error message from the machine is received and, based on the error message, a first module of the one or more modules to replace is determined, wherein the first module has a first type. An autonomous vehicle is instructed to remove, from the machine, the first module. The autonomous vehicle is instructed to install, at the machine, a second module of the first type.