This document presents a thesis submitted by Jan Willem Kruize for the degree of doctor at Wageningen University. The thesis examines advancement of farming through facilitating collaboration using reference architectures and models for farm software ecosystems. It begins with an introduction that provides background on the problem of improving adoption of advanced farm management styles and potential solution directions, including the hypothesis and research questions. The methodology uses a design science and case study approach to develop reference architectures and models. The remainder of the thesis is organized into chapters that present bottlenecks found in case studies of arable farms, develop a Reference Architecture of Agricultural Enterprises (RAAgE) to describe farm processes and ICT components, and propose a Reference Architecture for Farm Software E