An Automatic Mains Failure (AMF) Panel for a generator is an electrical control system that monitors the power coming from the mains supply. When it senses an interruption in the power supply, it will automatically switch over to the generator as a backup to keep power running without any downtime or disruption.