aGate is the system controller. It manages power flows between grid, solar, batteries, generator, and home loads, and connects optional accessories like Smart Circuits, Main Load Relay, and MAC 1.