An AI agent writes them as code.
A model learns to read them from H&E.
The agent writes a hypothesis about cells.
It becomes executable code.

mIFmeasuredMeasured on every cell of 18-plex mIF.

H&E onlyA model learns to read it from H&E.
Scores go back to the agent.
The kept panel runs on H&E alone, in unseen patients.
The biomarker above is one of hundreds the agent wrote. Four ways in, each built from one run of the released code.


32 of the agent's biomarkers, each on the fluorescence it was measured from and the H&E it is read from.

Six TCGA patients the model never saw: where each biomarker sits on the slide, and what moved the predicted risk.
Build a biomarker in the agent's grammar, watch it on cells, and see whether it can be read from H&E.
04 · AtlasFive rounds of hypotheses in each fold: what it tried, what it kept, and what could not be read from H&E.
The repository runs the colorectal task of this site: the agent proposes, ORION-CRC measures, a ridge reader learns to read each biomarker from H&E, and a survival panel is fitted inside every training fold. A replay mode reinstalls our run's proposals, so it needs no language-model access.
# install
conda create -n xmark python=3.10 -y && conda activate xmark
pip install -e ".[test]"
# replay our run, no language model needed
for s in prepare folds panel; do
python -m xmark experiments/tcga_crc_dss_replay/config.json --stage $s
done
# or let the agent write new biomarkers
python -m xmark experiments/tcga_crc_dss/config.json --stage prepare
python -m xmark experiments/tcga_crc_dss/config.json --stage folds --workers 5
python -m xmark experiments/tcga_crc_dss/config.json --stage panel