The plant kingdom contains vastly untapped natural product chemistry, which has been traditionally explored through the activityguided approach. Here, we describe a gene-guided approach to discover and engineer a class of plant ribosomal peptides, the branched cyclic lyciumins. Initially isolated from the Chinese wolfberry Lycium barbarum, lyciumins are protease-inhibiting peptides featuring an N-terminal pyroglutamate and a macrocyclic bond between a tryptophan-indole nitrogen and a glycine α-carbon. We report the identification of a lyciumin precursor gene from L. barbarum, which encodes a BURP domain and repetitive lyciumin precursor peptide motifs. Genome mining enabled by this initial finding revealed rich lyciumin genotypes and chemotypes widespread in flowering plants. We establish a biosynthetic framework of lyciumins and demonstrate the feasibility of producing diverse natural and unnatural lyciumins in transgenic tobacco. With rapidly expanding plant genome resources, our approach will complement bioactivity-guided approaches to unlock and engineer hidden plant peptide chemistry for pharmaceutical and agrochemical applications. lyciumins | BURP domain | ribosomal peptides | natural products | plant metabolism P lants have been an important source of traditional medicines in many cultures for millennia. Underlying the historic use of medicinal plants are bioactive natural products produced in these organisms for signaling and defense (1). Most plant natural products with potential pharmacological applications were discovered based on their bioactivity in bioprospecting studies inspired by traditional herbal medicines (2). However, bioactivityguided discovery of new plant natural products faces a major bottleneck in rediscovery of known structures after purification via bioassay-guided fractionation (3). Subsequent drug development of a target plant natural product is also hindered by low isolation yields from the source plant and by structural complexity of the target compounds, where large-scale total synthesis of these compounds via organic chemistry is often infeasible (4).Over the last two decades, advances in genome sequencing, analytical chemistry, and synthetic biology allowed researchers to address these problems in microbial and fungal natural product chemistry (5). An increasing resource of microbial and fungal genomes enabled the development of powerful computational discovery pipelines for new natural product chemistry, using geneguided discovery approaches such as genome mining, in which a predicted genotype is connected to a chemotype by applying biosynthetic knowledge (5-7). Furthermore, mass spectrometry-based metabolomics accelerated discovery of new chemotypes from microbes and fungi in the context of growing genomic information (6, 8), while heterologous expression and metabolic engineering of biosynthetic gene clusters enabled source organism-independent production and diversification of natural products (9). More recently, analogous gene-guided approaches have been developed to chara...