MainAnimal societies are often organized around alloparental care, in which adults raise the offspring of others17. In social insect colonies, adults of different ages engage in distinct brood-care tasks5. Young workers typically care for larvae inside the nest, whereas older workers leave the nest to forage1. These notable and stereotyped age-associated changes in behaviour could provide fundamental insights into neural plasticity. However, how alloparental care has evolved and how age-associated division of labour is regulated at the molecular and neural level remain poorly understood.Accumulating evidence suggests that novel social behaviours frequently evolve through the co-option of ancient neuromodulators6,7,8,9,10,11,13,14,18. An emerging pattern is that the neuromodulators co-opted to regulate parenting-associated social behaviour have conserved roles in feeding, growth and reproduction, suggesting that involvement in these processes predisposes neuromodulators to regulate social behaviour18,19,20,21,22,23,24. We investigated this by studying the neuropeptidergic regulation of brood care in the clonal raider ant, Ooceraea biroi25,26,27. Within a colony, these ants are genetically identical28,29, providing a well-controlled experimental system in which to study the dynamics of age-dependent neural plasticity. Workers exhibit an ant-typical age-linked transition from brood care to foraging. Young ants (12 days old) spend on average over twice as much time nursing the brood as do old ants (4 months old), and less than half as much time foraging (Fig. 1a–c).Fig. 1: A high-throughput behavioural assay quantifies brood-care behaviour.a–c, The clonal raider ant (O. biroi) exhibits an age-based division of labour. a, Three colonies of 30 young (12 days old) and 30 old (4 months old) ants were tracked for 3 days in 2-chamber set-ups. Scale bar, 1 cm. b, On average, young ants spend approximately twice as much time in physical contact with larvae as do old ants (mean = 0.415 versus 0.194), whereas old ants spend about three times as much time foraging as do young ants (mean = 0.580 versus 0.160). c, Physical contact with the larvae is subcategorized as carrying, guarding (standing over a larva and being stationary), manipulating (antennal and mouthpart contact with the larva and active movement), antennating (antennal contact only, with antennae stretched forwards to contact the larva) or incidental (adjacent to, or oriented away from, the larva without obvious interaction). In b,c, n = 90 young and 90 old ants. d–f, These behavioural differences are recapitulated in a one-ant/one-larva assay. d, In the one-on-one assay, 24 ant–larva pairs are tracked simultaneously under a single camera. Young and old ants are in corridors 1–12 (right of the dashed line) and 13–24 (left of the dashed line), respectively. Whereas most larvae with old ants are visible, most young ants are occluding the larva while performing brood care. Scale bar, 1 cm. e, As in the colony assay, young ants spend approximately twice as much time in contact with larvae as do old ants (mean = 0.753 versus 0.404). By contrast, age had no effect on the proportion of time spent in physical contact with a food item (a fire ant (Solenopsis invicta) pupa). f, In the one-on-one assay, ant–larva interactions are qualitatively similar to those in the colony context (c), although larval carrying, a behaviour ants display when disturbed, increases substantially. By contrast, when ants are given a food item, the behaviours exhibited are qualitatively distinct; ants never carry and almost never guard food items. In e,f, n = 24 young and 47 old ants. Data in b,c,e,f were analysed with two-tailed Welch’s t-tests. NS, not significant. Boxes in b,c,e,f show the interquartile range (IQR), centre lines indicate medians and whiskers extend to 1.5× IQR.Source dataAge-associated patterns of brood careTo investigate the role of neuropeptides in alloparental care, we first developed a behavioural assay to measure the responses of young and old ants to larvae (Extended Data Fig. 1a). In this assay, individual ants are placed into a narrow corridor along with a single fourth instar larva and are filmed for 5 h (Fig. 1d, Extended Data Fig. 1a and Supplementary Video 1). Naturally, O. biroi colonies oscillate between reproductive phases, in which colonies comprise workers, eggs and pupae, and foraging phases, in which colonies comprise workers and larvae. The composition of developmental stages in our assay thus represents colonies in the foraging phase. In our assay, as in colonies, young ants spend twice as much time in contact with larvae as old ants do (Fig. 1e). Ants also exhibit the same nursing behaviours towards fourth instar larvae in this assay as they do in colonies (Fig. 1f). Of note, if presented with a food item instead of a larva, both young and old ants exhibit qualitatively different behaviours, and the age-linked behavioural differences disappear (Fig. 1f). Finally, ants never killed or consumed larvae in this assay. Together, this shows that our behavioural assay captures core aspects of alloparental behaviour. Although this assay is simple and high throughput, it has limitations. First, because no food source is provided, and because O. biroi adults do not feed larvae by trophallaxis, our assay does not capture brood-care behaviours associated with larval feeding. Second, the short duration precludes assessment of the functional consequences of brood care on larval growth and survival.Ants exhibit a stereotypical two-phase response to larvae. In the first phase (P1), ants spend most of their time in direct physical contact with the larva. In the second phase (P2), ants tend to leave the larva for short bouts as they move around the corridor (Fig. 2a–e and Extended Data Fig. 1b). This two-phase response is specific towards larvae and depends on hexane-soluble larval compounds30 (Extended Data Fig. 2). Young ants spend significantly more time in P1 than do old ants (Fig. 2e,f). The age-linked difference in time spent with larvae is evident within each phase as well as across the total assay period (Fig. 2g). Time-course analysis of age-matched cohorts of ants in this assay reveals a gradual decrease in time spent with larvae with age (Extended Data Fig. 1c–f).Fig. 2: Automated behavioural analysis reveals biphasic and age-dependent responses to larvae.a–d, Representative chronograms and positional traces of a young (12 days old) (a,b) and an old (at least 2 months old) (c,d) ant interacting with a fourth instar larva in the brood-care assay. a,c, The first image shows the start of the assay. Images are then shown every 15 min from larva detection (Det.) onwards. b,d, Positional traces of the ant (blue), larva (orange) and physical interactions between ant and larva (magenta). Larva detection (Det.; black dashed line) and the transition point (Trans.; red dashed line) between the first (P1) and second (P2) behavioural phases are indicated. e, Average ant–larva distance in young (n = 143; light blue) and old (n = 143; dark blue) ants, with 95% confidence intervals in surround, aligned to larva detection at time 0. f, Quantification of the time ants spend in the P1 phase (n = 143 ants per age group). g, Quantification of the proportion of time ants physically interact with larvae in phases P1 and P2, and over the total assay. P1: n = 137 young and n = 133 old ants. P2 and total: n = 143 young and n = 142 old ants. Data in f,g were analysed with one-sided Mann–Whitney tests (g, U = 5,512; f, P1, U = 3,945; P2, U = 1,085; total, U = 1,967). Mean ± s.e.m.Source dataNPF and AstA regulate brood-care behaviourNext, we annotated the O. biroi neuropeptidome to build a pharmacological screening library. We identified 42 neuropeptide precursor genes on the basis of sequence homology to other animals (Supplementary Table 1), which is consistent with previously described hymenopteran neuropeptidomes31,32,33,34,35,36,37 (Extended Data Fig. 3). Neuropeptide precursor proteins are post-translationally cleaved into one or more neuropeptides that then undergo various modifications as they are transported to axon terminals38. Neuropeptide sequences show high levels of amino acid conservation across species and are flanked by distinct proteolytic cleavage site motifs39. On the basis of these features, we identified 70 unique neuropeptides encoded by the 42 precursor genes (Supplementary Tables 2 and 3 and Extended Data Fig. 4).For our screening library, we synthesized 61 of the 70 neuropeptides, ranging from 7 to 35 amino acids in length (Extended Data Fig. 4a). The remaining 9 neuropeptides are large (more than 35 amino acids), structurally complex and challenging to synthesize. They were thus excluded (Supplementary Table 3 and Extended Data Fig. 4e).In a primary screen, we treated ants by soaking them in 1-mM solutions of neuropeptides. This method was previously used in O. biroi6, and we also validated its effectiveness for neuropeptides at the upper size limit of those in our screening library (Extended Data Fig. 4b–d). In this screen, we tested all 61 neuropeptides in the behavioural assay (Extended Data Fig. 4f). We found 24 candidate neuropeptides that modulated the time that ants spent with larvae (Supplementary Table 4 and Extended Data Fig. 4f). Given that this initial screen was designed for high throughput and our statistical approach was permissive, we expected many false positives among our candidates (see Methods for details on and limitations of this screen). We therefore ranked the hits from the primary screen by their P value and effect size (Cohen’s d; see Methods), and selected the top half of the candidate neuropeptides (n = 12) for more rigorous testing in a secondary round of screening using high-quality peptide solutions and dose–response analyses (Supplementary Table 4).Out of the 12 tested candidate neuropeptides, the secondary screen recovered 2 hits: NPF (encoded by the precursor gene pro-neuropeptide-y-like (LOC113562173)) and AstA (the precursor gene allatostatin A (LOC105283611) encodes five AstA peptides, but the effect was specific to AstA2) (Fig. 3a). These neuropeptides are evolutionarily conserved, with NPF being homologous to vertebrate NPY and the AstA receptor being homologous to the vertebrate galanin receptor40,41. NPF increased the amount of time that ants spent with larvae in the secondary screen (Fig. 3b–e). However, because this result was inconsistent with the primary screen (Extended Data Fig. 4g), we repeated the dose–response experiment. As expected, given the caveats associated with the primary screen, the extra dose–response experiment confirmed the results from the secondary screen and implied that the effect observed in the primary screen was due to chance (Extended Data Fig. 4h–k). AstA, on the other hand, decreased the ants’ affinity to larvae (Fig. 3f–i). This suggests that NPF promotes a nurse-like behavioural state typical of young ants, whereas AstA promotes a forager-like behavioural state characteristic of old ants. Although neuropeptides can have highly pleiotropic effects, NPF and AstA are arguably best known as ancestral regulators of feeding15,42. Our results raise the possibility that, during the evolutionary origin of parental (and/or alloparental) behaviour in ants, these two neuropeptides were co-opted to regulate brood-care behaviour and the age-associated reduction in brood care.Fig. 3: An unbiased neuropeptide screen identifies NPF and AstA as regulators of brood-care behaviour.a, Heat map showing the neuropeptides tested in the secondary screen, and the results by effect size (Cohen’s d) on brood-care behaviour. The two peptides that had significant effects are highlighted in green (NPF) and purple (AstA). Reds and blues indicate longer or shorter P1 duration, or more or less time spent with larvae in different phases of the assay (P1, P2 and total), relative to control ants. n = 24 young ants paired with 1 larva each were treated with peptide solutions of 0, 100, 300, 1,000 and 3,000 μM. b–i, Quantification of P1 duration (b,f) and the proportion of time in physical contact with larvae in P1 (c,g), P2 (d,h) and the total assay (e,i), in ants treated with increasing doses of NPF (b–e; n = 22 ants for 1,000 μM in b,d; 23 ants for 0 μM, 300 μM and 3,000 μM in b,d and 3,000 μM in c; and 24 ants for all other conditions) or AstA (f–i; n = 20 ants for 100 μM in g; 21 ants for 0 μM in g and 1,000 μM in h; 22 ants for 100 μM in f,h and 1,000 μM in f; 23 ants for 0 μM and 300 μM in f,h and 1,000 μM in i; and 24 ants for all other conditions) peptides. Data in b,c,f,g were analysed with Kruskal–Wallis ANOVAs (b, NS; c, H = 12.93, P = 0.0116; f, H = 11.34, P = 0.0230; g, H = 27.89, P = 1.32 × 10−5) followed by Dunn’s multiple comparison tests. P values for significant pairwise comparisons are provided in the figure. Data in d,e,h,i were normalized by square root transformation and analysed by ordinary ANOVAs (d,e,h: NS; i: F(4,114) = 2.911, P = 0.0246) followed by Dunnett’s multiple comparison tests. Statistically significant results of multiple comparison tests are indicated in the figure panels. Mean ± s.e.m.Source dataLevels of NPF and AstA change with ageTo investigate this further, we localized and measured the RNA and protein levels of NPF and AstA in ant brains (Extended Data Figs. 5–7). RNA fluorescent in-situ hybridization (FISH) staining revealed that NPF is expressed in 16–20 cells, whereas AstA is expressed in approximately 500 cells (Extended Data Figs. 5d, 6d and 7a,c and Supplementary Video 2). Immunohistochemistry (IHC) staining for NPF revealed that this peptide is localized to small clusters of cells in the protocerebrum (six cells), antennal lobe (eight cells) and suboesophageal zone (SEZ; two cells) (Extended Data Fig. 7b and Supplementary Video 3). IHC staining showed that AstA peptide is broadly present throughout the brain in the protocerebrum, antennal lobe, SEZ and corpora allata, a neuroendocrine accessory organ (Extended Data Fig. 7d and Supplementary Video 3). NPF and AstA peptides show anatomical overlap in the dorso-lateral protocerebrum and antennal lobe, suggesting that these neuropeptides might modulate circuitry in these brain regions to exert their effects on brood-care behaviour (Extended Data Fig. 7 and Supplementary Video 3).Next, we quantified RNA and peptide levels in the brains of young and old ants (Fig. 4 and Extended Data Fig. 8). We found that, on average, NPF RNA expression decreases with age when measured across the whole brain. This effect is due to a large decrease in the expression of NPF with age in four cells in the anterior-dorsal protocerebrum (adPC); by contrast, we did not detect a change in NPF RNA expression in other brain regions (Extended Data Fig. 8a,c). NPF peptide levels decrease in both the adPC and the antennal lobe, but not in the posterior-dorsal protocerebrum (pdPC) or in the SEZ (Fig. 4a,b,d and Extended Data Fig. 8b). We did not detect changes in AstA RNA expression with age, either in the whole brain or in brain subregions (Extended Data Fig. 8d,f). However, AstA peptide levels increased with age in the protocerebrum and antennal lobe (Fig. 4c). We did not detect changes in AstA peptide levels in the SEZ or in the corpora allata (Fig. 4c,e). The age-related decrease in NPF peptide, and increase in AstA peptide, in the protocerebrum and antennal lobe correlate with the results of our pharmacological screen, and are consistent with our finding that NPF promotes nursing and AstA promotes foraging. These age-associated changes in neuropeptide abundance could thus shift the internal state of the brain and underlie division of labour by modulating the neural circuitry that governs brood-care behaviour (Fig. 4f).Fig. 4: Levels of NPF and AstA peptides in the brain change with age.a, Schema of frontal view of the ant brain with the protocerebrum (PC), antennal lobe (AL) and SEZ neuropils indicated. b,c, Quantification of normalized average peptide levels of NPF (b; AL, n = 15 (12 days (d)) and 18 (4 months (m)); adPC, n = 15 (12 d) and 17 (4 m); pdPC, n = 15 (12 d) and 17 (4 m); SEZ, n = 14 (12 d) and 16 (4 m)) and AstA (c; AL, n = 13 (12 d) and 11 (4 m); PC, n = 13 (12 d) and 11 (4 m); SEZ, n = 13 (12 d) and 9 (4 m); corpora allata (CA), n = 11 (12 d) and 11 (4 m)) through antibody staining in the brains of young (12 days old) and old (4 months old) ants. Data are shown separately for the AL, adPC, pdPC and SEZ for NPF, and for the AL, PC, SEZ and CA for AstA. d,e, Representative frontal view confocal z-stack projections of brains from 12-day-old and 4-month-old ants stained for NPY (d) and AstA (e) peptides. The left images show the whole brain (WB); orange boxes indicate areas of adPC (d) or pdPC (e) and AL that are shown in magnified images on the right. Scale bars, 50 μm (left images) and 5 μm (right (magnified) images). f, Schema of changes in the levels of NPF and AstA peptides in ageing ant brains. NPF levels in the PC and AL decrease with age, whereas AstA levels in the same neuropils increase. Data in b,c were analysed with one-sided Welch’s t-tests (b, AL, t = 2.06, degrees of freedom (df) = 19.9, P = 0.0264; adPC, t = 3.02, df = 21.5, P = 0.00322; c, AL, t = −2.85, df = 18.0, P = 0.00535; PC, t = −3.86, df = 13.7, P = 0.00102). Mean ± s.e.m.Source dataNPF and AstA act in opposite directionsTo substantiate our screening results, we injected synthetic peptides to increase the levels of NPF and AstA, and small interfering RNAs (siRNAs) to decrease the levels of NPF and AstA. All solutions were injected through the lateral aspect of the heads of young ants. We then measured the responses of the ants to larvae (Fig. 5a,b). Consistent with the results from our pharmacological screen, injecting NPF peptide increased the amount of time that ants interacted with larvae in P1 (Fig. 5c), but had no significant effects on other aspects of the ants’ responses to larvae (Extended Data Fig. 9a–c). Conversely, injecting siRNA against NPF decreased the amount of time that ants interacted with larvae in P1 (Fig. 5d), but had no other significant effects (Extended Data Fig. 9g–i). NPF siRNA interference (siRNAi) significantly reduced the levels of NPF RNA, whereas the levels of AstA RNA remained unchanged with this treatment (Fig. 5e).Fig. 5: Modulating the balance of NPF and AstA in the brain alters brood-care behaviour.a,b, Schemas of peptide injection (a) and siRNAi knockdown (b) experiments. Peptide solutions or siRNAi reagents were injected into the heads of live anaesthetized young (12 days old) ants. Brood-care behaviour was assayed 2 h after peptide injections or 72 h after siRNA injections. After the behavioural assays, brains from siRNA-injected ants were dissected and RNA expression was measured by quantitative PCR (qPCR). c,f, Quantification of the proportion of time ants physically interact with larvae in P1 after injection of NPF (c; n = 19 (control) and 18 (NPF) ants) or AstA (f; n = 18 ants per condition) peptides, compared with solvent control. d,g, Quantification of the proportion of time ants physically interact with larvae in P1 after injection of siRNA against NPF (d; n = 21 (control) and 29 (NPF)) or AstA (g; n = 30 (control) and 29 (AstA)), compared with control GFP siRNA. e,h, Quantification of NPF and AstA RNA expression by qPCR in the heads of ants injected with siRNA against NPF (e; n = 9 samples per condition) or AstA (h, n = 8 samples for AstA expression with AstA siRNA and n = 9 for all other conditions), compared with ants injected with control GFP siRNA. Each sample represents three to four pooled ant heads. Data in c–h were analysed with one-sided Mann–Whitney tests (c, U = 86, P = 0.0045; d, U = 195, P = 0.0156; e, AstA, NS; NPF, U = 13, P = 0.0071; f, U = 97, P = 0.0201; g, U = 319, P = 0.0399; h, AstA, U = 13, P = 0.0137; NPF, NS). Mean ± s.e.m.Source dataInjecting AstA peptide decreased the amount of time that ants interacted with larvae in P1 (Fig. 5f), but had no other discernible effects (Extended Data Fig. 9d–f). Conversely, AstA siRNAi increased the amount of time that ants interacted with larvae in P1 (Fig. 5g), whereas other aspects of the ants’ responses to larvae seemed to be unaffected (Extended Data Fig. 9j–l). AstA siRNAi significantly reduced the levels of AstA RNA, whereas the levels of NPF RNA remained unchanged (Fig. 5h).We confirmed the siRNAi results using an independent RNAi method. In this experiment, we injected long double-stranded RNA (dsRNA) against NPF or AstA RNA into ant heads to stimulate RNAi knockdown. These long RNA strands are cleaved into siRNA products that cover multiple sites across the target mRNA. This can lead to more robust knockdown than is achieved with the siRNAi method, which targets only a single site per mRNA. We then measured behaviour in the brood-care assay at 24 h, 48 h and 72 h after injection (Extended Data Fig. 10a). Consistent with the siRNAi results, NPF dsRNA decreased the amount of time that ants interacted with larvae, especially during P1, whereas AstA dsRNA had the opposite effect (Extended Data Fig. 10b–i). Levels of NPF and AstA RNA were significantly decreased in the brains of dsRNA-injected ants after the 72-h time point, demonstrating that this is an efficient method of gene knockdown (Extended Data Fig. 10j–m). Together, these results show that shifting the balance of NPF and AstA in the brain can recapitulate the age-linked change in responsiveness to larvae.NPF and AstA link nutritional status with brood careParental behaviour has evolved repeatedly from ancestors that did not care for their young, and, in various lineages, this transition seems to have involved the co-option of ancestral molecules and neural circuits that govern feeding behaviour18,43. NPF and AstA, as well as their orthologues, are widely conserved, and their expression levels are sensitive to nutritional status23,42,44,45,46,47,48. These two neuropeptides generally modulate feeding behaviour in opposite directions. Hunger increases the expression of NPF, which promotes feeding, whereas satiety increases the expression of AstA, which inhibits feeding15,16. We therefore wondered whether the ancestral link between nutritional status and the expression of NPF and AstA was conserved in O. biroi, and, if so, how nutrition would affect brood-care behaviour. To investigate this, we tested starved and fed ants in the brood-care assay and then measured the levels of NPF and AstA peptides in their brains (Fig. 6a). Starved ants spent significantly more time with larvae than fed ants did (Fig. 6b and Extended Data Fig. 11a–c). Notably, no larvae were cannibalized. Starvation increasing brood care might seem surprising because typically, in both solitary and social insects, low nutritional status is associated with increased foraging activity49,50. However, this result is consistent with a previous study showing that well-nourished O. biroi in fact forage more than starved ones do, possibly owing to evolutionary changes in the underlying endocrine pathways and neural circuits that link nutritional state to foraging behaviour51. The inversion of the ancestral relationship between hunger and foraging might relate to the phasic lifecycle of the species, in which workers undergo regular periods of hunger during a reproductive phase in which foraging activity ceases. These periods are then followed by a foraging phase in which both foraging and feeding increase27.Fig. 6: Nutritional status regulates NPF and AstA levels and brood-care behaviour.a, Schema of experiment. Two groups of 50 young (12 days old) ants each were fed or starved for 8 days and then tested in the brood-care behaviour assay. Subsequently, their brains were dissected and NPF and AstA peptide levels were measured using antibody staining. b, Quantification of the proportion of time that fed and starved ants physically interact with larvae in P1 (n = 48 (fed) and 46 (starved) ants). c,d, Quantification of normalized average NPF (c) and AstA (d) peptide levels in the brains of fed and starved ants. Measures are shown separately for the antennal lobe (AL, n = 10 per condition), adPC (n = 9 (starved) and 10 (fed)), pdPC (n = 5 (starved) and 7 (fed)) and SEZ (n = 6 (starved) and 4 (fed)) for NPF, and for the AL (n = 10 per condition), protocerebrum (PC, n = 10 per condition), SEZ (n = 10 per condition) and corpora allata (CA; n = 10 per condition) for AstA. e,f, Representative frontal view confocal z-stack projections of whole brains from fed and starved ants stained for NPF (e) and AstA (f) peptides. Scale bars, 50 μm. g, Model of how nutritional status and age regulate behaviour through neuropeptide levels in the antennal lobe and protocerebrum of the ant brain. Both starved and young ants have high levels of NPF and low levels of AstA and spend more time with larvae (outlined in red). Both fed and old ants have low levels of NPF and high levels of AstA and spend less time with larvae. Data in b were analysed with a one-sided Mann–Whitney test (U = 564, P = 2.25 × 10−5). Data in c,d were analysed with one-sided Welch’s t-tests (c, AL, t = −3.29, df = 17.5, P = 0.00209; adPC, t = −1.85, df = 16.9, P = 0.0407; d, AL, t = 3.01, df = 17.9, P = 0.00378; PC, t = 1.69, df = 15.5, P = 0.0341). Mean ± s.e.m.Source dataThe levels of both NPF and AstA changed with nutritional status, and these changes recapitulated what is known from solitary animals. In starved ants, NPF increased in the adPC and antennal lobe, but not in the SEZ or pdPC (Fig. 6c,e and Extended Data Fig. 11d,f). In fed ants, AstA increased in the protocerebrum and antennal lobe, but not in the SEZ or corpora allata (Fig. 6d,f). The behavioural responses of starved and fed ants to larvae were thus associated with NPF and AstA levels in a manner consistent with our experimental manipulations of these peptides (Fig. 5 and Extended Data Fig. 10). Indeed, both age and nutritional status shift the neuromodulatory state of the ant brain between NPF-high–AstA-low and NPF-low–AstA-high conditions in the protocerebrum and antennal lobe (Figs. 4 and 6). In O. biroi, a conserved and ancient neuromodulatory system has thus been co-opted to regulate brood-care behaviour, producing the distinct alloparental responses of young and old ants to larvae (Fig. 6g).DiscussionOur results show that the neuropeptides NPF and AstA, which regulate feeding in solitary animals, have been evolutionarily co-opted to regulate alloparental care in the clonal raider ant. Nutritional status altered the expression of these neuropeptides in the brain and, in parallel, modulated brood-care behaviour, indicating that the ancestral link between nutrition and the expression of these neuropeptides is maintained alongside their novel roles in caregiving. Expression of NPF and AstA also changed with age, consistent with the effects on brood care revealed by our functional manipulations. These findings imply that, in addition to governing alloparental care, NPF and AstA mediate the age-related shift from nursing to foraging.AstA and NPF form part of an ancient, deeply conserved and highly pleiotropic regulatory network41,52. This network centres around insulin, juvenile hormone (JH) and ecdysone, and co-ordinates feeding, growth and reproduction with nutritional state. Insulin modulates the synthesis of both JH and ecdysone, whereas JH and ecdysone are mutually antagonistic and ecdysone antagonizes the insulin and insulin-like signalling pathway. NPF generally promotes JH synthesis, although the details of this relationship can vary between taxa53,54. In Drosophila, gut-derived NPF stimulates insulin production, and the action of NPF-responsive neurons is inhibited by insulin, forming a negative-feedback loop that co-ordinates feeding with nutritional status55,56. AstA generally inhibits both JH synthesis and NPF neurons, and stimulates insulin-producing cells16,57,58.Our data fit with an emerging pattern whereby elements of this regulatory network have been consistently co-opted to govern social behaviour in ants and other insects24. Both insulin and JH regulate the transition from nursing to foraging across social Hymenoptera59,60,61,62. Other elements of this network have been shown to have important regulatory roles in ant species with social structures that differ from that of O. biroi13,62,63. In the leaf-cutter ant Atta cephalotes, labour is divided between morphologically distinct worker castes. Majors specialize in colony defence, whereas minors specialize in brood care. The behavioural differences between these castes are maintained by the neuropeptide neuroparsin A (NPA), which is synthesized by insulin-producing cells in the brain and interacts with insulin signalling13. NPA also seems to regulate the reproductive division of labour across social insects64. In the ponerine ant Harpegnathos saltator, worker behavioural roles are controlled by the neuropeptide corazonin14. Corazonin is homologous to vertebrate gonadotropin-releasing hormone, and in Drosophila melanogaster, corazonin neurons modulate the activity of insulin-producing cells65. In the carpenter ant Camponotus floridanus, behavioural differences between majors and minors are controlled by a JH esterase in glial cells, which constitute the blood–brain barrier and control JH titres in the brain62. Across species, these age- and behaviour-associated patterns are likely to be underpinned by epigenetic modifications66,67. Together, this suggests that NPF and AstA modulate brood-care behaviour through their interactions with insulin and JH signalling, and helps explain why nutritional state, ageing and the division of labour are so intricately intertwined in social insects68.Parallel research into the regulation of vertebrate parental care has found that, as in social insects, molecular factors that ancestrally governed feeding, growth and reproduction have been convergently co-opted to regulate caregiving. The neuropeptide NPY, the vertebrate homologue of NPF, is a primary driver of feeding, and seems to have been co-opted to modulate caregiving at independent evolutionary origins of parental behaviour in frogs, birds and mammals69,70,71. Virgin female mice typically care for pups, but will show aggression towards them when hungry. This switch is mediated by the release of NPY, which inhibits care-promoting neurons in the medial preoptic area of the hypothalamus72. Galanin, the receptor for which is homologous to the insect AstA receptor, is also expressed by hypothalamic neurons in mice, and optogenetic manipulation of these cells can toggle male behaviour between parental care and pup-directed aggression71,73,74.Various overlapping hypotheses have been proposed to explain the molecular evolution of social insect behaviour. The ovarian ground-plan and reproductive ground-plan hypotheses predict that molecular factors that governed foraging and reproduction ancestrally have been co-opted to control queen–worker dimorphism20,75,76. The maternal heterochrony hypothesis posits that worker behaviour evolved through the molecular mechanisms that governed parental care ancestrally becoming active in females without having reproduced77. Our data, together with recent findings from other taxa, support these hypotheses and simultaneously reveal them to capture only part of a broader evolutionary trend: an ancient and deeply conserved regulatory network pleiotropically controls feeding, growth and reproduction. Independent origins of parental (and/or alloparental) behaviour from insects to mammals, seem to have convergently co-opted elements of this network21,22,24. This suggests that the evolution of parental (and/or alloparental) behaviour is mechanistically more constrained than previously thought24.Although similar molecular factors seem to have been co-opted recurrently across taxa, there are some notable species-specific effects. For example, parental care is promoted by JH in certain insect taxa and suppressed by JH in others78. The fact that NPF promotes nursing in O. biroi is surprising. In most social insect species, JH inhibits nursing, and in model insects, NPF promotes JH, suggesting that NPF should inhibit brood care. In O. biroi, one of these ancestral molecular relationships either has been inverted or is outweighed by a counterbalancing force. Understanding how NPF and AstA interplay with insulin and JH in O. biroi brood care will shed light on how ancient molecular networks are tweaked during the evolution of complex social behaviours. Species specificities in these relationships might reflect the varied ways in which caregiving relates to feeding and reproduction. There is substantial diversity in adult–larva interactions across ants that could be used to explore such effects. For example, in certain contexts, adults feed larvae mouth-to-mouth, and interacting with larvae reduces adult nutritional status79. In other contexts, larvae regurgitate pre-digested food to feed adults, or adults pierce the sides of larvae and drink their haemolymph, in which case interacting with larvae increases adult nutritional status80. In some ant lineages, reproduction is phasic and larvae inhibit egg laying, whereas in others, reproduction is continuous and there is no such inhibition50,51. Ultimately, understanding species-to-species variation in the regulation of caregiving will enable an ecologically informed understanding of how social behaviours evolve.MethodsGeneral ant husbandry and maintenanceOoceraea biroi colonies of clonal line B81 were housed in 0.6-quart ClickClack boxes with an approximately 3-cm-deep plaster of Paris floor. Colonies were kept in a climate-controlled environmental room at around 25 °C and around 60% humidity, and the plaster floor was kept damp by regularly adding water. O. biroi colonies cycle between a reproductive phase during which colonies contain eggs and pupae and ants do not forage, and a foraging phase when larvae are present and ants forage for food27. An entire colony cycle takes around 5 weeks. Towards the end of the reproductive phase, eggs hatch into larvae. The foraging phase begins when larvae enter the third instar about 1 week later, coinciding with the emergence of the previous cohort of callow workers. During the foraging phase, which lasts around 2 weeks, colonies are composed entirely of workers and third and/or fourth instar larvae. In this phase, colonies were fed three times per week with frozen fire ant (Solenopsis invicta) brood. At the time of feeding, the plaster floor was briefly cleaned with Q-tips soaked in 10% bleach, and the plaster was then watered.Ant maintenance for experimentsNaturally cycling O. biroi colonies contain several generations of adults. During the foraging phase, the youngest generation of ants are easily recognizable by their lightly melanized cuticle for up to 6–7 days after they eclose from pupae. For the primary and secondary neuropeptide screens, 300–500 6-to-7-day-old ants were separated from their colonies into new boxes together with larvae in an approximately 1:1 ratio and aged to 12 days old. At that time, they were tested in the screens. For all other experiments, we generated age-matched colonies of ants by seeding new colonies with 300–500 6-to-7-day-old ants and larvae in an approximately 1:1 ratio. At each subsequent foraging phase, the newly eclosed callow ants were removed and transferred into new colonies with larvae in an approximately 1:1 ratio. This procedure was repeated for every foraging phase in every colony. Ants in all resulting colonies were aged up to 5 months old. This resulted in a regular supply of age-matched ants that were 12 days old, and 1, 2, 3, 4 and 5 months old, as well as larvae for experiments. All ants and larvae used in experiments came from colonies in the foraging phase when the larvae were in the fourth instar, and 12–16 days after callow workers had eclosed. For one week before behavioural experiments, ant colonies were fed every other day with frozen S. invicta brood stained with 0.5% weight/volume bromophenol blue (Sigma Aldrich; B5525) in autoclaved reverse-osmosis (RO) water. This stain accumulates in the larval gut, increasing the visual contrast and thus facilitating automated tracking (see below). Ant colonies were last fed 24 h before behavioural experiments.Neuropeptidome annotationLists of neuropeptide precursor protein sequences were compiled from literature focusing on insects31,32,33,34,35,36,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101, as well as from a broad survey of neuropeptides across metazoan phyla23. We identified putative O. biroi neuropeptide precursor proteins by a BLASTp homology search of the compiled lists against the O. biroi non-redundant protein sequences (nr) database using default settings. Precursor proteins with high degrees of certainty were retrieved from additional insect species, with a focus on Hymenoptera. Homology of candidate O. biroi neuropeptide precursor proteins to query sequences was confirmed through reciprocal BLASTp on the nr database of the query sequence species. Signal peptides were identified using SignalP 6.0 (https://dtu.biolib.com/SignalP-6). Neuropeptides were annotated manually by identification of stereotypical proteolytic cleavage site motifs (RR, RK, KR and KK) and alignment to homologous neuropeptides from representative insect species (Supplementary Tables 1–3). Post-translational modifications were predicted by comparison with annotations of homologous insect neuropeptides in the UniProtKB database (https://www.uniprot.org). These annotations were performed in 2021 and reflect the neuropeptidome literature at that time.Synthesis, storage and preparation of neuropeptidesNeuropeptides of 35 amino acids or fewer in size were synthesized including known modifications such as amidation and cyclization. For the neuropeptide screen treatment control, a 31-amino-acid neuropeptide, DH31, was synthesized with a biotin tag at the Proteomics Resource Center at Rockefeller University and provided lyophilized at 15% purity. Lyophilized DH31–biotin was resuspended in pure dimethyl sulfoxide (DMSO) to 30 mM concentration, aliquoted and stored at −80 °C before use. For the primary round of screening, neuropeptides were synthesized at the Proteomics Resource Center at Rockefeller University and provided lyophilized at 15–92% purity. We opted for this low level of purity of neuropeptides in the primary screen because of the large number of peptides and the costs associated with achieving high-purity preparations. This implies, however, that the rates of false positives in this screen might have been high, which we then mitigated by a stringent secondary screen using high-purity neuropeptides (see below). Lyophilized neuropeptides were stored for up to 4 months at −80 °C before resuspension. Stock solutions were made by resuspending lyophilized neuropeptides in pure DMSO to 2 mM–100 mM, depending on solubility, and then aliquoted and stored at −20 °C for up to 6 months before use. For the experiment to test whether the size range of our neuropeptide screening library could penetrate the cuticle, 30 mM DH31–biotin stock solution was diluted in autoclaved RO water to a final concentration of 1 mM DH31–biotin and 1% DMSO. The validation was then performed by soaking ants in biotinylated neuropeptides, dissecting out their brains and treating the brains with fluorescent-dye-conjugated streptavidin before performing quantitative confocal microscopy. For the primary neuropeptide screen, stock solutions of neuropeptides were diluted in autoclaved, RO-purified water to a final concentration of 1 mM neuropeptides and 1% DMSO. Control solutions were 1% DMSO in autoclaved RO water.For the secondary round of dose–response analysis screening, neuropeptides were synthesized by Bio-Synthesis and provided lyophilized at higher than 95% purity. Stock solutions were made by resuspending lyophilized neuropeptides to a concentration of 10 mM in pure DMSO, and then aliquoted and stored at −20 °C for up to 4 months before use. For all experiments, fresh aliquots of stock solutions were diluted to avoid freeze–thaw cycles that compromise protein integrity. For the secondary screen, stock solutions were diluted to test concentrations of 0.1 mM, 0.3 mM, 1 mM and 3 mM neuropeptides in 1% DMSO and autoclaved RO water. For the repeat of the NPF dose–response experiment, stock solution of NPF was diluted to 0.003 mM, 0.01 mM, 0.03 mM, 0.1 mM, 0.3 mM, 1 mM and 3 mM NPF in 1% DMSO. Control solutions were 1% DMSO in autoclaved RO water.Colony experimentColonies were housed in two-chamber arenas constructed from sandwiched layers of laser-cut acrylic and Tyvek cut to 100 × 100mm (length (L) × width (W)). From the bottom up, a base layer of 3-mm-thick acrylic was topped by a hollow, 6-mm-thick rim layer. The internal space of this layer was filled with plaster of Paris, which was kept moist. This was topped by a layer of water-vapour-permeable Tyvek that covered the plaster of Paris in one chamber but left it exposed in the other chamber. Because the ants prefer to nest on plaster of Paris, this partial Tyvek covering defines one chamber as the nest and the other chamber as the foraging arena. A layer of 3-mm-thick acrylic in which two rectangular 53 × 24mm (L × W) chambers were cut was placed on top of the Tyvek layer, forming the walls of the arena. The two chambers were connected by an entrance tunnel of 8 × 2mm (L × W). A final layer of 3-mm-thick clear acrylic was used to seal the arena, with a lid cut over each chamber so that they could be opened independently. Colonies of 60 ants (30 that were 12 days old; 30 that were 4 months old) and 60 larvae were transferred into these arenas after all ants were paint-marked with a unique two-dot colour code. Three such set-ups were constantly video-recorded at ten frames per second for 3 days. For each replicate, behaviour was scored manually in single frames subsampled every 8 h (nine frames). Frames either side of the focal frame were used to disambiguate behaviour in the focal frame. The following behaviours were scored: foraging (an ant is in the foraging arena when all larvae are in the nest) and physical contact with larvae. Physical contact with larvae was then subdivided into guarding (standing over a larva and stationary, with the caveat that this posture has not been functionally linked to aggressive responses towards threats); manipulating (mandibles and antennae in contact with larva and rapid movement of these body parts); antennating (antennal contact only, with antennae stretched forwards to contact the larva); carrying a larva; and incidental (not obviously tending a larva—either making contact as walking past or standing stationary in contact with the larva but oriented away from it).Brood-care behaviour units, recording set-up and assayFor the neuropeptide screening and nutritional status behavioural experiments, the brood-care behavioural arenas were constructed from sandwiched layers of laser-cut acrylic and Tyvek cut to 10 × 10 cm (L × W) (Extended Data Fig. 1a). From the bottom up, a base layer of 3-mm-thick acrylic was topped by a hollow rim layer of 6-mm acrylic into which water-dampened cotton gauze was placed. This was then topped by a layer of 1.5-mm-thick acrylic mesh, followed by a layer of Tyvek that provided the floor of the assay chambers. A layer of 6-mm-thick acrylic in which 24 radially symmetrically arranged 30 × 2 mm (L × W) rectangles were cut was then placed on top of the Tyvek layer, forming the walls of the assay chambers. For the peptide injection and RNAi experiments, the hollow rim layer was filled with water-dampened plaster of Paris that replaced the cotton gauze, acrylic mesh and Tyvek layers and provided the chamber floor. These layers were secured by acrylic screws, and each unit was then secured by metal screws to a tray. At this point, larvae were loaded into the centre of each chamber, followed by treated ants. Each unit was then topped with a layer of clear, antistatic 3-mm-thick acrylic that formed the lid, secured to the units by screws. Between experiments, the lid and chamber layers were washed in hot water with antibacterial soap free of dyes and odorants, and the Tyvek or plaster floors were replaced. Each tray held 8 units of 24 assay chambers each. Trays were placed within a light-protected box containing 8 webcams (Logitech C910) positioned around 10 cm above the centre of each unit such that all 24 chambers per unit were within view for video recording. Lighting in the box was provided by white light-emitting diodes. Units were filmed at 5 frames per second and 2,592 × 1,944-pixel resolution for 5 h. The recording boxes were setup in a climate control room at around 25 °C and around 60% humidity.Neuropeptide screeningIn the screening assays, 12-day-old ants were removed from their colony using soft forceps and placed immediately into 1.5-ml Eppendorf tubes on ice, resulting in near instant anaesthesia. Solutions of neuropeptides were then added to the tubes. The tubes were briefly and vigorously shaken to completely submerge all ants in the solution and then placed back on ice for 20 min. The tubes of solution with ants were then poured onto dry paper towels, which pulled excess solution off the ants. Ants were then placed into the assay chambers for filming. In the primary screen, we tested each of 61 neuropeptides on n = 12 ants and compared their behaviour with that of n = 12 ants treated with control solution. The primary screen was designed to be high throughput and low stringency, with the goal of identifying a shortlist of candidates for a more rigorous secondary dose–response screen. Given that the neuropeptide solutions used in this screen were low quality (see ‘Synthesis, storage and preparation of neuropeptides’) and the statistical analyses were permissive, this approach is prone to produce many false negatives and false positives. In the secondary screen, the treatment method was the same as that used in the primary round, but each candidate neuropeptide was synthesized at high quality, tested on n = 24 ants per concentration and compared with n = 24 ants treated with control solution.Extra behavioural control experimentIn separate control experiments, we compared the responses of adult ants to live O. biroi larvae, dead O. biroi larvae, dead O. biroi larvae washed in hexane, acrylic beads and fire ant (S. invicta) larvae (that is, prey items). For this experiment, a colony of about 500 6-to-7-day-old ants and larvae in an approximately 1:1 ratio was established and fed every other day with bromophenol-blue-stained S. invicta brood. When ants were 11 days old and larvae were in the fourth instar, two groups of around 100 larvae each were separated from the colony for treatments. One group of larvae was frozen overnight at −80 °C to kill them. These dead larvae were thawed at room temperature before the behavioural experiment. The larvae in the second group were placed in a glass scintillation vial and washed five times in pure hexane. These larvae were stored in hexane overnight at 4 °C and then dried on paper towels at room temperature for 20 min to allow residual hexane to evaporate before the behavioural experiment. Small (approximately 0.5-mm diameter), roughly cylindrical beads were laser cut from 3-mm pink acrylic. These beads were approximately the size of a late fourth instar O. biroi larva.Behavioural trackingAutomated behavioural analyses of the single ant assays were performed using anTraX102, yielding (x, y) position co-ordinates for both the ant and the larva for each assay chamber. We wrote custom scripts that automatically calculated several measures used for analysis and tracking quality verification. These included an interaction score (1 if ant and larva positions aligned; 0 if not), the frame of larva detection (details below) and the percentage of frames in which the ant and larva identities were successfully classified. In 92% of chambers across all experiments, ant and larva identities were maintained in 99% or more of the video frames. We excluded data from chambers in which either the ant identity or the larva identity was maintained in 80% or less of the frames. However, this occurred rarely—in only 2.8% of chambers. In 5.2% of chambers, identities were maintained in 81–98% of frames. In these cases, most instances of identity and positional data loss occurred when an ant was carrying the larva and therefore occluding it from view. In these cases, the larva’s position data was manually corrected to match the ant’s position data over the frames from which the larva position was lost. Tracking data were visualized using Python with the packages numpy, pandas, scipy, matplotlib and seaborn. Scripts and example datasets for behavioural analyses and visualizations are available via GitHub (https://github.com/Social-Evolution-and-Behavior/Paul_Kay_Kronauer_2026).Annotation and analysis of behavioural tracking dataTo provide a broad overview of how ants interact with larvae in the one-on-one assay, we manually annotated behaviour on the basis of an evenly distributed subsample of 24 frames per individual for a total of 47 ants across 4 conditions: 12-day-old ant with an O. biroi larva (n = 12), 4-month-old ant with an O. biroi larva (n = 12), 12-day-old with an S. invicta larva (n = 12) and 4-month-old ant with an S. invicta larva (n = 11). Physical contact with larvae was scored for each frame and subdivided into guarding, manipulating, antennating, carrying and incidental, as for the colony assay. From the results of this manual scoring, physical contact with larvae emerged as a robust proxy for brood-care behaviour and therefore motivated and justified the subsequent use of an automated image-processing pipeline to extract physical contact data. Relevant behaviour begins when the ant first detects the larva, typified by antennal drumming on the larva and physical engagement with it (Supplementary Video 1). Larva detection was defined as the moment in frames when the (x, y) co-ordinates of the ant and larva first converge. Larva detection was confirmed by comparing the visualized data with the raw video for every ant, and errors were corrected manually. We defined the P1 behavioural phase as the period beginning with larva detection and continuing while the ant remains mostly in physical contact with the larva, irrespective of whether the ant is carrying the larva around the assay chamber or remaining in one location. Larva carrying did not consistently occur across all assays or conditions, and it was therefore collapsed into the P1 phase. The P2 phase was defined as the period when the ant begins to leave the larva and subsequently spends most of its time away from the larva. This phase continued until the end of the video recording. We determined the transition point between the P1 and P2 phases algorithmically for each ant. In brief, we first converted the ant and larva (x, y) positions into single values ranging between 0 mm and 30 mm (the length of the assay chamber). We saved these values as ‘PositionData’. Then, beginning from the frame of larva detection, we applied a 200-frame (40-s) sliding window over the ant’s PositionData, in which we calculated the difference between the ant’s absolute minimum and absolute maximum positions. We ignored the ant’s PositionData in frames in which the ant was physically interacting with or carrying the larva, to only capture PositionData from frames in which the ant was away from the larva. We saved these values as the ‘AntMaxDistance’. We then smoothed the AntMaxDistance data by applying a second 400-frame (80-s) sliding window in which we averaged the measures. We calculated the first inflection point of the smoothed AntMaxDistance data (that is, the frame at which the data first exceed half of the absolute maximum value of the data) and defined this frame as the transition point between the P1 and P2 behavioural phases. In rare cases (less than 1%) in which the transition point occurred at fewer than 1,000 frames from the moment of larva detection, we defined the transition point as 0 and the ant as having no P1 phase. These cases were excluded from the analysis of the P1 phase and phase transitions as outliers. In other rare cases (less than 5%), ants would carry the larva from the moment of larva detection to the end of the assay period. In these cases, the entire interaction period was defined as P1, the length of this period was taken as the P1 duration and, because there was no transition point and no P2 phase, we excluded these cases from analyses of the P2 phase. We then quantified the duration of the P1 phase (time from first detection of larva to the transition point) and the proportion of time that the ant was in physical contact with the larva in each of the P1 and P2 phases, as well as over the total assay period. Scripts and example datasets used for these analyses are available via GitHub (https://github.com/Social-Evolution-and-Behavior/Paul_Kay_Kronauer_2026).Sample size and statistical analysesWe used power analyses to determine the sample size for all experiments. For the primary round of the neuropeptide screen, power analysis (parameters: 0.80 power, α = 0.05, two-sided comparison of means) showed that n = 12 ants per condition would give a power of 0.99, with an effect size based on estimates of mean and standard deviation from the average total proportion of time that young and old ants spent with larvae during the brood-care behaviour assay (Fig. 2g). We analysed the primary screen results with a t-test comparison of means, without correction for multiple comparisons or false discovery rate. Although this permissive statistical method increased false positives, it accommodated small effect sizes and optimized the sample size for throughput, allowing for a comprehensive test of the neuropeptidome. Effect sizes (Cohen’s d) of neuropeptide candidate behavioural measures (P1 duration, P1, P2 and total) were calculated as d = (meanneuropeptide − meancontrol)/(standard deviationcontrol).In the secondary round of screening, power analysis (parameters: 0.80 power, α = 0.05, six groups, ANOVA) showed that a minimum of n = 12 ants per treatment would give a power of 1, with estimates of the F effect size taken from the time-course analysis of brood-care behaviour (Extended Data Fig. 1c–f). We used n = 24 ants per condition in the dose–response experiments of the secondary round of neuropeptide screening. For the experimental paradigms in which we compared mean NPF or AstA brain fluorescence measures, power analysis (parameters: power 0.80, α = 0.05, two-sided comparison of means) showed that a minimum of n = 5 brains per conditions would yield a power of 0.9, using estimates of mean and standard deviation from the AstA IHC aging analysis (Fig. 4c, AL measure). On the basis of these analyses, we used a minimum of n = 20 ants for all additional behavioural experiment paradigms (peptide injections, dsRNAi, siRNAi, fed or starved behaviour) and from these sampled a minimum of n = 5 brains or samples per condition for quantitative confocal microscopy and qPCR analyses, respectively. For all experiments, outliers were identified (ROUT method with Q = 1%) and removed before statistical testing. In some cases, data were normalized by square root transformation and statistical analyses were performed on the transformed data. Details on statistical analyses and the final sample sizes used for the data plotted in graphs are in the respective figure legends. Graphing and statistical analyses of data were performed using GraphPad Prism (versions 8–10).Brain dissection and tissue preparationLive ants were dipped in 95% ethanol for 5–10 s and then submerged in sterile filtered 1× phosphate-buffered saline (PBS) in a silicone-coated Petri dish under a dissection microscope. The antennae and mandibles were cut off using microdissection scissors, and the head cuticle was gently opened using forceps to reveal the brain. The brain was lifted from the ventral head cuticle, removing the oesophagus, which runs through the brain. Small tracheae on the surface of the brain were then gently removed. Brains were transferred into fixative (sterile filtered 1× PBS, 4% paraformaldehyde) using glass Pasteur pipettes that had been pre-lubricated with sterile filtered 1× PBS and 0.1% Tween. Brains for RNA FISH were fixed overnight at 4 °C. Brains for IHC were fixed for 2 h at room temperature. Fixative was removed with three quick washes followed by three 20-min washes in sterile filtered 1× PBS. Brains were either processed immediately for staining, or stored in sterile filtered 1× PBS, 0.02% sodium azide for up to 2 weeks at 4 °C.RNA FISH stainingFor RNA FISH staining of NPF and AstA, we obtained nucleic acid probes, fluorescently tagged hairpin amplifier sequences and buffers from Molecular Instruments. Brains were stained according to the Molecular Instruments HCR 3.0 Protocol. In brief, fixed brains were incubated in probe hybridization buffer for 30 min at 37 °C, and 8 pmol of NPF or AstA probes was added. The samples were incubated at 37 °C for 48 h rotating on a thermoblock at 300 rpm. Probes were removed with five 10-min washes of probe wash buffer, followed by two 5-min washes with sterile filtered 5× SSCT (5× sodium chloride citrate and 0.1% Tween-20). Samples were then switched into amplification buffer and incubated for more than 10 min at room temperature. Subsequently, 6 μl of 3 μM stock of each fluorescently tagged hairpin amplifier was prepared in separate tubes, heated to 95 °C for 90 s and then cooled to room temperature in the dark for 30 min. The appropriate hairpin sets for the probes were added to 100 μl of amplification buffer, transferred to the samples and incubated overnight in the dark at room temperature on a benchtop rocker. The next day, the amplification step was stopped by adding excess 5× SSCT, followed by five 10-min washes in 5× SSCT. The samples were then switched into sterile filtered 1× PBS through three quick washes, and brains were incubated in DAPI (1:500 of a 1 mg ml−1 stock solution) in sterile filtered 1× PBS for 10 min, followed by three 20-min washes in sterile filtered 1× PBS. Stained brains were mounted on silane coated glass slides (Electron Microscopy Sciences, 63411-02) in SlowFade Glass AntiFade mounting medium (Invitrogen, S36917).Antibodies and IHC stainingFor IHC staining of AstA, we used a polyclonal rabbit-anti-AstA antibody from Jena Biosciences (anti-A-AST, ADB-062). For IHC of NPF, we used a custom polyclonal chicken-anti-NPF antibody generated by YenZym through their Chicken Antibody Service with IgY extraction and purification. Chicken-anti-NPF was raised against the O. biroi NPF neuropeptide sequence (YLDLVREYYSMTGTARF-amide). The custom chicken-anti-NPF antibody is available upon request. We used secondary donkey-anti-rabbit and donkey-anti-chicken antibodies conjugated to either a488 or a594 fluorophores (Jackson ImmunoResearch, codes: 711-545-152, 703-545-155, 711-585-152 and 703-585-155). Antibody solutions were diluted 1:1 in pure glycerol and stored at −20 °C. For IHC staining, fixed brains were incubated in blocking solution (sterile filtered 1× PBS, 0.1% Triton X-100, 0.02% sodium azide, 5% donkey serum) for 1 h. Primary rabbit-anti-AstA at a final concentration of 1:1,000, or chicken-anti-NPF at a final concentration of 1:2,000, was then added, and brains were incubated for a further 7 days. Primary antibodies were then washed off in three quick washes followed by three 20-min washes in sterile filtered 1× PBS. Brains were again incubated in blocking solution for 1 h. Secondary antibodies were added at a final concentration of 1:500, and brains were incubated overnight. Secondary antibodies were washed off in three quick washes in sterile filtered 1× PBS, and brains were incubated in DAPI (1:500 of a 1 mg ml−1 stock solution) in sterile filtered 1× PBS for 10 min, followed by three 20-min washes in sterile filtered 1× PBS. All staining steps were performed at room temperature on a benchtop rocker. Stained brains were mounted on silane-coated glass slides in SlowFade Glass mounting medium.Verification of antibody specificityWe used both antibody pre-adsorption experiments and dual RNA FISH + IHC staining experiments to verify the specificity of the AstA and NPF antibodies. The rabbit-anti-AstA antibody has been shown to bind to AstA neuropeptides that end in a terminal YXFGL-amide motif103. O. biroi AstA encodes five AstA neuropeptides, four of which end in a similar motif (AstA1–AstA4). Three of those are unique: AstA1 (YNFGL-amide), AstA2 (FSFGI-amide) and AstA4 (FSFGL-amide) (see Supplementary Table 3). For the AstA pre-adsorption control, rabbit-anti-AstA (1:2,000) was incubated with AstA1, AstA2 or AstA4 at a concentration of 1 mM in IHC blocking solution overnight at 4 °C. For the NPF pre-adsorption control, chicken-anti-NPF (1:1,000) was incubated with O. biroi NPF peptide at a concentration of 1 mM in IHC blocking solution overnight at 4 °C. Brains were then IHC stained with pre-adsorbed rabbit-anti-AstA solution or pre-adsorbed chicken-anti-NPF solution as the primary antibodies, or with non-pre-adsorbed rabbit-anti-AstA or non-pre-adsorbed chicken-anti-NPF as positive controls, respectively. All IHC staining steps for the pre-adsorption controls were performed as described above. For the dual RNA FISH + IHC experiments, brains were fixed and first processed for either AstA RNA FISH or NPF RNA FISH as described above, but at the last step brains were switched from 5× SSCT buffer into sterile filtered 1× PBS through three 20-min washes. Brains were then processed for AstA or NPF IHC staining, respectively, as described above.Quantitative confocal microscopyAll brain samples within an experiment to be imaged for quantitative confocal microscopy were dissected, fixed and stained in parallel. Stained brains were mounted on silane-coated slides in SlowFade Glass mounting medium, and coverslips were sealed with clear nail polish. Slides of mounted brains were allowed to clear at room temperature inside a dark drawer overnight before imaging. All confocal images were acquired with a Zeiss LSM 900 confocal microscope using a Zeiss LD LCI Plan-Apochromat 40×/1.2-NA multi-immersion objective lens and glycerol immersion medium. Confocal z-stacks of whole brains were captured in a single image plane at 0.5 zoom and 1-μm optical steps at 4,084 × 4,084-pixel resolution using Airyscan multiplex fast settings in Zen software. Airyscan postprocessing of raw images was done using standard strength settings in Zeiss Zen Blue software. All brains within an experiment were imaged using the same settings for laser power, gain and offset, such that fluorescence measures were comparable across conditions.Image analysisFluorescence was measured from confocal images using ImageJ. Both FISH and IHC staining of AstA had high signal-to-noise ratios, allowing thresholding to cleanly separate signal from background. To quantify regional differences in AstA FISH and IHC staining, ROIs were hand-drawn around the antennal lobes, protocerebrum (without mushroom bodies), SEZ, corpora allata and mushroom bodies. AstA signal was measured from every image slice in the z-stack. The total average fluorescence from each brain region was normalized by the total average fluorescence for the mushroom body (where AstA is not expressed) such that measurements were comparable between brains and across experimental conditions. Because NPF is expressed in only 16–20 cells per brain, we were able to hand-draw ROIs around the somas of every cell. The average NPF fluorescence was then measured from 3–12 image slices per cell for both FISH- and IHC-stained brains. NPF fluorescence measures were normalized to the total average brain fluorescence for each brain. Whole-brain NPF measures presented in the figures are the average of the normalized NPF fluorescence for the 16–20 cells per brain. Regional fluorescence measures for NPF are presented as averages of the normalized NPF fluorescence measures of subsets of cells within the antennal lobes, the adPC, the pdPC and the SEZ.Annotation of NPF