A self-propelled machine for agriculture forms an agricultural gantry system. The machine has a support structure for receiving attachment devices, at least one drive unit with a control module, a support structure forming an agricultural gantry system and a plurality of ground supports for moving the support structure. The agricultural gantry system is convertible from a road orientation defining a driving width (FB) to a working orientation having a substantially larger working width (AB).