The aim of this paper is to test two methodologies, applicable to different spatial scales (from regional to local), to predict the capacity of agroecosystems to provide habitats for the species richness of butterflies and birds, based on the ways their socio-metabolic flows change the ecological functionality of bio-cultural landscapes. First, we use the more general Intermediate Disturbance-Complexity (IDC) model to assess how different levels of human appropriation of photosynthetic production affect the landscape functional structure that hosts biodiversity. Second, we apply a more detailed Energy-Landscape Integrated Analysis (ELIA) model that focusses on the energy storage carried out by the internal biomass loops, and the energy information held in the network of energy flows driven by farmers, in order to correlate both (the energy reinvested and redistributed) with the energy imprinted in the landscape patterns and processes that sustain biodiversity. The results obtained after applying both models in the province and the metropolitan region of Barcelona support the Margalef's energy-information-structure hypothesis by showing positive relations between butterflies' species richness, IDC and ELIA, and between birds' species richness and energy information. Our findings support the view that strong relationships between farming energy flows, agroecosystem functioning and biodiversity can be detected, and highlight the importance of farmers' knowledge and labour to maintain bio-cultural landscapes.