{"id":676508,"date":"2026-11-06T07:02:54","date_gmt":"2026-11-06T07:02:54","guid":{"rendered":"https:\/\/www.newsbeep.com\/ie\/676508\/"},"modified":"2026-11-06T07:02:54","modified_gmt":"2026-11-06T07:02:54","slug":"integrating-local-and-landscape-management-promotes-biodiversity-multifunctionality-and-yields-in-tropical-agroforests","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ie\/676508\/","title":{"rendered":"Integrating local and landscape management promotes biodiversity, multifunctionality and yields in tropical agroforests"},"content":{"rendered":"<p>Study area<\/p>\n<p>We developed, to our knowledge, the first integrated measurement of multi-taxa diversity, ecosystem services, pests and diseases, soil fertility, microclimate, and yield across 28 organic cacao agroforests in the northern Peruvian Amazon (San Mart\u00edn Department; Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#Fig7\" rel=\"nofollow noopener\" target=\"_blank\">7<\/a>). The San Mart\u00edn Department, responsible for 40% of the cacao production in Peru, has undergone a profound economic transformation over the past 30 years driven by alternative development policies aimed at replacing illicit coca cultivation with high-value agroforestry crops such as cacao and coffee<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 8\" title=\"MIDAGRI. Hoja de Ruta hacia una Econom&#xED;a Circular en el Sector Agrario y de Riego. Decreto Supremo N.&#xB0; 0007-2025-MIDAGRI (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR8\" id=\"ref-link-section-d92962672e2415\" rel=\"nofollow noopener\" target=\"_blank\">8<\/a>. The expansion of robust, legal agricultural markets and the development of farmer associations have successfully integrated smallholders into global value chains, catalyzing regional infrastructure development, improved public safety, and substantial rural poverty reduction<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 79\" title=\"Cabieses, H. The &#x2018;Miracle of San Mart&#xED;n&#x2019; and Symptoms of &#x2018;Alternative Development&#x2019; in Peru. &#010;                  https:\/\/www.tni.org\/en\/publication\/the-miracle-of-san-martin-and-symptoms-of-alternative-development-in-peru-0&#010;                  &#010;                 (2010).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR79\" id=\"ref-link-section-d92962672e2419\" rel=\"nofollow noopener\" target=\"_blank\">79<\/a>.<\/p>\n<p>Fig. 7: Map of the study area.<img decoding=\"async\" aria-describedby=\"figure-7-desc\" src=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/11\/43247_2026_4141_Fig7_HTML.png\" alt=\"Fig. 7: Map of the study area.\" loading=\"lazy\" width=\"685\" height=\"458\"\/><\/p>\n<p>Location of the 28 study agroforests in the northern Peruvian Amazon (A, B) and an example of a drone-acquired orthomosaic image (C) used to calculate local shade-tree height (D) and cover (E) of the agroforests. We calculated shade-tree cover heterogeneity as the standard deviation of shade-tree cover values in 10\u2009\u00d7\u200910\u2009m squares (E). The satellite image (A) corresponds to a PlanetScope image for August 2022 and was accessed via Planet Explorer<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 108\" title=\"Planet Team. Planet Application Program Interface: In Space for Life on Earth. San Francisco, CA. &#010;                  https:\/\/api.planet.com&#010;                  &#010;                 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR108\" id=\"ref-link-section-d92962672e2457\" rel=\"nofollow noopener\" target=\"_blank\">108<\/a> (\u00a9 Planet Labs PBC 2026. All rights reserved). The maps of Peru and San Mart\u00edn (B) were built in QGIS 3.28.1 based on the ESRI World Physical Map (ESRI Inc.). Orthomosaics and digital elevation models (C\u2013E) were built using Agisoft Metashape Pro v.2.0.0 (Agisoft LLC) by blending georeferenced drone images taken at 100\u2009m above ground.<\/p>\n<p>San Mart\u00edn has two marked seasons: a dry season from April to September (24\u2009mm of minimum monthly average precipitation) and a wet season from October to March (92\u2009mm of minimum monthly average precipitation; data extracted from <a href=\"https:\/\/weatherspark.com\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/weatherspark.com<\/a>). Our 28 agroforests were evenly distributed between the central Huallaga River valley and the middle-upper Huayabamba River valley (Supplementary Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>). Both regions have similar mean annual temperatures (26\u2009\u00b0C) and precipitation levels (1200\u20131400\u2009mm), but differ in the agricultural intensity of the predominant land-use types and the characteristics of the remaining secondary forest. The Huallaga River valley has a greater proportion of intensive monocultures (e.g., rice and papaya), and its forest cover is mainly composed of seasonally dry tropical forests. On the other hand, the Huayabamba River valley\u2014approximately 30\u2009km away\u2014is dominated by smallholder agroforests and banana plantations, with its forest cover composed of lowland tropical moist forests. Soils in both regions are classified as Orthic Acrisols, characterized by high acidity and low nutrient retention capacity<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 80\" title=\"FAO. FAO\/Unesco Soil Map of the World, Revised Legend, with corrections. World Resources Report 60, Food and Agriculture Organization of the United Nations (FAO), Rome, Italy (1998).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR80\" id=\"ref-link-section-d92962672e2491\" rel=\"nofollow noopener\" target=\"_blank\">80<\/a>.<\/p>\n<p>In each region, we selected agroforests following gradients of shade-tree canopy openness and landscape complexity, represented by the proportion of tree and forest cover. Elevations ranged from 256 to 358\u2009m.a.s.l. in the Huallaga valley and from 330 to 436\u2009m.a.s.l. in the Huayabamba. Agroforests varied from 0.3 to 2.3\u2009ha in size, with mean areas of 1.29\u2009\u00b1\u20090.63\u2009ha in the Huallaga valley and 1.29\u2009\u00b1\u20090.67\u2009ha in the Huayabamba. The minimum distance between agroforests was 407\u2009m, and all but three of them were spaced at least 500\u2009m apart (mean distance to the nearest agroforests: 1093\u2009m). All cacao agroforests were managed by smallholders affiliated with organic farmer cooperatives\u2014the Cooperativa Agraria Cacaotera Acopagro Ltda. in the Huallaga valley and the Cooperativa Agraria Cacaotera Choba Choba Ltda. in the Huayabamba\u2014both of which adhere to stringent organic and fair-trade standards<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 81\" title=\"Fairtrade International. Fairtrade Standard for Cocoa v.2.14. Fairtrade Labelling Organizations International, Bonn, Germany (2023).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR81\" id=\"ref-link-section-d92962672e2498\" rel=\"nofollow noopener\" target=\"_blank\">81<\/a>. Shade trees in the agroforests were dominated by native timber species planted by farmers, including mahogany (Swietenia macrophylla), capirona (Calycophyllum spruceanum), and bolaina (Guazuma crinita). Fruit trees such as avocado (Persea americana), papaya (Carica papaya), and Citrus spp., as well as non-native timber species like Tectona grandis, were also present but generally less abundant. Although shade timber trees are regularly harvested and used as a secondary income source in our study area, agroforest owners committed to abstaining from harvesting them to maintain a consistent agroforest canopy structure throughout the study period.<\/p>\n<p>Environmental variables<\/p>\n<p>We used four variables to characterize agroforest canopy structure: shade-tree cover, cover heterogeneity, height, and height heterogeneity. For each agroforest, we built digital elevation models (DEMs) from drone images and measured shade-tree cover as the percentage of the agroforest covered by shade trees (pixels &gt;7\u2009m; Supplementary Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">1C\u2013E<\/a>). To calculate shade-tree cover heterogeneity, we divided canopy cover maps into 10\u2009\u00d7\u200910\u2009m sections (Supplementary Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">1E<\/a>), measured the percentage of shade-tree cover in each section, and then calculated the standard deviation of shade-tree cover values across sections. Shade-tree height and height heterogeneity were measured as the average and standard deviation, respectively, of the maximum shade-tree height values in each 10\u2009\u00d7\u200910\u2009m section containing shade trees. DEMs were corrected to account for agroforest slopes before calculating shade-tree variables.<\/p>\n<p>We estimated landscape complexity by calculating the percentages of landscape tree and forest cover in 500\u2009m buffers from the agroforest perimeter. We extracted data on landscape tree cover using a 10\u2009\u00d7\u200910\u2009m resolution raster layer from ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 82\" title=\"Brandt, J., Ertel, J., Spore, J. &amp; Stolle, F. Wall-to-wall mapping of tree extent in the tropics with Sentinel-1 and Sentinel-2. Remote Sens. Environ. 292, 113574 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR82\" id=\"ref-link-section-d92962672e2541\" rel=\"nofollow noopener\" target=\"_blank\">82<\/a>. The cover of mature, secondary, and riparian forests was estimated using satellite images extracted from PlanetScope for September 2022 on QGIS v3.28.1 and corrected through ground-truthing and drone images. Because dense agroforests are difficult to distinguish from forests in satellite imagery, the forest cover in this study may partially include highly shaded agroforests. Therefore, the main difference between the two landscape variables is the inclusion of scattered trees, tree monocrops, and low-shade agroforests in the landscape tree cover, but not in the forest cover.<\/p>\n<p>We used the Pearson coefficient to calculate pairwise correlations between all environmental variables and additive models to analyze non-linear relationships between shade-tree cover and cover heterogeneity and between landscape tree and forest cover (Supplementary Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">9<\/a> and Supplementary Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>).<\/p>\n<p>Biodiversity surveys and metrics<\/p>\n<p>In each of the 28 cacao agroforests, we assessed the diversity of two vertebrate and five arthropod taxa, namely: birds, aerial insectivorous bats, ants, butterflies, spiders, Hemiptera species, and beetles. As highly mobile organisms, insectivorous birds and bats act as critical top-down regulators of arthropod populations, while frugivorous and nectarivorous species utilize agroforests as transient or complementary habitats, promoting forest regeneration through seed dispersal and pollination<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 36\" title=\"Maas, B. et al. Bird and bat predation services in tropical forests and agroforestry landscapes. Biol. Rev. 91, 1081&#x2013;1101 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR36\" id=\"ref-link-section-d92962672e2562\" rel=\"nofollow noopener\" target=\"_blank\">36<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 58\" title=\"Sekercioglu, C. H. Bird functional diversity and ecosystem services in tropical forests, agroforests and agricultural areas. J. Ornithol. 153, 153&#x2013;161 (2012).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR58\" id=\"ref-link-section-d92962672e2565\" rel=\"nofollow noopener\" target=\"_blank\">58<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 83\" title=\"Muscarella, R. &amp; Fleming, T. H. The role of frugivorous bats in tropical forest succession. Biol. Rev. 82, 573&#x2013;590 (2007).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR83\" id=\"ref-link-section-d92962672e2568\" rel=\"nofollow noopener\" target=\"_blank\">83<\/a>. Additionally, arthropods such as ants and spiders, as well as predatory beetles and Hemiptera species, form a complex mesopredator network that may further regulate herbivore dynamics<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 37\" title=\"Philpott, S. M. &amp; Armbrecht, I. Biodiversity in tropical agroforests and the ecological role of ants and ant diversity in predatory function. Ecol. Entomol. 31, 369&#x2013;377 (2006).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR37\" id=\"ref-link-section-d92962672e2572\" rel=\"nofollow noopener\" target=\"_blank\">37<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 42\" title=\"Gras, P. et al. How ants, birds and bats affect crop yield along shade gradients in tropical cacao agroforestry. J. Appl. Ecol. 53, 953&#x2013;963 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR42\" id=\"ref-link-section-d92962672e2575\" rel=\"nofollow noopener\" target=\"_blank\">42<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 84\" title=\"Ocampo-Ariza, C. et al. Birds and bats enhance cacao yield despite suppressing arthropod mesopredation. Ecol. Appl. 33, e2886 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR84\" id=\"ref-link-section-d92962672e2578\" rel=\"nofollow noopener\" target=\"_blank\">84<\/a>. Conversely, specialized herbivores such as butterfly caterpillars, sap-sucking Hemiptera, and leaf-cutter ants represent lower-trophic guilds that can damage cacao tissues, flowers, and developing pods, potentially limiting agroforest productivity<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 38\" title=\"Cuellar-Palacios, C. et al. Consulta de Expertos En Am&#xE9;rica Latina y El Caribe Sobre Las Pr&#xE1;cticas de Manejo M&#xE1;s Utilizadas Para El Control de Las Principales Plagas y Enfermedades Del Cacao &#010;                  https:\/\/doi.org\/10.13140\/RG.2.2.25578.43200&#010;                  &#010;                 (Bioversity International and International Center for Tropical Agriculture, Cali, Colombia, 2024).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR38\" id=\"ref-link-section-d92962672e2582\" rel=\"nofollow noopener\" target=\"_blank\">38<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"Iva&#xF1;ez-Ballesteros, B. et al. Local canopy cover, shade tree identity and landscape tree cover shape leaf-cutter ant nest density and herbivory in cacao agroforestry systems. J. Appl. Ecol. 63, e70359 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR74\" id=\"ref-link-section-d92962672e2585\" rel=\"nofollow noopener\" target=\"_blank\">74<\/a>. Therefore, the selected taxa serve as complementary ecological indicators for assessing how shade-tree configuration and landscape context shape agroforest biodiversity and multifunctionality.<\/p>\n<p>Bird surveys<\/p>\n<p>Bird surveys were conducted using 15-min point counts in 2022 (September\u2013November) and 2023 (May\u2013September). Each agroforest was visited eight times between 06:00 and 10:00 a.m., with all birds seen or heard within a 25-m radius from the agroforest center recorded<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 85\" title=\"Ralph, C. J., Geupel, G. R., Pyle, P., Martin, T. E. &amp; DeSante, D. F. Handbook of Field Methods for Monitoring Landbirds. Gen. Tech. Rep. PSW-GTR-144-www (Pacific Southwest Research Station, Forest Service, U.S. Department of Agriculture, 1993).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR85\" id=\"ref-link-section-d92962672e2596\" rel=\"nofollow noopener\" target=\"_blank\">85<\/a>. To minimize temporal bias related to observation time, point counts were alternated between regions and times of day. Birds flying over the agroforests were excluded from the counts. All point counts were carried out by the same observer (P.A-L.).<\/p>\n<p>Bird data was previously published in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 44\" title=\"Aycart-Lazo, P. et al. Landscape context influences local management effects on birds and bats in Amazonian cacao agroforestry systems. Agric. Ecosyst. Environ. 385, 109545 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR44\" id=\"ref-link-section-d92962672e2603\" rel=\"nofollow noopener\" target=\"_blank\">44<\/a>. Here, we expand these analyses to assess the influence of understudied aspects of shade-tree spatial and vertical heterogeneity and identify management practices that potentially promote agroforest biodiversity without yield loss.<\/p>\n<p>Bat surveys<\/p>\n<p>We surveyed bats using ultrasonic bat detectors (Song Meter Mini Bat, Wildlife Acoustics, USA) positioned approximately 1.5\u2009m above the ground in 2022 (August\u2013November). While acoustic detectors are the standard methodology for surveying aerial insectivorous bats in the Neotropics<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 86\" title=\"Meyer, C. F. J. et al. Accounting for detectability improves estimates of species richness in tropical bat surveys. J. Appl. Ecol. 48, 777&#x2013;787 (2011).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR86\" id=\"ref-link-section-d92962672e2615\" rel=\"nofollow noopener\" target=\"_blank\">86<\/a>, they cannot reliably assess phyllostomid species richness due to high structural and frequency overlap in their echolocation calls<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 53\" title=\"Yoh, N., Syme, P., Rocha, R., Meyer, C. F. J. &amp; L&#xF3;pez-Baucells, A. Echolocation of Central Amazonian &#x2018;whispering&#x2019; phyllostomid bats: call design and interspecific variation. Mammal Res. 65, 583&#x2013;597 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR53\" id=\"ref-link-section-d92962672e2619\" rel=\"nofollow noopener\" target=\"_blank\">53<\/a>. Consequently, our acoustic assessments focus exclusively on the aerial insectivorous guild. Each agroforest was sampled over four full nights (17:30-06:30), divided into two rounds of two consecutive nights. To account for spatial heterogeneity within the plots, the detector locations were changed between sampling rounds. Sampling was repeated in cases of heavy rainfall. Bat detectors recorded in full spectrum at a sampling rate of 385\u2009kHz. We programmed them to trigger on ultrasonic signals exceeding a minimum threshold of 12\u2009kHz, with a five-second recording duration and a left-channel gain of 12\u2009dB. Recordings were analyzed using Kaleidoscope Pro v.5.6.6 (Wildlife Acoustics, USA) to identify five-second audio files containing at least two bat echolocation calls with frequencies between 8 and 180\u2009kHz, durations of 2\u2013500\u2009ms, and a maximum inter-pulse interval of 500\u2009ms. All the recordings matching these characteristics were classified manually to the species\/sonotype level following reference keys for Amazonian bats<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 87\" title=\"Lopez-Baucells, A. et al. Field Guide to Amazonian Bats &#010;                  https:\/\/doi.org\/10.13140\/RG.2.2.23475.84003&#010;                  &#010;                 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR87\" id=\"ref-link-section-d92962672e2623\" rel=\"nofollow noopener\" target=\"_blank\">87<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 88\" title=\"Arias-Aguilar, A. et al. Who&#x2019;s calling? Acoustic identification of Brazilian bats. Mammal Res. 63, 231-253 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR88\" id=\"ref-link-section-d92962672e2626\" rel=\"nofollow noopener\" target=\"_blank\">88<\/a>.<\/p>\n<p>As for birds, the data obtained from the bat surveys were previously published in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 44\" title=\"Aycart-Lazo, P. et al. Landscape context influences local management effects on birds and bats in Amazonian cacao agroforestry systems. Agric. Ecosyst. Environ. 385, 109545 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR44\" id=\"ref-link-section-d92962672e2633\" rel=\"nofollow noopener\" target=\"_blank\">44<\/a> and re-analyzed here to assess the potential of promoting shade-tree spatial and vertical heterogeneity in agroforests as a win-win strategy for biodiversity and farmers.<\/p>\n<p>Ant surveys<\/p>\n<p>We assessed tree-dwelling ants in six cacao trees in each agroforest using baits in 2023 (March\u2013June). The baits, two pieces of tuna of about two cm3 and two small sponge cubes soaked in a 30\u201340% sugar solution, were placed on a plastic plate (25\u2009cm diameter) fixed on a cacao tree at about 1.5\u2009m height<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 89\" title=\"Agosti, D., Majer, J., Alonso, L. &amp; Schultz, T. Ants: Standard Methods for Measuring and Monitoring Biodiversity &#010;                  https:\/\/doi.org\/10.5281\/zenodo.11736&#010;                  &#010;                 (Smithsonian Institution Press, Washington, USA, 2000).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR89\" id=\"ref-link-section-d92962672e2647\" rel=\"nofollow noopener\" target=\"_blank\">89<\/a>. The baits were active for two hours, during which we collected up to five individuals per morphospecies for later identification. Ant observations were carried out from 06:00 to 18:00. Each tree was sampled twice, once in the morning and once in the afternoon, with visits to the same agroforests spaced two or three weeks apart. We treated these two-hour observations per tree as our sampling unit when estimating ant species richness (see \u201cSpecies richness and multidiversity calculation\u201d section). This made a total of 12 ant samples per agroforest, except for one that only had ten samples.<\/p>\n<p>Previous comprehensive assessments of ant diversity in primary Amazonian rainforests revealed marked differences in assemblage composition between the forest canopy and ground<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 90\" title=\"Wilkie, K. T. R., Mertl, A. L. &amp; Traniello, J. F. A. Species diversity and distribution patterns of the ants of Amazonian Ecuador. PLoS ONE 5, e13146 (2010).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR90\" id=\"ref-link-section-d92962672e2654\" rel=\"nofollow noopener\" target=\"_blank\">90<\/a>. Consequently, as we sampled ants only on cacao trees, our conclusions about shade-tree and landscape management effects on ant richness are restricted to this subset of the ant assemblage.<\/p>\n<p>Butterfly surveys<\/p>\n<p>Butterfly species richness in agroforests was assessed in 2022 (August to November) using Van Someren-Rydon traps baited with bananas fermented for ca. 48\u2009h prior to deployment<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 91\" title=\"Freitas, A. et al. Studies with butterfly bait traps: an overview. Rev. Colomb. Entomol. 40, 209&#x2013;218 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR91\" id=\"ref-link-section-d92962672e2667\" rel=\"nofollow noopener\" target=\"_blank\">91<\/a>. Each agroforest was sampled twice using four understory traps (ca. 80\u2009cm above ground). We used two additional canopy traps (ca. 8\u2009m above ground) during the first visit to account for possible differences in butterfly communities between vertical strata. Visits to the same agroforest were spaced by at least two weeks. Traps were at least 30\u2009m apart from the nearest one and remained active for 24\u2009h. Two agroforests were sampled for 48\u2009h on the second visit due to continuous rain during the first 24-h period of the second visit. Captured butterflies were photographed for identification. Specimens not easily identifiable were collected for later identification.<\/p>\n<p>Spider, Hemiptera, and beetle surveys<\/p>\n<p>We used pyrethrum knockdown via canopy fogging to sample free-living arthropods from three pairs of mature cacao trees in each agroforest, following the procedure described in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 92\" title=\"Adis, J., Basset, Y., Floren, A., Hammond, P. &amp; Linsenmair, K. E. Canopy fogging of an overstory tree&#x2014;recommendations for standardization. Ecotropica 4, 93&#x2013;97 (1998).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR92\" id=\"ref-link-section-d92962672e2679\" rel=\"nofollow noopener\" target=\"_blank\">92<\/a>. Sampling occurred twice\u2014once in September\u2013October 2022 and again in 2023. A Swingfog SN-50 fogging machine (Swingtec GmbH, Germany) was used with a 1% pyrethrum suspension in petroleum white oil to produce a thermal fog that dispersed the insecticide throughout the tree crowns. Fogging was performed for 5\u201310\u2009min per tree pair, from 18:00 to 21:00 under still air conditions. Arthropods were collected on plastic sheets placed beneath the tree crowns and left in place for 30\u2009min. The collected specimens were preserved in 96% ethanol for later identification.<\/p>\n<p>We used CO1-5P (mitochondrial cytochrome oxidase 1) DNA metabarcoding to identify spider, Hemiptera, and beetle Operational Taxonomic Units (OTUs) in the canopy fogging samples. Sample preparation (homogenization of bulk samples), laboratory work (DNA extraction from homogenized samples, amplification and sequencing), and bioinformatic analyses (OTU identification) were performed by Advanced Identification Methods GmbH (AIM; Leipzig, Germany; <a href=\"https:\/\/www.metabarcoding.com\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/www.metabarcoding.com<\/a>) following the protocols described in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Kortmann, M. et al. A shortcut to sample coverage standardization in metabarcoding data provides new insights into land-use effects on insect diversity. Proc. R. Soc. B Biol. Sci. 292, 20242927 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR93\" id=\"ref-link-section-d92962672e2693\" rel=\"nofollow noopener\" target=\"_blank\">93<\/a> and ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 94\" title=\"Morini&#xE8;re, J. et al. Species identification in Malaise trap samples by DNA barcoding based on NGS technologies and a scoring matrix. PLoS ONE 11, e0155497 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR94\" id=\"ref-link-section-d92962672e2697\" rel=\"nofollow noopener\" target=\"_blank\">94<\/a>. We used a geographically filtered South American Barcode of Life Data Systems (BOLD) reference database curated by AIM to identify our OTUs to the order level. This database was compiled by filtering the full public BOLD dataset (downloaded on July 4, 2025) to retain valid barcode records restricted to South American countries and geographic coordinates between \u221258\u00b0 and 17\u00b0 latitude, and \u221286\u00b0 and \u221230\u00b0 longitude. Records from Costa Rica were additionally integrated into the reference database due to its high density of barcode sequences within the BOLD repository. We compared OTUs identified in the samples with this geo-delimited dataset and kept those with a BOLD Grade ID of at least 85%, the minimum required to identify OTUs at the order level<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Kortmann, M. et al. A shortcut to sample coverage standardization in metabarcoding data provides new insights into land-use effects on insect diversity. Proc. R. Soc. B Biol. Sci. 292, 20242927 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR93\" id=\"ref-link-section-d92962672e2701\" rel=\"nofollow noopener\" target=\"_blank\">93<\/a>. We then selected OTUs belonging to the orders Araneae (spiders), Hemiptera, and Coleoptera (beetles) and summed the number of reads per OTU and agroforest.<\/p>\n<p>Species richness and multidiversity calculation<\/p>\n<p>To correct for differences in sample completeness between agroforests (Supplementary Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">10<\/a>), we pooled species records to estimate agroforest-level species richness for an equal abundance-based sample coverage between agroforests using the R package iNEXT <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 95\" title=\"Hsieh, T. C., Ma, K. H. &amp; Chao, A. iNEXT: Interpolation and Extrapolation for Species Diversity. R package version 3.0.2 &#010;                  https:\/\/cran.r-project.org\/web\/packages\/iNEXT\/&#010;                  &#010;                 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR95\" id=\"ref-link-section-d92962672e2719\" rel=\"nofollow noopener\" target=\"_blank\">95<\/a>. We refer to these estimated values as \u201cspecies richness\u201d for simplicity. Bird and bat data were pooled by taking the maximum number of individuals per species recorded during each visit to prevent overestimation of species abundances from repeated counts. For ants, we used sampling-unit-based incidence frequency data due to the lack of abundance data. Butterfly records were pooled by summing the total number of captures of each species in each agroforest. For spiders, Hemiptera species, and beetles, we summed the number of reads per OTU and agroforest and then reduced the number of singletons (OTUs with only one read) before estimating species richness values, following ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 93\" title=\"Kortmann, M. et al. A shortcut to sample coverage standardization in metabarcoding data provides new insights into land-use effects on insect diversity. Proc. R. Soc. B Biol. Sci. 292, 20242927 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR93\" id=\"ref-link-section-d92962672e2723\" rel=\"nofollow noopener\" target=\"_blank\">93<\/a>. Reference sample coverages for the estimations were defined as the minimum sample coverage across all agroforests extrapolated to twice the sample sizes<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 96\" title=\"Chao, A. et al. Rarefaction and extrapolation with Hill numbers: a framework for sampling and estimation in species diversity studies. Ecol. Monogr. 84, 45&#x2013;67 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR96\" id=\"ref-link-section-d92962672e2727\" rel=\"nofollow noopener\" target=\"_blank\">96<\/a> (Supplementary Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). Finally, we calculated agroforest-level multidiversity as the average of the scaled richness values of each taxon, obtained by dividing the estimated richness of each taxon in the agroforest by the maximum estimated richness of each taxon across all agroforests<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 97\" title=\"Allan, E. et al. Interannual variation in land-use intensity enhances grassland multidiversity. Proc. Natl. Acad. Sci. USA 111, 308&#x2013;313 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR97\" id=\"ref-link-section-d92962672e2735\" rel=\"nofollow noopener\" target=\"_blank\">97<\/a>.<\/p>\n<p>Exclusion experiments and cacao yield evaluations<\/p>\n<p>To estimate bird and bat contributions to cacao yield, we set up exclusion experiments in 16 of the 28 agroforests (eight per region) selected to represent the gradients in shade-tree canopy structure and landscape complexity realized in each of the two regions. In each agroforest, we selected two pairs of contiguous cacao trees and built one exclosure for each pair. Therefore, each of the two exclosures covered two trees at the same time. Exclosures consisted of bamboo frames (6\u2009m length, 2.5\u2009m width, and 3.5\u2009m height) covered with commercial fishing nets made of 0.40\u2009mm invisible monofilament thread with a 2.5\u2009cm mesh size. Exclosures were designed to block access by birds and bats to the treatment trees while permitting the entry of plant pathogens and arthropods, including potential insect pests<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 39\" title=\"Maas, B. et al. Experimental field exclosure of birds and bats in agricultural systems &#x2014; methodological insights, potential improvements, and cost-benefit trade-offs. Basic Appl. Ecol. 35, 1&#x2013;12 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR39\" id=\"ref-link-section-d92962672e2748\" rel=\"nofollow noopener\" target=\"_blank\">39<\/a>. In each agroforest, we selected two additional pairs of contiguous, non-enclosed trees as controls (n\u2009=\u2009128 trees in total). By excluding bird and bat insectivores, we expected an increase in phytophagous arthropod damage to cacao leaves, flowers, and developing fruits in the exclusion trees, ultimately resulting in reduced harvestable yields compared to control trees<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 39\" title=\"Maas, B. et al. Experimental field exclosure of birds and bats in agricultural systems &#x2014; methodological insights, potential improvements, and cost-benefit trade-offs. Basic Appl. Ecol. 35, 1&#x2013;12 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR39\" id=\"ref-link-section-d92962672e2755\" rel=\"nofollow noopener\" target=\"_blank\">39<\/a>.<\/p>\n<p>We monitored exclusion and control trees every two weeks from September 2022 to September 2023. In each monitoring visit, we (1) noted the number of healthy flowers (both open and developing flower buds) and developing fruits less than one cm long (ca. less than 15 days old) in a one-meter section of the trunk, (2) noted the number of fruits at different stages of development affected by different pests and diseases in the whole tree, (3) noted the number of healthy fruits at different stages of development in the whole tree; and (4) harvested all ripe healthy fruits. Healthy developing fruits were marked with plastic rings to avoid repeated counts, while those affected by pests and diseases were removed if they could no longer be harvested.<\/p>\n<p>To transform the annual number of harvested pods per tree into weight measurements, we calculated the average dry weight of cacao beans in pods of different varieties. During the harvesting peak (June\u2013August 2023), we (1) harvested 10 cacao pods from the most dominant cacao varieties in each agroforest, (2) fermented and sun-dried the contents of all pods of each variety separately, following the protocols of each cacao cooperative (6\u20137 days of fermentation and 2\u20133 days of drying), and (3) divided the total weight of the dry cacao beans by the number of pods in the sample. The most dominant varieties in the studied agroforests were: (1) Hybrid Huallaga, a mixture of the native Huallaga variety with commercial clones (60 pods harvested); (2) ICS-95 (40 pods harvested); (3) CYP-99 (40 pods harvested); and (4) mixtures of different native varieties (60 pods harvested<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 98\" title=\"Thomas, E., Lastra, S. &amp; Zavaleta, D. Catalogo de Cacaos de Per&#xFA; (Bioversity International, Lima (Peru), 2023).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR98\" id=\"ref-link-section-d92962672e2765\" rel=\"nofollow noopener\" target=\"_blank\">98<\/a>). We then multiplied the average dry weight of cacao beans per pod by the total number of pods harvested in each tree to calculate the kilograms of dry cacao produced by each tree throughout the year. The average dry weights of cacao beans per pod were calculated separately for each agroforest and cacao variety to account for genetic and spatial variability (e.g., differences in soil fertility and moisture between agroforests).<\/p>\n<p>Ecosystem services and pest and disease incidence<\/p>\n<p>To analyze how shade-tree structure and landscape complexity affected ecosystem services in cacao agroforests, we focused on two key services potentially affecting cacao yield: pest control by birds and bats, and pollination<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 14\" title=\"Vansynghel, J. et al. Quantifying services and disservices provided by insects and vertebrates in cacao agroforestry landscapes. Proc. R. Soc. B Biol. Sci. 289, 20221309 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR14\" id=\"ref-link-section-d92962672e2778\" rel=\"nofollow noopener\" target=\"_blank\">14<\/a>. We estimated bird and bat pest control services by assessing their contributions to cacao yield at the agroforest level. To do so, we calculated the difference between the average yield of the control and exclusion trees in each agroforest (\u2206yield).<\/p>\n<p>Cacao pollination is a complex process involving intricate ecological interactions in which, despite the presumed importance of ceratopogonid midges, the precise identity of the primary pollinators remains a subject of ongoing debate<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 99\" title=\"Van de Sande, E. et al. Revisiting cacao pollination: new behavioural and pollen-based evidence for the key role of Ceratopogonidae. Basic Appl. Ecol. 94, 24&#x2013;33 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR99\" id=\"ref-link-section-d92962672e2785\" rel=\"nofollow noopener\" target=\"_blank\">99<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 100\" title=\"Toledo-Hern&#xE1;ndez, M., Wanger, T. C. &amp; Tscharntke, T. Neglected pollinators: Can enhanced pollination services improve cocoa yields? A review. Agric. Ecosyst. Environ. 247, 137&#x2013;148 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR100\" id=\"ref-link-section-d92962672e2788\" rel=\"nofollow noopener\" target=\"_blank\">100<\/a>. Rather than analyzing the cascading effects of arthropod suppression by birds and bats on cacao pollination, we aimed to identify shade-tree and landscape management strategies promoting pollination under natural conditions. Therefore, we assessed pollination services in the agroforests based on the fruit-set of cacao control trees only. As cacao flowers cannot self-pollinate, cacao fruit-set is a good proxy for pollination services in agroforests<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 14\" title=\"Vansynghel, J. et al. Quantifying services and disservices provided by insects and vertebrates in cacao agroforestry landscapes. Proc. R. Soc. B Biol. Sci. 289, 20221309 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR14\" id=\"ref-link-section-d92962672e2792\" rel=\"nofollow noopener\" target=\"_blank\">14<\/a>. To calculate cacao fruit-set, we divided the total number of developing fruits with less than one cm (i.e., fruits that started developing in the past 15 days) counted in the marked one-meter sections by the total number of flowers counted throughout the year in this same section. Cacao flowers only remain open for 48\u2009h, ensuring that they are not counted twice on different visits. Note that cacao fruit-set might have been underestimated due to the loss of flowers that were successfully pollinated after one visit but lost before they could be counted as developing fruits on the next visit.<\/p>\n<p>To assess shade-tree and landscape effects on cacao pests and diseases, we calculated the incidence of Moniliophthora roreri (frosty pod rot, Agaricales) and Carmenta spp. (mainly C. foraseminis, Lepidoptera:Sessidae). Both incidences were calculated as the total number of fruits damaged by each species divided by the total number of developing fruits counted in each control tree. We only evaluated flower production, fruit-set, and pests and diseases in control trees (n\u2009=\u200964) to avoid interference from the exclusion experiments.<\/p>\n<p>Agroforest soil fertility and microclimate<\/p>\n<p>Soil fertility was assessed based on the pH and potassium, phosphorus, total nitrogen, and organic carbon contents of soil samples extracted at 0\u2013-10\u2009cm depth near the center of the agroforest. To evaluate the localized influence of shade-tree canopy structure on soil fertility, we collected a single soil sample per agroforest rather than a homogenized composite sample. This ensured the soil data remained paired with the canopy metrics quantified directly overhead. The studied agroforests were homogeneously fertilized in each region following advice from each cacao farmers\u2019 cooperative. Soil samples were collected at least two months after applying organic fertilizers to avoid biases. One of the 28 plots was not sampled for soil fertility analyses due to logistical constraints. Composite samples (\u2248200\u2009g) were dried in paper bags and analyzed at a commercial laboratory (Institut Dr. Nuss GmbH &amp; Co. KG, Bad Kissingen, Germany) following the standard protocols of the Association of German Agricultural Analytic and Research Institutes<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 101\" title=\"VDLUFA. Methodenbuch. Untersuchung von B&#xF6;den: Handbuch Der Landwirtschaftlichen Versuchs- Und Untersuchungsmethodik (German Agricultural Test and Research Agency, Darmstadt, Germany, 2018).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR101\" id=\"ref-link-section-d92962672e2819\" rel=\"nofollow noopener\" target=\"_blank\">101<\/a>.<\/p>\n<p>We used soil temperature and moisture loggers (TMS-4; TOMST, Czech Republic) to assess soil microclimatic variables (soil moisture and average and maximum daily temperature). One logger was placed near the center of each agroforest, recording temperature and moisture data every 15\u2009min. Temperature (\u00b0C) was recorded at 8-cm depth, while moisture was measured at 0\u201314\u2009cm depth using the time-domain transmission (TDT) method. Moisture values recorded with this method range from 100 (ambient air) to 3500 (distilled water<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 102\" title=\"Wild, J. et al. Climate at ecologically relevant scales: a new temperature and soil moisture logger for long-term microclimate measurement. Agric. For. Meteorol. 268, 40&#x2013;47 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR102\" id=\"ref-link-section-d92962672e2826\" rel=\"nofollow noopener\" target=\"_blank\">102<\/a>). Three of the loggers were damaged or lost during the study. Therefore, those agroforests were not included in the analyses of soil moisture and temperature.<\/p>\n<p>Air temperature (\u00b0C) was measured using iButton DS1921H data loggers attached to cacao trees at ca. 1.5\u2009m height. Initially, we placed one logger on each tree used in the yield evaluations and in those sampled with canopy fogging, making a total of eight loggers per agroforest in the 16 agroforests with exclusion experiments and 6 loggers per agroforest in the remaining 12 agroforests. However, due to logger loss or malfunction, the final number of loggers used per agroforest varied between four and eight (median\u2009=\u20096.5 loggers per agroforest). Air temperature measurements were taken every two hours.<\/p>\n<p>To analyze how shade-tree management influenced agroforest microclimate across seasons, we calculated the average temperature and the average daily maximum temperature recorded by each logger in March and August 2023, the rainiest and driest months, respectively. For soil moisture, we used the mean records in each month. To relate soil composition and microclimate variables to shade-tree canopy structure, we used the digital elevation models to measure shade-tree cover, cover heterogeneity, height, and height heterogeneity in 20\u2009\u00d7\u200920-m squares above each logger and soil collection site. For paired trees with temperature loggers (e.g., two exclusion trees inside the same bamboo cage), we measured shade-tree structure at the midpoint between the two trees.<\/p>\n<p>Statistical analyses<\/p>\n<p>We used a multiple-testing approach to analyze shade-tree and landscape effects on biodiversity, ecosystem services, pest and disease incidence, and cacao yield. To assess biodiversity responses to shade-tree and landscape variables, we fitted eight generalized linear mixed models (GLMMs) for each of the eight response variables using Gamma distributions and logarithmic link functions for the seven richness variables, and beta distributions with logit link functions for multidiversity. Four of the eight models included one of the shade-tree structure variables (shade-tree cover, cover heterogeneity, height, or height heterogeneity) and its interaction with landscape tree cover, measured in the 500\u2009m buffers around the agroforests. The remaining four models included each shade-tree variable and its interaction with landscape forest cover in the same buffers. Local and landscape predictors were scaled (mean\u2009=\u20090, sd\u2009=\u20091) before modeling. Region identity was included as a random effect. We compared each model to one with the same local and landscape variables but no interaction, and selected the one with the lowest Akaike Information Criterion corrected for small sample sizes (AICc) as the best-fitting one. Then, we compared the average marginal R2 of the four final models fitted with landscape tree cover and the average of the four models fitted with forest cover to identify the landscape variable that explained the greatest variability for each species richness response variable and multidiversity. In case of significant interactions between local shade-tree and landscape predictors in the best-fitting models, we projected the model to assess the influence of the shade-tree predictor on the response variable in landscapes with, on average, low tree or forest cover (40% tree cover or 6% forest cover; mean tree and forest cover minus one standard deviation) and in landscapes with high tree or forest cover (80% tree cover or 37% forest cover, mean tree and forest cover plus one standard deviation).<\/p>\n<p>Shade-tree and landscape effects on cacao tree yield were analyzed using GLMMs with Gamma distributions and logarithmic link functions. We fitted two separate full models, each including either landscape tree cover or forest cover as a main predictor. Each model included the four scaled local variables (shade-tree cover, cover heterogeneity, height, and height heterogeneity) and their interactions with the treatment (control or exclusion trees), as well as the scaled landscape variable and its interaction with treatment. Additionally, we included the scaled quadratic effects of shade-tree cover and landscape tree and forest cover, and their two-way interactions with treatment, after preliminary visualizations of yield data distribution. Region was also included as a fixed effect to better represent differences in labor between the two cacao cooperatives. Tree-pair identity, nested within agroforest identity, was included as a random effect to account for spatial dependencies within agroforests. Before modeling, we transformed zeros into positive values by adding 0.0001 (0.1\u2009g) in order to use Gamma distribution models. We removed shade-tree height from the full models after analyzing the multicollinearity between the predictors using the Variance Inflation Factor (VIF) in the R package performance<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 103\" title=\"L&#xFC;decke, D. et al. performance: an R package for assement, comparison and testing of statistical models. J. Open Source Softw. 6, 3139 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR103\" id=\"ref-link-section-d92962672e2853\" rel=\"nofollow noopener\" target=\"_blank\">103<\/a>. We then used the \u2018dredge\u2019 function in MuMIn<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 104\" title=\"Barto&#x144;, K. MuMIn: Multi-Model Inference. R package version 1.48.11 &#010;                  https:\/\/CRAN.R-project.org\/package=MuMIn&#010;                  &#010;                 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR104\" id=\"ref-link-section-d92962672e2862\" rel=\"nofollow noopener\" target=\"_blank\">104<\/a> to sequentially remove interactions and predictors from the full models, and selected the model with the lowest AICc as the best-fitting one. Quadratic terms were retained if \u2206AICc &lt;2 to identify potential shade-tree cover and landscape tree and forest cover thresholds affecting cacao yield<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 4\" title=\"Blaser, W. J. et al. Climate-smart sustainable agriculture in low-to-intermediate shade agroforests. Nat. Sustain. 1, 234&#x2013;239 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR4\" id=\"ref-link-section-d92962672e2866\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>. Additionally, we assessed yield-biodiversity relationships by calculating the Pearson correlation coefficient between biodiversity variables and the average yield of the four control trees in each agroforest (64 cacao trees in total) to identify potential trade-offs between biodiversity and yield.<\/p>\n<p>As none of the best-fitting yield models for cacao yield included interactions between shade-tree predictors and treatment (Supplementary Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>), we only included landscape predictors in the Linear Mixed Models (LMMs) analyzing bird and bat contributions to cacao yield (agroforest-level \u2206yield). One LMM included the linear term of landscape tree cover, while the other one included the linear and quadratic terms of landscape forest cover. Both models included region identity as a random effect. We report tree yield and \u2206yield results multiplied by 1100 to scale tree-level yield to kilograms per hectare, assuming 1100 trees per hectare at a 3\u2009\u00d7\u20093\u2009m planting grid typical of the studied cacao agroforests<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 14\" title=\"Vansynghel, J. et al. Quantifying services and disservices provided by insects and vertebrates in cacao agroforestry landscapes. Proc. R. Soc. B Biol. Sci. 289, 20221309 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR14\" id=\"ref-link-section-d92962672e2876\" rel=\"nofollow noopener\" target=\"_blank\">14<\/a>.<\/p>\n<p>We analyzed local and landscape effects on cacao fruit-set, number of cacao flowers, and incidences of Moniliophthora roreri and Carmenta spp. using GLMMs. Models for fruit set and pest and disease incidence were fitted with beta distributions and logit link functions, while models for the number of cacao flowers were fitted using a negative binomial distribution. Before modeling, we transformed zeros into positive values by adding 0.0001 in order to use beta distribution models. We fitted two models for each of these response variables, one including the four shade-tree variables and landscape tree cover, and one with the shade-tree variables and landscape forest cover. Both models included tree-pair identity nested within agroforest and region identity as random effects. Carmenta models did not include tree-pair identity as a random effect to avoid model convergence issues derived from low random variance. After checking the collinearity between the predictors, we removed shade-tree height from the full models due to high VIF values (&gt;6; Supplementary Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">11<\/a>). We then used \u2018dredge\u2019 to perform model selection and chose the model with the lowest AICc as the best-fitting one.<\/p>\n<p>Because landscape tree and forest cover were correlated with agroforest elevation (r\u2009=\u20090.74 for tree cover and 0.86 for forest cover), which can influence agroforest soil composition and microclimate, we did not assess the influence of landscape variables on soil fertility and microclimatic variables. Instead, these models only included the four shade-tree variables and agroforest elevation as a covariate to control for its potential effects. Models for proportions of soil organic carbon and total nitrogen were fitted with beta distributions and logit link functions. Models for soil pH, phosphorus, potassium, and moisture were fitted with Gamma distributions and log link functions, while soil and air temperature models were fitted with Gaussian distributions. Air and soil temperature models, as well as soil moisture models, included two-way interactions between each shade-tree variable and season, and between agroforest elevation and season. All soil composition and microclimate models included region identity as a random effect. Microclimate models also included agroforest identity as a random effect to account for the repeated measurements (one in each season). Additionally, air temperature models included logger and tree-pair identity as random effects. Again, we reduced the full models using \u2018dredge\u2019 and selected the model with the lowest AICc as the best-fitting one.<\/p>\n<p>To correct for multiple testing, we adjusted the p-values of the best-fitting models using the Bonferroni method. For biodiversity models, we compared the AICc values of the four models fitted with landscape tree cover and those of the models fitted with forest cover and selected the landscape predictor with the lowest mean AICc to infer shade-tree and landscape effects on biodiversity variables. Therefore, we multiplied the p-values of species richness and multidiversity models by four to report the results. The p-values of the models analyzing ecosystem services, pests and diseases, cacao flowering, and yield were multiplied by two to correct for the use of different models to analyze landscape tree and forest cover effects. In this case, we used the model with the lowest AICc of the two to report the p-values and estimates of shade-tree effects.<\/p>\n<p>All models were run using the R package glmmTMB<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 105\" title=\"Brooks, M. et al. glmmTMB balancesspeed and flexibility among packages for ero-inflated generalized linear mixed modeling R J. 9, 378 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR105\" id=\"ref-link-section-d92962672e2928\" rel=\"nofollow noopener\" target=\"_blank\">105<\/a> in R v4.5.1<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 106\" title=\"R. Core Team. R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2025).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR106\" id=\"ref-link-section-d92962672e2932\" rel=\"nofollow noopener\" target=\"_blank\">106<\/a>. Residual distributions were inspected using the package performance<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 103\" title=\"L&#xFC;decke, D. et al. performance: an R package for assement, comparison and testing of statistical models. J. Open Source Softw. 6, 3139 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR103\" id=\"ref-link-section-d92962672e2938\" rel=\"nofollow noopener\" target=\"_blank\">103<\/a>, while their spatial autocorrelation was tested using Moran\u2019s I test (package ape<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 107\" title=\"Paradis E, Schliep K. ape 5.0: an environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics. 5, 526&#x2013;528 (2019)\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#ref-CR107\" id=\"ref-link-section-d92962672e2944\" rel=\"nofollow noopener\" target=\"_blank\">107<\/a>; Supplementary Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s43247-026-04141-3#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">12<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"Study area We developed, to our knowledge, the first integrated measurement of multi-taxa diversity, ecosystem services, pests and&hellip;\n","protected":false},"author":2,"featured_media":676509,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[159081,91355,12775,10838,246,1437,61,60,82,196099],"class_list":["post-676508","post","type-post","status-publish","format-standard","has-post-thumbnail","category-environment","tag-agroecology","tag-community-ecology","tag-earth-sciences","tag-ecosystem-services","tag-environment","tag-general","tag-ie","tag-ireland","tag-science","tag-tropical-ecology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/676508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/comments?post=676508"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/676508\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media\/676509"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media?parent=676508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/categories?post=676508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/tags?post=676508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}