MAAS provides a number of different scripting tools to control and drive its operation.
Commissioning scripts: MAAS provides an extensive commissioning toolset, embodied in it flexible commissioning scripts mechanism.
Hardware test scripts: MAAS is capable of testing hardware thoroughly, in a customisable way.
Terraform: MAAS offers a fully-functional Terraform provider.