24Plants expend significant resources to select and maintain rhizosphere communities that 25 benefit their growth and protect them from pathogens. A better understanding of assembly and 26 function of rhizosphere microbial communities will provide new avenues for improving crop 27 production. Secretion of antibiotics is one means by which bacteria interact with neighboring 28 microbes and sometimes change community composition. In our analysis of a taxonomically 29 diverse consortium from the soybean rhizosphere, we found that Pseudomonas koreensis 30 selectively inhibits growth of Flavobacterium johnsoniae and other members of the 31 Bacteroidetes grown in soybean root exudate. A genetic screen in P. koreensis identified a 32 previously uncharacterized biosynthetic gene cluster responsible for the inhibitory activity. The 33 metabolites were isolated based on biological activity and were characterized using tandem-mass 34 spectrometry, multidimensional NMR, and Mosher ester analysis, leading to the discovery of a 35 new family of bacterial piperidine alkaloids, koreenceine A-D (1-4). Three of these metabolites 36 are analogs of the plant alkaloid γ-coniceine. Comparative analysis of the koreenceine cluster 37 with the γ-coniceine pathway revealed distinct polyketide synthase (PKS) routes to the defining 38 piperidine scaffold, suggesting convergent evolution. Koreenceine-type pathways are widely 39 distributed among Pseudomonas species, and koreenceine C was detected in another 40 Pseudomonas sp. from a distantly related cluster. This work suggests that Pseudomonas and 41 plants convergently evolved the ability to produce similar alkaloid metabolites that can mediate 42 inter-bacterial competition in the rhizosphere. 43 44 45 46 ! 3! IMPORTANCE 47 The microbiomes of plants are critical to host physiology and development. Microbes are 48 attracted to the rhizosphere due to massive secretion of plant photosynthates from roots. 49Microorganisms that successfully join the rhizosphere community from bulk soil have access to 50 more abundant and diverse molecules, producing a highly competitive and selective 51 environment. In the rhizosphere, as in other microbiomes, there is little known about the genetic 52 basis for individual species' behaviors within the community. In this study, we characterized 53 competition between Pseudomonas koreensis and Flavobacterium johnsoniae, two common 54 rhizosphere inhabitants. We identified a widespread gene cluster in several Pseudomonas spp., 55 which is necessary for the production of a novel family of piperidine alkaloids that are structural 56 analogs of plant alkaloids. We expand the known repertoire of antibiotics produced from 57Pseudomonas in the rhizosphere and demonstrate the role of the metabolites in interactions with 58 other bacteria of the rhizosphere. 59 60 KEYWORDS 61