Sign in
Systems BiologybioRxiv
Preprint

CellSwarm: LLM-Driven Cell Agents Recapitulate Tumor Microenvironment Dynamics and Sense Indirect Genetic Perturbations

Xuanlin MengiD, Tengjiao Wang, Zhongyuan DongiD, Xinhao Li, Xiuliang CuiiD, Lianghua WangiD

Abstract

Agent-based models of the tumor microenvironment (TME) traditionally rely on hand-coded rules that cannot generalize beyond their programmed logic. Here we present CELLSWARM, a framework that replaces rule-based cell decision-making with large language model (LLM)-driven autonomous agents. Each simulated cell maintains persistent state, 14 signal pathways, and a memory stream, with an LLM serving as its cognitive core. Using structured knowledge bases for cancer-specific context, CELLSWARM recapitulates TNBC microenvironment composition with fidelity comparable to hand-coded rules (Jensen-Shannon divergence 0.144 vs. 0.146; P=0.012 vs. random, Mann-Whitney U test). Beyond matching rule-based performance, LLM-driven agents demonstrate three capabilities absent from rule-based models: cross-cancer generalization by swapping knowledge base entries, treatment response prediction concordant with clinical data (anti-PD-1: 17.6% simulated vs. 21% clinical), and sensing of indirect genetic perturbations that propagate through intermediate signaling cascades (IFN-{gamma} KO: Agent +15.7% vs. Rules +0.3%; P=0.005). CELLSWARM demonstrates that LLM-driven cell agents can recapitulate and extend TME simulation beyond the reach of hand-coded rules.

PDFDOI

02 /Specification & Classification

Click any tag to browse matching papers

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISPoleszczuk '16Ghaffarizad '15Wang '24Tangella '24Lima '21Ozik '19
67% semantic matchSystems Biology
Jan T Poleszczuk, Paul Macklin, Heiko Enderling·Methods in Molecular Biology·Apr 5, 2016