Evidence defines the target
Time, lineage, growth, and multi-omic measurements specify what the dynamics must preserve.
As experimental measurements evolve, the models used to understand cells must evolve with them. CellCompass translates evolving measurements into executable virtual-cell dynamics, using an AI model-design system to reason, search, code, validate, and revise the model.
A hand-drawn sketch of the idea — a cell on the bench, an atlas streaming into the machine, and the design cycle that draws new dynamics as new questions arrive.
Grounded in benchmark and real-data evidence
The premise
CellCompass translates new experimental evidence into executable virtual-cell dynamics: not a static analysis, but a model that changes as the biology being measured becomes richer.
Time, lineage, growth, and multi-omic measurements specify what the dynamics must preserve.
Transport, bridges, mass change, and regulatory coupling are selected or designed as evidence expands.
CellCompass reasons, searches, codes, validates, and revises until the dynamics match the measurement.
The modeling principle
Sampled marginals constrain how populations move between observed time points.
transportLineage barcodes force the dynamics to preserve hidden fate divergence.
fate massProliferation and apoptosis reshape balanced transport into mass-changing dynamics.
unbalancedRNA and protein readouts require trajectories that carry molecular programs across modalities.
RNA → proteinThe scientific object is the evolving virtual-cell model. The agent is how CellCompass makes that evolution operational: reasoning, searching, coding, validating, and revising on top of the open CytoBridge dynamics engine.
Proposes, implements, and tunes brand-new dynamical-modeling algorithms inside isolated, version-controlled workspaces.
Literature & theory-book RAG over optimal transport and flow matching informs every modeling decision with citations.
New methods register as first-class models on the open CytoBridge engine — reusable for simulation and downstream analysis across datasets.
Staged trial budgets with archived trials and automatic promote / reject against baseline gates.
A registry tracks every proposal, snapshot, decision, and locked release as the single source of truth.
Guarded subprocesses, timeout & OOM protection, and durable checkpoints let a campaign run for days and recover itself — the agent never crashes.
CellCompass and the CytoBridge engine model cellular processes as a spatiotemporal dynamical generative model. Add forces, and the optimal-transport formulation grows with them.
A single neural field f(x, t) → (v, g, s) is trained so the population density ρt
transports between observed time-points — simulation-free, via flow matching, or by solving the PDE directly.
The spatiotemporal dynamical generative model — velocity, growth, score, and interaction transport an initial distribution to later time-points.
DynBench turns simulated single-cell dynamical scenarios into hidden-ground-truth tasks. Agents receive time-course data and a task specification, then are scored on velocity, growth drivers, held-out distributions, fate probabilities, perturbation response, and GRN recovery.
From a real biological gap to a locked, validated method — proposed, reviewed, implemented, and hardened through staged gates. Then the loop begins again.
A dataset where growth, stochasticity, or cell–cell interaction is poorly captured by existing dynamical models.
t₀, never future observed targets — no metric hacks.These are three completed research campaigns. The animation replays the actual trial history: what biological problem was posed, how the model design changed, and where the metric moved before the final method was locked. The statistics report the full CellCompass search span; the animated curve zooms into the scored trials for the selected method.
CellCompass turned a CITE-seq time course into CITE-PCFM, a model that starts from RNA and generates time-resolved ADT surface-protein states.
The upper chart zooms into CITE-PCFM tuning. This panel replays the broader search across candidate algorithm families.
Asked to build EMT dynamics for four cancer cell lines under three stimuli, CellCompass judged the existing VGFM velocity–growth formulation adequate — and spent its effort on fitting, evaluation and interpretation instead of inventing a new method.
Load an .h5ad, sanity-check AnnData, and confirm the time & latent contracts.
Normalize, reduce dimensions, and build the canonical temporal backbone for training.
Choose the transport formulation — balancing velocity, growth, stochasticity, and interaction.
Fit the dynamical model, preview the runtime call-chain, and measure against held-out marginals.
Velocity & score streams, fate branches, driver genes, landscapes, and terminal states.
Compile logs, figures, and parameters into a polished HTML or Markdown report.
One unified runtime behind every entry point. Start interactive, fire a one-shot turn, or open the timeline-replay Web UI — sessions resume seamlessly across all of them.
# Reconstruct dynamics, then report — in one turn
$ cellcompass run data.h5ad \
--question "Analyze the main fate branches and driver genes" \
--output ./run_demo \
--device cuda
✓ preprocessing · AnnData contracts verified
✓ theory selected · Regularized Unbalanced OT
✓ training · velocity + growth + score
✓ downstream · fate branches, driver genes
✓ report · ./run_demo/report.html
# Converse with the agent, resume any time
$ cellcompass
CellCompass › Check the dataset first, then propose a workflow.
↳ /status /model /compact /resume /jobs
› Design a new growth-aware flow-matching algorithm
✓ proposal drafted · review & campaign started
✓ trial 3/8 promoted · beats baseline gate
# Full Web UI with live timeline replay
$ cellcompass web --host 0.0.0.0 --port 8000
✓ runtime ready · FastAPI lifespan hooks installed
→ open http://localhost:8000
# timeline · proposal review · skill toggles · compaction
t₀The initial CellCompass team brings together single-cell dynamics, mathematical modeling, and AI-assisted model design.
Peking University
Peking University
University of California, Irvine
Peking University
Install the agent and the CytoBridge engine in editable mode, then start your first run.
# 1 · install the agent + core engine
$ pip install -e . && pip install -r requirements-agent.txt
$ cd CytoBridge-main && pip install -e .
# 2 · start exploring
$ cellcompass "Analyze the available dataset and propose the next workflow"