Antibiotics remain a mainstay for treating intestinal bacterial infections, but they often act like a carpet bomb.

Antibiotics remain a mainstay for treating intestinal bacterial infections, but they often act like a carpet bomb. Drugs that eliminate harmful microbes can also wipe out beneficial gut bacteria, a trade-off that can be especially damaging for people living with Crohn’s disease and other long-term gastrointestinal disorders. That collateral damage also creates fertile conditions for antibiotic-resistant strains to emerge and spread.

Seeking a more precise way to tackle gut pathogens, microbiologist Jonathan Stokes at McMaster University in Hamilton, Canada, began a targeted search in 2023. His team tested roughly 10,000 biologically active compounds for their ability to kill a strain of Escherichia coli known to trigger severe intestinal disease. The researchers then narrowed the list using multiple filters, including how toxic the compounds were to bacteria and whether their chemical structures differed substantially from existing antibiotics.

To their surprise, the funneling process produced just a single standout candidate. “We got super lucky in that we only ended up with one molecule,” says Denise Catacutan, a doctoral student in Stokes’s lab who led the project. The compound was dubbed enterololin. Finding a promising antibacterial molecule, however, was only the first hurdle. The bigger question was whether enterololin acted selectively on the target E. coli strain—or whether it would turn out to be another broad-spectrum antibiotic that harms helpful microbes as well.

Traditionally, pinning down an antibiotic’s mechanism of action can require lengthy experimental work, such as large biochemical screening campaigns, RNA sequencing, or proteomics studies to map which cellular pathways the drug disrupts. In this case, the team opted for a less common approach: using artificial intelligence to guide the next steps.

AI has become increasingly influential in pharmaceutical research, but employing it specifically to determine how an antibiotic works is still relatively rare, says Regina Barzilay, a computer scientist at the Massachusetts Institute of Technology (MIT) in Cambridge. Barzilay’s lab has developed an AI system designed for this niche. The tool, called DiffDock, predicts how small molecules are likely to bind to proteins—information that can suggest which proteins a compound targets and, by extension, how it might disable a bacterium.

When Stokes and colleagues applied DiffDock to enterololin, the software generated a shortlist of likely protein targets, helping the group streamline their lab work. “It could kind of narrow down our experimental pipeline,” Catacutan says. The researchers engineered bacterial strains carrying mutations in genes that code for the predicted target proteins. Those experiments quickly supported the AI tool’s suggestions, providing a faster route to validating how the compound operates.

For Barzilay, the urgency of antibiotic research is not abstract. Her father suffered a bacterial infection in his spine that required complex surgery. Another relative survived an infection that failed to respond to any available antibiotic. “We are so used to the idea that antibiotics are there to protect us,” she says, but that assumption is increasingly fragile.

The stakes are high: antibiotic resistance is already widespread and worsening. Some projections estimate that drug-resistant infections could claim at least 39 million lives by 2050. Yet the pipeline for new antibiotics remains thin, in part because research, development and manufacturing are costly, and financial returns are often uncertain—factors that have made many companies hesitant to invest.

That economic reality is one reason more scientists are turning to machine learning. By conducting key steps in silico—from identifying candidate molecules to predicting mechanisms of action—researchers can move more quickly and potentially reduce costs. Barzilay’s own push into antibiotic development began in 2018 after meeting MIT biomedical engineer James Collins at an institute symposium on AI. The two teamed up to apply these methods to antibiotic discovery, joined by Stokes, then a postdoctoral researcher in Collins’s lab with expertise in high-throughput small-molecule screening. Together, they helped build neural-network-based models aimed at accelerating the search for urgently needed antimicrobials.