Résumé : Bacterial growth often alters the environment, which in turn can impact interspecies interactions among bacteria. Here, we used an in vitro batch system containing mucin beads to emulate the dynamic host environment and to study its impact on the interactions between two abundant and prevalent human gut bacteria, the primary fermenter Bacteroides thetaiotaomicron and the butyrate producer Roseburia intestinalis. By combining machine learning and flow cytometry, we found that the number of viable B. thetaiotaomicron cells decreases with glucose consumption due to acid production, while R. intestinalis survives post-glucose depletion by entering a slow growth mode. Both species attach to mucin beads, but only viable cell counts of B. thetaiotaomicron increase significantly. The number of viable co-culture cells varies significantly over time compared to those of monocultures. A combination of targeted metabolomics and RNA-seq showed that the slow growth mode of R. intestinalis represents a diauxic shift towards acetate and lactate consumption, whereas B. thetaiotaomicron survives glucose depletion and low pH by foraging on mucin sugars. In addition, most of the mucin monosaccharides we tested inhibited the growth of R. intestinalis but not B. thetaiotaomicron. We encoded these causal relationships in a kinetic model, which reproduced the observed dynamics. In summary, we explored how R. intestinalis and B. thetaiotaomicron respond to nutrient scarcity and how this affects their dynamics. We highlight the importance of understanding bacterial metabolic strategies to effectively modulate microbial dynamics in changing conditions.