ABSTRACTBacteria are often found living in aggregated multicellular communities known as biofilms. Biofilms are three-dimensional structures that confer distinct physical and biological properties to the collective of cells living within them. We used agent-based modeling to explore whether local cellular interactions were sufficient to give rise to global structural features of biofilms. Specifically, we asked whether chemorepulsion from a self-produced quorum-sensing molecule, autoinducer-2 (AI-2), was sufficient to recapitulate biofilm growth and cellular organization observed for biofilms ofHelicobacter pylori, a common bacterial resident of human stomachs. To carry out this modeling, we modified an existing platform, Individual-based Dynamics of Microbial Communities Simulator (iDynoMiCS), to incorporate three-dimensional chemotaxis, planktonic cells that could join or leave the biofilm structure, and cellular production of AI-2. We simulated biofilm growth of previously characterizedH. pyloristrains with various AI-2 production and sensing capacities. Using biologically plausible parameters, we were able to recapitulate both the variation in biofilm mass and cellular distributions observed with these strains. Specifically, the strains that were competent to chemotax away from AI-2 produced smaller and more heterogeneously spaced biofilms, whereas the AI-2 chemotaxis-defective strains produced larger and more homogeneously spaced biofilms. The model also provided new insights into the cellular demographics contributing to the biofilm patterning of each strain. Our analysis supports the idea that cellular interactions at small spatial and temporal scales are sufficient to give rise to larger-scale emergent properties of biofilms.IMPORTANCEMost bacteria exist in aggregated, three-dimensional structures called biofilms. Although biofilms play important ecological roles in natural and engineered settings, they can also pose societal problems, for example, when they grow in plumbing systems or on medical implants. Understanding the processes that promote the growth and disassembly of biofilms could lead to better strategies to manage these structures. We had previously shown thatHelicobacter pyloribacteria are repulsed by high concentrations of a self-produced molecule, AI-2, and thatH. pylorimutants deficient in AI-2 sensing form larger and more homogeneously spaced biofilms. Here, we used computer simulations of biofilm formation to show that localH. pyloribehavior of repulsion from high AI-2 could explain the overall architecture ofH. pyloribiofilms. Our findings demonstrate that it is possible to change global biofilm organization by manipulating local cell behaviors, which suggests that simple strategies targeting cells at local scales could be useful for controlling biofilms in industrial and medical settings.